How AI Employees Coordinate Across Workflows
Coordination works when AI employees exchange structured records with named fields, not when they exchange sentences.
Direct Answer (Quick Summary)
AI employees coordinate workflows by exchanging structured handoffs and shared state, not by holding a conversation. One employee finishes a defined slice, writes its result in the form the next step can read, and the downstream employee resumes from that record. Coordination fails when state lives only in prompts or when two employees can claim the same work.
Key Takeaways
- Coordination is a state problem: the unit passed between AI employees should be a structured record.
- Sequential handoff, fan-out and collect, and supervisor routing cover most cross-workflow coordination.
- Employees share a durable store, not a prompt, so a human can read the handoff without asking either side.
- Duplicate work is prevented by a timestamped claim on the item, not by convention.
- Deadlocks happen when waits have no timeout; every wait needs a timeout and a destination.
- A run identifier must follow the handoff so the final output traces back to the records that produced it.
- If a seam fails across two employees, the gap is usually a timeout or a missing definition of done.
AI employees coordinate workflows by exchanging structured handoffs and shared state, not by holding a conversation. One employee finishes a defined slice of work, writes its result in a form the next step can read, and the downstream employee resumes from that record instead of re-deriving everything from the source systems.
Coordination is a state problem
The common mistake is designing coordination as messages. Employee A tells employee B what happened, B interprets the message, and the two drift apart as soon as the wording varies. Even with the same model on both sides, a paraphrased summary loses exactly the fields the next step needed.
The fix is to make the handoff a record with named fields: the outcome, the artefacts produced, the identifiers involved, the items that could not be completed, and the confidence the producing employee had. The unit of coordination becomes an outcome with a defined finish line rather than a sentence, which is the argument in why outcomes matter more than prompts and the definition in what an AI outcome is.
Three patterns cover most coordination
| Pattern | Shape | Use when |
|---|---|---|
| Sequential handoff | A finishes, writes a record, B starts | One employee's output is another's input, with no useful parallelism |
| Fan-out and collect | A splits work, several employees run in parallel, one assembles | The slices are identical in kind but different in content |
| Supervisor routing | One executive employee plans and delegates, others report back | The number of steps is not known in advance |
The third is where structure starts to matter. How to build an AI employee hierarchy covers setting the layers and what each one is accountable for, while multi-agent workflows explained works through the mechanics of a fan-out and the cost of running slices in parallel.
The practical difference between fan-out and supervisor routing is where the state lives. In a fan-out the supervisor holds the work list and the assembly rules, and each worker holds only its own slice. In supervisor routing the supervisor holds the plan, and workers report back through records. The second survives a change of plan better, because the plan is written down somewhere other than a model's head. The first is cheaper when the slices really are identical.
Shared state, not shared context
Two employees cannot share a prompt. They can share a store. Each handoff lands as a durable record that both can read, which means the producing employee writes what it did and what it could not do, the consuming employee reads that record instead of re-querying every source system, and a human can read the same record without asking either employee to explain itself.
Persistent context is what makes the supervisor pattern possible at all, as covered in AI employees and persistent context. Where that context comes from before the first run is covered in how AI employees learn company context, which matters because a supervisor that routes work without reliable context will route it badly and confidently.
Keep the handoff schema small. Five well-filled fields beat twenty optional ones, because a field that is usually empty is a field nobody reads, and a reviewer scanning the seam will skip it entirely. Version the schema when it changes, and keep older records readable: a handoff written six months ago under a previous shape still has to open when somebody investigates.
Two ways coordination breaks
Duplicate work. Two employees claim the same task because nothing prevents it. The fix is a claim on the item with a timestamp, not a convention that everyone checks the board. Conventions lose to concurrency every time, and the failure looks like wasted spend rather than an error.
Deadlock. A waits on B, B waits on A, and both park indefinitely with no error anywhere. Every wait needs a timeout, and a timeout needs a destination: escalate to a human, or fail the item with a reason. A coordination layer without timeouts converts a flaky integration into a silent stall, which is harder to notice and more expensive than a crash.
Who owns the seam
Coordination failures get labelled as employee failures, which is usually backwards. When a handoff produces nothing useful, the question worth asking is which side's definition of done was wrong.
Assign the seam to a human rather than to either employee. In practice that means naming the person who accepts the assembled output and writing the acceptance criteria into the handoff record itself, so both employees can read them. When the criteria change, the record changes with them instead of living in somebody's memory.
The test is simple. If this employee were replaced tomorrow, would the seam still work? If the answer depends on knowing that the previous model was good at summarising in a particular way, the seam is held together by an undocumented habit rather than by a record.
Make coordination observable
Cross-workflow work is where debugging gets expensive, because no single run record explains the final outcome. Keep the chain intact: a run identifier that follows the handoff, a status per item, and a link from the final output back to the records that produced it.
How to design reliable AI workflows covers the failure-handling half of this, and AI workflow observability covers the instrumentation that makes a five-hop chain legible after the fact.
Where to start
Most teams begin coordination by splitting one workflow across two employees and letting them message each other, which produces two half-systems and a support burden. Start somewhere less dramatic.
Pick the workflow where a human currently copies information from one tool into another and then waits. That waiting is the cost you are removing, and waiting is visible in a way that coordination overhead is not. Split it at the copy, give the producing employee a defined output schema, and give the consuming employee an explicit instruction to read that record rather than to re-derive it.
Then add the second hop only after the first has run cleanly often enough that nobody has an opinion about it. Coordination that works across two employees will usually keep working across four. Coordination that was rushed across four will not work across two.
How to apply this
Take one workflow that currently involves two people handing work over. Write down what each of them actually passes on, not the email thread but the record underneath it. Build that record as the handoff, then run the two steps as separate employees and see whether the seam holds when the first step fails.
If it does not, the missing piece is almost always a timeout or an explicit definition of done rather than a smarter model. Adding capacity to a coordination layer that lacks both makes the stall faster.
Sources and further reading
- Anthropic: Building Effective Agents: workflow and agent patterns from production use.
- NIST AI Risk Management Framework: a voluntary framework for managing AI risk.
Frequently Asked Questions
How do AI employees hand work to each other?
Through a structured record rather than a message. The producing employee writes the outcome, the artefacts, the identifiers, and the items it could not finish, and the consuming employee reads that record instead of re-querying the source systems. The same record is then readable by a human without asking either employee to explain itself.
When should we run multiple AI employees instead of one?
Run multiple when the work splits into slices that are identical in kind but different in content, or when one employee's output is genuinely another one's input with no useful parallelism. If the steps are tightly sequential and share all their state, one employee is usually simpler and easier to debug. See when to use one AI employee versus multiple.
What causes AI workflows to get stuck?
Almost always a wait with no timeout. One employee blocks on another's output, the output never arrives, and both park without an error anywhere in the system. Give every wait a timeout and give the timeout a destination: escalate to a human or fail the item with a reason, so a stall becomes visible.
How do we prevent two AI employees doing the same task?
With a claim on the item that carries a timestamp, checked before work starts. Conventions and status boards lose to concurrency, and the visible symptom is duplicated spend rather than an error. Claims also make the audit trail useful later, because they record who took what and when.
How do we debug work that crossed three AI employees?
Follow the run identifier through the handoffs. Each record should carry the identifier of the run that produced it, so you can walk from the final output back to every tool call that contributed. Without that link the only alternative is re-running the work, which is expensive and produces a different answer.
Related reading
- Why Outcomes Matter More Than Prompts
- What Is an AI Outcome? A Result With a Done Condition
- How to Build an AI Employee Hierarchy in Three Layers
- Multi-Agent Workflows Explained: When Coordination Pays Off
- AI Employees and Persistent Context
- AI Workflow Observability: What to Trace, Alert, and Fix
- AI Workflows vs AI Employees: How to Choose the Right One