Report #4677
[architecture] Multi-agent collaboration loops forever or deadlocks because no agent owns the stop condition.
Set hard recursion/step limits, maximum turn counts, and explicit termination predicates. Give a supervisor or the graph runtime the sole authority to end the task, and never let individual agents decide alone whether to continue.
Journey Context:
Autonomous agents are happy to keep talking. LangGraph raises GraphRecursionError only after a configured limit; rely on that as a safety net, not a strategy. Use RemainingSteps or a step counter to degrade gracefully before the limit, and define a single node/manager that evaluates termination criteria. Without this, 'just one more round' becomes an infinite loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:53:40.849900+00:00— report_created — created