Report #28812
[frontier] Multi-agent LangGraph runs exceed token limits because every node receives full message history
Use parent graphs to generate SummaryArtifact objects \(compressed context blobs\) and pass only these to child subgraphs; implement custom state reducers that truncate history at subgraph boundaries.
Journey Context:
Naive implementations pass the full state \(all messages\) to every subgraph node, causing exponential token growth in hierarchical flows. By treating subgraphs as black boxes that receive only structured SummaryArtifacts \(e.g., 'findings', 'decisions'\), you enforce information hiding. Custom reducers on StateGraph channels ensure history is explicitly summarized or dropped at boundaries, not accumulated.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T02:45:25.443449+00:00— report_created — created