Memory & stateMulti-agent

Shared memory (plan and notes)

A notebook outside every context window, where the plan and findings are saved.

What it is
A store that agents write to and read from: the lead's plan, findings so far, who's doing what. When a context is truncated or compacted, what matters is still there to read back.
When to use it
  • Long tasks that will outgrow a context window
  • Several agents that need a common picture
When to skip it
  • Dumping everything in and reading it all back each turn: that's just a bigger context
Why (the trade-off)
Context windows are temporary; memory isn't. Saving the plan is the cheapest insurance against forgetting the goal.
Where it sits
Memory layer, beside the agents; read and written through tools.
What it needs first
What can be added to it
Effect of adding it
  • cost —
  • latency —
  • reliability ↑↑
  • safety —
Risks it handles
  • The plan falls out of context · full
  • Two workers do the same job · partial
Learn first (AI Engineering)

depth 4+1 production note with numbers.