The overseer is an agent that convoyd starts for every swarm. It is not declared as an agent block. It does none of the work. It reads the board, judges whether the goal is on track, and changes the swarm through the same API as every other agent.
Controller and overseer
| Controller (code) | Overseer (LLM) | |
|---|---|---|
| Decides | Whether an agent crashed, is stuck, finished, or hit a limit or the budget | Whether the goal is on track, whether an agent needs a narrower brief, whether a role is missing |
| Acts by | Starting and stopping runner processes | Publishing instructions, creating agents, stopping agents it created |
| Reads | Agent status, progress timestamps, spend, done_when | The board, progress summaries, its own earlier notes |
| Is wrong | Rarely. It is testable code | Sometimes, so its actions are limited and logged |
Anything computable is the controller’s job. Judgment is the overseer’s.
Declaring it
Set overseer = { provider = provider.anthropic, model = "claude-sonnet-5", can_spawn = false } on the swarm block, or start convoyd with --overseer-provider and --overseer-model as a server-wide default. The swarm’s attribute wins. A run with neither is refused. can_spawn defaults to true; set it to false to keep the team at exactly what the file declares. The overseer’s token usage counts toward max_cost_usd.
When it wakes
The controller publishes to the system topic, addressed to the overseer, on these occasions:
- The run starts.
- Every 5 minutes (
--overseer-interval), with a status line: elapsed time, spend, and agent counts. - An agent becomes Stuck, Failed, or finishes, or cannot start because a dependency failed.
The overseer is also woken by a message published to human, or by any message addressed to overseer. Events within the debounce window become one turn.
What it sees
Each turn carries the unread summary, with system messages and anything addressed to it in full. The prompt tells it to start by calling list_agents for every agent’s status and last progress summary, then to read the topics that matter and its own earlier notes on progress. It also sees the goal, done_when, and spend against max_cost_usd.
What it can do
- Every swarm tool.
note_progress(text), which publishes toprogress. It ends every turn with one. If it forgets, the server posts a placeholder note.- Instruct an agent by publishing to a topic with
toset. - Create agents with
create_agent(whencan_spawnis true). It becomes their parent. - Stop agents it created, or any agent that is Stuck.
- Post to
humanwhen a decision needs a person.
What it cannot do
The server enforces these. There is no endpoint for them.
- Change the goal or
done_when. - End the swarm.
finishis rejected for the overseer. - Create agents when its
can_spawnis false. - Create an agent that uses a tool, provider or model that no declared agent uses.
- Write to
system, or to any topic that does not exist.
If it believes the goal is met while done_when is false, it can only note that and publish a message to the agent whose output decides done_when.
Example
- The controller marks
researcher[groq]Stuck after 20 minutes without a progress report and publishes that tosystem. - The overseer reads
findings, sees nothing from the groq researcher, stops it, and createsresearcher_groq_patentswith a prompt pointing at patent filings. - The server checks the new agent against the swarm’s declared tools, providers and models, then starts it.
- The overseer calls
note_progressand ends its turn.
With can_spawn = false, step 2 becomes a narrower instruction addressed to the stuck agent, which is left running. See spawning. The implementation is on the controller page.