Shared prompt cache

All the helpers start with the same instructions, so pay full price for them only once.

What it is
Keep a stable shared prefix (system prompt, tool definitions, decision log) at the start of every agent's context, so provider-side prompt caching serves it at a fraction of the input price.
When to use it
  • Many agents or many calls sharing long instructions
When to skip it
  • Putting per-worker details before the shared part: the cache only matches identical prefixes
Why (the trade-off)
Multi-agent systems resend the same instructions dozens of times. Caching turns most of that into cheap cache reads.
Where it sits
Ops layer, in how every agent's context is ordered.
What it needs first
What can be added to it
Nothing builds on it directly.
Effect of adding it
  • cost —
  • latency —
  • reliability —
  • safety —
Risks it handles
  • Tokens multiply across agents · partial
Learn first (AI Engineering)