Memory & stateMulti-agent
Artifact store (pass references)
Workers save their full results to a store and hand the lead a short reference, not a retelling.
What it is
Each subagent writes its complete output (tables, code, sources) to the store and returns a brief summary plus a reference. The lead (or a final writer) opens the full artifact only when it needs it.
When to use it
- Results are long or precise (numbers, code, citations)
- Several hops between agents
When to skip it
- Tiny results that fit in a sentence
Why (the trade-off)
Every summary between agents loses something, like a game of telephone. Passing references keeps the full detail one look-up away, and keeps the lead's context small.
Where it sits
Memory layer, between the workers and the lead.
What it needs first
- Shared memory (plan and notes)artifacts live in the shared store
What can be added to it
- pairs withStructured resultsa structured summary next to the reference
Effect of adding it
- cost —
- latency —
- reliability ↑↑
- safety —
Risks it handles
- The summary drops the key fact · full
- A context window fills up · partial
depth 4+1 production note with numbers.