← My notebook

02 · Agents

Orchestration

Orchestration is one brief and several specialists. Only the orchestrator sees the whole question. Everyone else sees their piece.

Why split the work

A single agent with every tool and every instruction gets confused. Its prompt grows, its choices blur, and a failure anywhere breaks everything. Splitting the work gives each specialist a narrow job it can do well.

"Why did losses rise?" becomes three tasks: find the policy documents, pull the loss figures, draw the weekly trend.

Parallel, not chained

The specialists run at the same time. Search, SQL and Chart do not wait for each other, and they finish at different moments. That is the speed-up, and it only works because none of them depends on another's output.

If one task does depend on another, that is a sequence, and the orchestrator has to order it. Knowing which is which is most of the design work.

Results come home

Specialists report to the orchestrator, never to each other. Search does not read the chart. This keeps each piece simple and makes failures easy to trace: you know exactly which specialist returned what.

The orchestrator then does the one job nobody else can: it turns "3 docs, 2 rows, 1 chart" into a single answer to the original question.

What to watch for

Give each specialist a clear contract: what it receives, what it must return. Time out slow ones. And keep the brief with the orchestrator, because someone has to hold the question while the pieces are apart.