How to Orchestrate Better Multi-Agent Systems: 12 Patterns, Trade-offs, and When Not to Use Them A developer published a guide to 12 multi-agent orchestration patterns, drawn from the implementation in the open-source langchainrust v0.32.0 project, covering ReAct, PlanExecute, Supervisor, GroupChat, Swarm, FanOutFanIn, ReWOO, Reflexion, Tree of Thoughts, LATS and Self-Discover. For each pattern the guide explains the problem it solves, its token and tool-call costs, and when it should not be used, with a worked comparison-brief example estimating roughly 4k–6k tokens for ReAct versus two model calls for ReWOO. The author's stated principle is to get the simplest single-agent loop working first and add structure only based on measurements, rather than starting with multi-agent designs. Based on the real implementation in langchainrust v0.32.0 crates/lc-agents/src/orchestrator/ , crates/lc-langgraph/src/presets.rs . This is not a "how to call the API" tutorial. For every pattern it answers three questions: what problem it solves, what it costs, and when you should not use it. Intended for backend and LLM application engineers building Agents, RAG, and multi-agent systems. All diagrams are plain-text line drawings. No Mermaid required; they render directly in Markdown and on CSDN. Repository: https://github.com/atliliw/langchainrust https://github.com/atliliw/langchainrust If you do not want to read the whole article, match your problem first: | Your problem | Start with | |---|---| | One objective, one tool set, decide as you go | ReAct with the FunctionCalling variant | | Multi-step task, plan first and then execute | PlanExecute | | Fixed steps with a clear order | SequentialPipeline | | Decide at runtime which specialist goes next | Supervisor | | Multiple roles need to read each other and debate/review | GroupChat | | No center; specialists hand control to each other | Swarm | | Same task needs parallel perspectives, voting, or best-of | FanOutFanIn | | Plan first, execute later, avoid repeated observations | ReWOO | | The answer can be judged, and self-correction helps | Reflexion | | One sample is unreliable; compare several lines of thought | Tree of Thoughts | | Actions have side effects and you need rollback | LATS | | Task types vary and you need a custom reasoning structure | Self-Discover | These are the 12 patterns used throughout this article. FunctionCalling is a native tool-calling variant of ReAct and is not counted separately. LangGraph presets are not a 13th pattern; they are a graph-based way to carry the patterns above, useful when you need persistence, approvals, or recovery. A simple decision order: Are the steps fixed? ├─ Yes → Sequential / FanOutFanIn └─ No → Do you need multiple roles? ├─ No → single-agent loop / PlanExecute / search └─ Yes → Do the roles need to see each other's messages? ├─ Yes → GroupChat └─ No → Supervisor / Swarm The one-line principle: get the simplest single-agent loop working first, then add structure based on measurements. Do not start with multi-agent. A single model call has a capability ceiling set by the model. Real tasks are rarely one question and one answer: The root cause is usually not that "the model is not smart enough." It is that the model has not been given a suitable organization . The same model can behave very differently when placed in different loops, routers, or search structures. langchainrust unifies these organizations behind the Orchestrator trait crates/lc-agents/src/orchestrator/mod.rs : async trait pub trait Orchestrator: Send + Sync { type Input; type Output; async fn run with context &self, input: Self::Input, ctx: &RunContext, - Result