コンテンツにスキップ

Agent Types

このコンテンツはまだ日本語訳がありません。

An agentic worker comes in one of three shapes. The shape you pick decides the worker’s execution model and how it is packaged — specifically, which executing node ends up in the worker’s flows/main.ygtc.

TypeRuntime shapeExecuting nodeBest for
single_turnOne Plan → Act → Observe loopdw.agentA single tool-using assistant
agent_graphA coordinator routing to specialist agents over a shared blackboarddw.agent_graphMulti-role, multi-step routing
deep_workerA long-horizon plan → reflect → delegate loop with an iteration budgetoperala.callResearch and deep, iterative tasks

The default. One agent runs the Plan → Act → Observe loop: the model receives the user message, decides which tools to call, observes the results, and keeps going until it can answer. The limits.max_iter bound (default 8) caps the loop.

This is the shape documented step-by-step in Agentic Workers. Reach for it whenever one agent with a tool allow-list can do the job.

Several agents cooperate. A coordinator (supervisor) reads the request and routes it to one of its specialists — each specialist is itself an LLM agent with its own instructions and tools. Specialists can run in sequence (supervisor routing) or in parallel (fan-out, then a join merges their results). All agents read and write a shared run blackboard, so a later agent sees what earlier agents produced.

  • The coordinator selects a route each turn; a deterministic router resolves it (bounded loop). Parallel branches join_all and merge at a join node.
  • A global visit cap protects against runaway graphs.

Author it as “coordinator + specialists” — a coordinator with routing instructions plus a named specialist per capability (billing, tech, …). Pick agent_graph when one prompt would be overloaded juggling several distinct roles, or when sub-tasks can run in parallel.

A long-horizon worker for open-ended tasks (research, multi-stage analysis). Instead of a single reply, it runs an iterative plan → act → reflect → delegate loop bounded by an iteration_budget (default 8), optionally reflecting between iterations and using a separate planning_model. It is executed through an operala.call node.

# deep_worker configuration
deep_worker:
iteration_budget: 8
reflection: true
planning_model: gpt-4o

Pick deep_worker when the task needs sustained, self-directed iteration rather than a bounded tool-use loop.

Today all three types are authored visually in the Designer — the composer’s agent-type picker offers single_turn, agent_graph (coordinator + specialists form), and deep_worker. See Agentic Workers in the Designer.