Skip to content

Ways of orchestrating agents

Agent orchestration is the workflow logic around an agent call: what input an agent receives, what tools it can call, and how later workflow actions use the result.

For each agent action in your workflow:

  1. Pass structured context from the trigger or earlier actions into the agent’s User message.
  2. Limit tools to only the actions the agent needs for the task.
  3. Use the agent output in later steps, including downstream agent steps when you build a multi-agent path.
  4. Review run history details before relying on results in external systems.

For the full conceptual flow, see How a native agent works.

Use one agent action when one reasoning step can produce the result:

  • Trigger or prior action produces the input payload.
  • Agent action executes with only required tools.
  • A deterministic action validates, stores, or routes the output.

Use more than one agent action when responsibilities are distinct:

  • Agent A gathers or transforms information.
  • Agent B performs a different reasoning task with Agent A’s output.
  • Deterministic workflow actions enforce final checks or side effects.

Keep each agent scoped. Avoid giving every tool to every agent.

Before production use, verify:

  • Tool permissions match least-privilege expectations.
  • Timeout and loop settings match task complexity.
  • Output expressions are stable for downstream steps.
  • Run history includes enough detail for support and troubleshooting.