Multi-Agent System Failures: A Developer's Cautionary Tales
Developers of multi-agent systems often encounter frustrating issues when coordinating multiple agents to achieve a goal. These problems can arise from various sources, including model reasoning, harness orchestration, and transport-layer limitations.
The author shares three real-world examples of failures in their own projects, highlighting the importance of understanding these potential pitfalls. One incident involved a PR review crew on ChatDev that kept calling a tool until it ran out of tokens, while another instance saw a model quietly spending its entire reasoning budget without producing an error.
These issues are not unique to ChatDev, as similar problems have been reported in other frameworks and research papers. The author emphasizes the need for developers to proactively identify potential failure modes and take steps to mitigate them, rather than relying on framework error messages or trial-and-error approaches.
The three key areas to examine when troubleshooting multi-agent failures are the harness (orchestration), model behavior, and transport-layer limitations. By understanding these potential failure points, developers can design more robust systems that better handle complex tasks.