Skip to main content
Agents bundle a model, system instructions, and optional tools so you can industrialise your AI assistants. This section covers instantiation, tool management, structured outputs, streaming, and the shared runtime.

Key guides

Best practices

  • Override system per call to adapt instructions without reinstantiating the agent.
  • Tune maxOutputTokens, temperature, topP, and more directly in generate or stream.
  • Compose specialised agents (drafting, validation, summarisation) to cover an entire flow.
  • Combine agents with workflows to orchestrate richer decision loops.