Expansion-Contraction: A Multi-Agent Graph Traversal Pattern for Compound AI Systems
summary
A coordination pattern builds an orchestrator that walks the domain graph outward in an Expansion-Contraction expansion phase, spawns ephemeral specialist agents per site to inspect local data, then aggregates their verdicts in a contraction phase; applied to supply‑chain root‑cause analysis on a production dataset it reaches 98.2% accuracy (10 percentage points above the next baseline) and transfers to microservice dependency tracing, while investigation caching cuts token use by up to 93.9%.
AI-written summary · about
