Skip to content

Learn

What is a coordinator agent?

A coordinator agent is an agent session that splits a piece of work into tasks, assigns them to other sessions and combines the results. In Claude Code's agent teams the role is called team lead. The working sessions each have their own context window and report back.

Last reviewed on .

The role in Claude Code

The Claude Code documentation describes an agent team like this:

  • One session is the team lead and coordinates the work, assigns tasks and synthesizes results.
  • The others work independently, each in its own context window.
  • The team has a shared task list and a messaging system between the agents.

The documentation also states that a new teammate gets the project's usual context and the prompt the team lead writes, while the team lead's conversation history does not carry over. The task therefore needs to be described so that it can be started without the history.

Coordinator and workers in AgentRoots

A typical setup in AgentRoots is a coordinator session that assigns tasks to working sessions, while everything they learn is collected in the biome.

  1. The coordinator creates tasks with task_create. The field to reserves the task for a specific session.
  2. A working session claims the task with task_update and the action claim, and finishes it with done and the result in a note.
  3. The coordinator waits for replies with wait, which responds the moment a message is written.
  4. What is worth remembering is saved with nugget_add, and what should apply permanently with root_save.

The operations are listed with fields and scope in the documentation.