Pillar guide · Shik · ESPAD One
Multi-agent orchestration: when specialist models can beat one general assistant
The hard question is no longer which model to buy but how work is divided between models. A practitioner guide to topologies, failure modes, routing, context and security in orchestrated AI.
What changed
- : Softened the title so it no longer implies multi-agent systems are always better, made clear that Shik and ESPAD One are built but not yet publicly available, and added the RULER benchmark on effective context length.
Key takeaways
- Capability and price are uneven across models, so sending every request to one large general model overpays for most requests and still underperforms on some.
- Published failure analysis groups multi-agent breakdowns into system design, inter-agent misalignment and verification, which are design problems more than model problems.
- Every hand-off between agents should be governed by explicit contracts for capability, context, authority, evidence and exit, not by the goodwill of a prompt.
- Evaluate orchestrated systems on cost and quality together, on held-out tasks from your own domain, rather than on leaderboard positions.
The procurement question in AI has shifted. Two years ago a CTO asked which model to buy; today the harder question is how work should be divided between models, and who is accountable when a hand-off between them goes wrong. That is the real subject of multi-agent orchestration: not a crowd of chatbots talking to one another, but a control plane that decides which specialist acts, with what context, under what authority, and how its output is checked before anyone relies on it.
This guide is written for the person who has to sign off on such a system. It sets out when specialist models can beat one general assistant on cost and controllability, and when they do not, which orchestration topologies exist and what each one costs you, where the published research says these systems fail, and a framework, the ESPAD Five-Contract Model, for evaluating any vendor's orchestration claims, including ours. Where we describe how Shik, the ESPAD AI occasion planner, coordinates other assistants, we keep to what our current build does: Shik is built but not yet publicly available.
Why one general assistant hits a ceiling
The idea that a problem is better solved by several narrow experts and a gate that chooses between them is older than the transformer. Jacobs, Jordan, Nowlan and Hinton described in 1991 a system of separate networks, each learning a subset of the training cases, with a gating network that assigns cases to experts; on a vowel discrimination task the system divided the problem into subtasks that simple expert networks could solve[1]. Shazeer and colleagues scaled the same intuition inside a single network in 2017: a sparsely gated mixture-of-experts layer holding up to thousands of feed-forward experts, of which a trainable gate activates only a few for each input, delivering more than a thousandfold increase in capacity with only minor losses in computational efficiency[2].
Those are architectural results, not product results, but the economic logic carries to the system level. Chen, Zaharia and Zou documented that the fees for querying different large language model services can differ by two orders of magnitude[3]. Hu and colleagues, assembling a dataset of more than 405,000 inference outcomes for routing research, start from the observation that no single model is optimal across all tasks once performance and cost are considered together[4]. If capability and price are both uneven across models, sending every request to the largest general model is a decision to overpay for most requests and still be mediocre on some.
There is a second ceiling, and for regulated businesses it matters more than price: controllability. A single general assistant that handles skincare questions, travel plans and lab reports has one system prompt, one memory, one permission set and one evaluation suite trying to cover everything. A specialist can be given narrow instructions, a narrow toolset and a narrow test set, and its failures stay in its lane. We have made the broader argument in why the future of AI is specialised; this guide is about the engineering that makes specialists work together.
The question is no longer which model to buy, but how the work is divided between models and who answers for each hand-off.
What multi-agent orchestration actually means
Strip away the diagrams and an agent is a language model wrapped in four things. The survey by Wang and colleagues organises agent designs into a profile module (the role the model plays), a memory module, a planning module and an action module that reaches tools and the environment[5]. The ReAct pattern made the loop between them concrete: the model interleaves reasoning traces with actions such as a search or an API call, reads the result, and reasons again[6].
Orchestration is the layer above that loop. For every unit of work it answers five operational questions:
- Who acts? Which specialist, or which model tier, receives the task.
- With what context? Which part of the conversation, the user's data and earlier agents' output it is allowed to see.
- Under what authority? Which tools it may call, which data it may write, and what it may never touch.
- Who checks? Whether the output is verified by a rule, a tool, another model or a person before it is used.
- What happens on failure? Retry, escalate to a stronger model, hand to a human, or stop.
A system that answers the first question and ignores the other four is a router, not an orchestrator. Most vendor architecture slides answer only the first.
Four orchestration topologies and what they cost
Nearly every production design is one of four shapes, or a nesting of them. The table below is our own classification, drawn from the patterns described in the agent literature[5][6][7] and from building ESPAD AI's assistants; it describes shapes, not products.
| Topology | How work flows | Typical use | Main risk |
|---|---|---|---|
| Router (dispatcher) | A classifier or small model sends each request to one specialist, which answers alone | Domain assistants behind one front door | Misrouting is silent; the wrong specialist answers confidently |
| Planner and executors | A planning agent breaks the goal into steps, assigns each to a specialist and assembles the result | Multi-part tasks such as an occasion plan or a trip | Plan errors propagate; the planner is a single point of failure |
| Pipeline | Fixed stages pass output forward (draft, check, format) | Regulated content, document processing | Rigid; an early mistake is polished by later stages |
| Peer ensemble or debate | Several agents answer the same question and critique one another until they converge | High-stakes reasoning where a second opinion is worth the cost | Multiplies cost and latency; agents can converge on a shared error |
The fourth shape has the clearest published evidence of quality gains. Du and colleagues had several instances of a model propose answers and debate them over several rounds, and reported better mathematical and strategic reasoning and fewer factual errors and hallucinations, using one procedure and one set of prompts across tasks[7]. The cost is structural: every round multiplies the number of model calls.
The comparison matrix below scores the four shapes on the properties a CTO is actually asked about in a design review. The ratings are an editorial assessment, not measurements; treat them as a starting position to argue with.
| Property | Router | Planner and executors | Pipeline | Peer ensemble |
|---|---|---|---|---|
| Latency added | Low | Medium to high | Medium | High |
| Cost per request | Lowest | Medium | Medium | Highest |
| Failure isolation | Good | Weak at the planner | Weak downstream | Good for single errors, weak for shared ones |
| Auditability | High | Medium | High | Low to medium |
| Fit for regulated output | Good with a checking stage | Needs explicit approval gates | Strong | Weak on its own |
| Debuggability | High | Low | High | Low |
The pattern most teams converge on is a router at the front, a planner only where tasks genuinely have several parts, and a pipeline-style checking stage before anything leaves the system. Ensembles are kept for the minority of requests where a wrong answer costs more than several extra calls.
Where multi-agent systems break
The most useful recent paper for anyone buying an orchestrated system is a study of failure, not success. Cemri and colleagues assembled more than 1,600 annotated execution traces from seven popular multi-agent frameworks and derived a taxonomy of 14 failure modes in three categories: system design issues, inter-agent misalignment and task verification[8]. Their starting point is blunt: on popular benchmarks, multi-agent systems often deliver only minimal gains, and their analysis points to better system design, not only better models, as the route to improvement[8].
Read through a buyer's lens, the three categories become three questions for a vendor:
- System design. Are roles, termination conditions and step limits specified, or does the system rely on the model to decide when it is finished?
- Inter-agent misalignment. When one agent passes work to another, is the hand-off a structured object with required fields, or free text the next agent has to interpret?
- Verification. Is there an independent check of the final output, or does the last agent in the chain simply declare success?
A second, quieter failure lives in context. Liu and colleagues showed that language models use information in long inputs unevenly: performance is usually highest when the relevant material is at the start or the end of the context and drops when it sits in the middle, including for models built for long contexts[9]. Hsieh and colleagues' RULER benchmark adds a second warning: across 17 long-context models, nearly all passed the simple needle-in-a-haystack test, yet performance dropped substantially as inputs grew longer, and only about half held satisfactory performance at 32,000 tokens despite advertising windows of that size or more[16]. In an orchestrated system the context window is where hand-offs land. An orchestrator that concatenates every earlier agent's transcript into the next agent's prompt is building exactly the long, middle-heavy input this research says models handle worst. We go deeper in our article on context window management.
The ESPAD Five-Contract Model
The failure research points to one principle: every hand-off between agents should be governed by an explicit contract rather than by the goodwill of a prompt. We use the following lens to design our own assistants and to evaluate anyone else's.
The model is deliberately unglamorous. Each clause answers a failure the literature describes: capability contracts prevent misrouting; context contracts address inter-agent misalignment[8] and the positional degradation measured by Liu and colleagues[9]; authority contracts address prompt injection; evidence contracts address hallucinated facts; and exit contracts address the unclear termination and runaway loops that appear among system design failures[8].
Routing is the first decision, and the cheapest to get right
Routing has its own article in this series, LLM routing from classifiers to cascades. The short version is that routing is where the economics of a specialist system are won or lost, and the research has moved from proof of concept to measured trade-offs.
Chen and colleagues proposed a cascade that learns which models to query for which requests and reported, in their experiments, matching the strongest individual model they tested at up to 98% lower cost, or improving on its accuracy by 4% at equal cost[3]. Ding and colleagues routed between a small and a large model using predicted query difficulty and a quality target that can be tuned at run time, and reported up to 40% fewer calls to the large model without a drop in response quality[11]. Ong and colleagues trained routers on human preference data and reported cost reductions of more than two times in some settings without compromising quality, with routers that kept their performance when the strong and weak models were swapped at test time[10].
These figures come from benchmark settings chosen by the authors, and none should be read as a promise about your traffic. What they establish is a direction: a well-calibrated router lets most requests be served by a smaller or narrower model and keeps the expensive model for the requests that need it. In a specialist system the router has a second job that cost papers rarely address. Sending a skincare question to the skincare specialist is a correctness decision, not only a cost decision.
Context is the orchestrator's real job
If routing decides who acts, context management decides what they know when they act, and in a mature orchestrated system it absorbs most of the engineering effort. Three practices follow from the research above and from our own builds.
First, pass structured hand-offs, not transcripts. The receiving agent gets the task, the user's constraints and the facts it needs, each with a source. That keeps inputs short, which matters because of the positional effects Liu and colleagues measured[9], and it makes every hand-off loggable and testable.
Second, put decisive material where models read best. Instructions and constraints go at the start of the context, the specific question at the end, and long reference material between them, retrieved selectively rather than pasted wholesale.
Third, separate memory from context. A family calendar, a user's preferences or an order history are records in a database, read by a tool when needed. They are not a growing prompt that every agent carries. Memory that lives in a prompt cannot be permissioned, audited or deleted cleanly.
Security: authority is not inherited
Orchestration widens the attack surface in a specific way. Greshake and colleagues showed that applications which feed retrieved content into a language model can be compromised by indirect prompt injection: an attacker plants instructions in data the system is likely to retrieve, and the model acts on them, which can lead to data theft and to control over which APIs the application calls[12]. In a multi-agent system one agent's output is another agent's retrieved content, so any agent that reads web pages, emails, product descriptions or user documents is a potential carrier.
The defence is old. Saltzer and Schroeder's principle of least privilege, set out in 1975, holds that every program and every user of a system should operate with the smallest set of privileges needed to do the job[13]. Applied to agents it becomes three concrete rules:
- Scope tools per task, not per agent. A specialist drafting a card text needs write access to nothing.
- Treat agent output as untrusted input. The orchestrator validates structure and strips or flags embedded instructions before passing content on.
- Keep irreversible actions behind a person. Payments, orders, sends and deletions need a human confirmation that no agent can produce on its own.
The OWASP Top 10 for LLM Applications is a useful external checklist for these risks, and it is reasonable to ask any vendor to map their controls against it.
Evaluating an orchestrated system
Agent benchmarks have a known weakness. Kapoor and colleagues argued that agent evaluations have focused narrowly on accuracy and ignored cost, which has rewarded needlessly complex and expensive agents; they called for accuracy and cost to be optimised and reported together, and warned that inadequate holdout sets let agents overfit to benchmarks[14]. For a buyer the lesson is to demand cost-controlled results on held-out tasks you choose, not leaderboard positions.
The table below is the measurement plan we work from: one row per layer of an orchestrated system, with what to measure and what failure looks like. It is a working template, not a published standard.
| Layer | What to measure | Failure signal |
|---|---|---|
| Router | Routing accuracy on a labelled sample; share of requests sent to the fallback | A specialist answering out-of-scope requests |
| Hand-off | Schema validity of hand-off objects; missing required fields | Free-text hand-offs; fields guessed instead of passed |
| Specialist | Task quality on a held-out, domain-specific set | Fluent answers that contradict the source record |
| Evidence | Share of factual fields with an attached source | Prices, dates or quantities with no provenance |
| Exit | Steps and cost per completed task; share ending in escalation | Loops, step-limit hits, silent abandonment |
| End to end | Task success and cost per success, measured together | Quality gains bought with unreported cost growth |
For governance, the NIST AI Risk Management Framework organises risk work into four functions: Govern, Map, Measure and Manage[15]. An orchestrated system needs all four at two levels, for each specialist and for the system that combines them, because the combination has failure modes that none of its parts has alone.
How Shik applies these ideas
Shik, the occasion planner in ESPAD One, is our working example of a small orchestrated system, and it is deliberately modest. Shik and ESPAD One are built but not yet publicly available, so what follows describes our current build, not a service you can use today. A person says who the occasion is for, the day and what that person loves, picks a budget band and ticks which ESPAD AI assistants may take part: care products from the ESPADCARE shop, a handmade piece from ESPADHAND makers, something to listen to from ESPADMAG, a day out from ESPADPALM. An assistant that was not ticked adds nothing. The result is a single proposal with products from the shops, a card text and ideas for the day.
Several of the five contracts are visible in that flow. Authority is scoped by the person for each occasion. Evidence comes from tools: product names and prices are read from the shop when the proposal is made, and the assistant never states a price, stock level or delivery date on its own. The exit is a person: Shik prepares a proposal the user can change item by item, and nothing is ordered or paid until the user sends an order request themselves. One boundary is absolute: nothing from a person's health assistant is ever read or used for an occasion. This is the direction we are building in across the platform, and none of it is live for the public yet; the ESPAD AI features overview and our AI policy describe the current scope.
When not to orchestrate
Orchestration is a cost you take on, not a feature you collect, and the honest version of this guide has to say when to decline it. The evidence points in both directions. Mixtures of specialists can raise capacity and cut cost[2][3], yet the failure study of multi-agent systems found that many of them gain little on popular benchmarks over simpler designs[8], and the critique of agent benchmarks found that complexity is often rewarded because cost goes unreported[14].
Three conditions, in our experience, make orchestration worth its overhead:
- The domains genuinely differ. If requests span skincare, travel and health, each with its own rules, data and risk, specialists can be instructed, tested and permissioned separately. If every request is a variation of one task, a single well-evaluated model with good retrieval is usually simpler and safer.
- Traffic is uneven in difficulty. Routing pays when a large share of requests can be served well by a smaller model and only a minority need the strongest one. If nearly every request is hard, the router adds latency and saves little.
- The organisation can own the seams. Every hand-off is an interface that needs a schema, tests, logs and an owner. A team that cannot staff those seams will get the failure modes of a multi-agent system without its benefits.
When none of the three holds, the right answer to a vendor proposing a multi-agent architecture is a question: what does the second agent do that a better prompt, a better retrieval index or a better evaluation set for the first agent would not? A clear answer is a good sign. A diagram is not an answer.
A CTO's questions for any orchestration vendor
When a vendor presents a multi-agent architecture, these questions separate a designed system from a demo:
- What does your router do with a request that matches no specialist, and how often does that happen on traffic like ours?
- Show me a hand-off object between two agents. Which fields are required, and what happens when one is missing?
- Which tools can each agent call, who grants that access, and can one agent's output ever expand another agent's permissions?
- Which facts in the output come from a record with a source, and which come from the model?
- What are the step limit and cost ceiling per task, and what is the terminal state when they are reached?
- Which actions are irreversible, and where is the human confirmation for each?
- Can you show cost and quality measured together on a held-out set that we choose?
A vendor that answers all seven with specifics has an orchestrator. A vendor that answers with a picture of agents talking to each other has a prototype. The rest of this topic lives on the agent orchestration topic hub.
The map of this topic
- LLM routing: how requests reach the right specialist, comparing predictive routers, cascades and preference-trained routers on cost and quality.
- Context window management: retrieval, compression, memory and the long-context failure modes that break production systems.
- Evaluating multi-agent systems (coming): cost-controlled evaluation, held-out task sets and trace-level failure analysis.
- Prompt injection in agent pipelines (coming): how untrusted content travels between agents and how to contain it.
- Human approval gates in agentic products (coming): where a person must confirm, and how to design the confirmation.
- Structured hand-offs between agents (coming): schemas, provenance fields and validation for inter-agent messages.
- Observability for orchestrated AI (coming): tracing, cost attribution and incident review across many models.
Frequently asked questions
Is multi-agent orchestration always better than a single model?
No. Published failure analysis finds that multi-agent systems often show only small gains on popular benchmarks, and every extra agent adds latency, cost and new hand-off failures. Orchestration earns its place when tasks span genuinely different domains, when specialists can be tested and permissioned separately, or when routing lets most traffic go to cheaper models. For a narrow, single-domain task, one well-evaluated model is often the better design.
What is the difference between a router and an orchestrator?
A router decides which model or specialist receives a request. An orchestrator also decides what context that specialist sees, which tools and data it may use, how its output is verified and what happens when it fails or runs too long. In practice the router is one component of the orchestrator, and most production incidents happen in the parts a router does not cover.
How should we evaluate a vendor's multi-agent system?
Ask for cost and quality measured together on held-out tasks from your own domain, not leaderboard scores. Ask to see a real hand-off object between agents, the permission scope of each agent, the step limit and cost ceiling per task, and where humans confirm irreversible actions. Map their controls to a recognised framework such as the NIST AI Risk Management Framework and the OWASP list of LLM risks.
Does a larger context window remove the need for orchestration?
No. Research on long contexts shows that models use information unevenly, performing worse when the relevant fact sits in the middle of a long input, and that advertised window sizes overstate effective capacity: the RULER benchmark (Hsieh et al., 2024) found that only about half of the long-context models it tested kept satisfactory performance at 32,000 tokens. Passing whole transcripts between agents makes this worse. Structured, minimal hand-offs and retrieval of only the facts a step needs remain necessary however large the window becomes.
How do you stop one compromised agent from affecting the others?
Treat every agent's output as untrusted input, validate its structure, and strip or flag embedded instructions before passing it on. Give each agent only the tools and data scopes its current task needs, granted by the orchestrator rather than inherited from another agent. Keep payments, orders, sends and deletions behind a human confirmation that no agent can generate on its own.
References
- Jacobs, R. A., Jordan, M. I., Nowlan, S. J., & Hinton, G. E. (1991). Adaptive mixtures of local experts. Neural Computation, 3(1), 79-87. doi.org/10.1162/neco.1991.3.1.79
- Shazeer, N., Mirhoseini, A., Maziarz, K., Davis, A., Le, Q., Hinton, G., & Dean, J. (2017). Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. arXiv:1701.06538. arxiv.org/abs/1701.06538
- Chen, L., Zaharia, M., & Zou, J. (2023). FrugalGPT: How to use large language models while reducing cost and improving performance. arXiv:2305.05176. arxiv.org/abs/2305.05176
- Hu, Q. J., Bieker, J., Li, X., Jiang, N., Keigwin, B., Ranganath, G., Keutzer, K., & Upadhyay, S. K. (2024). RouterBench: A benchmark for multi-LLM routing system. arXiv:2403.12031. arxiv.org/abs/2403.12031
- Wang, L., Ma, C., Feng, X., Zhang, Z., Yang, H., Zhang, J., Chen, Z., Tang, J., Chen, X., Lin, Y., Zhao, W. X., Wei, Z., & Wen, J.-R. (2023). A survey on large language model based autonomous agents. arXiv:2308.11432. arxiv.org/abs/2308.11432
- Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., & Cao, Y. (2023). ReAct: Synergizing reasoning and acting in language models. International Conference on Learning Representations (ICLR 2023). arXiv:2210.03629. arxiv.org/abs/2210.03629
- Du, Y., Li, S., Torralba, A., Tenenbaum, J. B., & Mordatch, I. (2024). Improving factuality and reasoning in language models through multiagent debate. Proceedings of the 41st International Conference on Machine Learning, PMLR 235, 11733-11763. proceedings.mlr.press/v235/du24e.html
- Cemri, M., Pan, M. Z., Yang, S., Agrawal, L. A., Chopra, B., Tiwari, R., Keutzer, K., Parameswaran, A., Klein, D., Ramchandran, K., Zaharia, M., Gonzalez, J. E., & Stoica, I. (2025). Why do multi-agent LLM systems fail? arXiv:2503.13657. arxiv.org/abs/2503.13657
- Liu, N. F., Lin, K., Hewitt, J., Paranjape, A., Bevilacqua, M., Petroni, F., & Liang, P. (2024). Lost in the middle: How language models use long contexts. Transactions of the Association for Computational Linguistics, 12, 157-173. doi.org/10.1162/tacl_a_00638
- Ong, I., Almahairi, A., Wu, V., Chiang, W.-L., Wu, T., Gonzalez, J. E., Kadous, M. W., & Stoica, I. (2025). RouteLLM: Learning to route LLMs with preference data. International Conference on Learning Representations (ICLR 2025). arXiv:2406.18665. arxiv.org/abs/2406.18665
- Ding, D., Mallick, A., Wang, C., Sim, R., Mukherjee, S., Ruhle, V., Lakshmanan, L. V. S., & Awadallah, A. H. (2024). Hybrid LLM: Cost-efficient and quality-aware query routing. International Conference on Learning Representations (ICLR 2024). arXiv:2404.14618. arxiv.org/abs/2404.14618
- Greshake, K., Abdelnabi, S., Mishra, S., Endres, C., Holz, T., & Fritz, M. (2023). Not what you've signed up for: Compromising real-world LLM-integrated applications with indirect prompt injection. arXiv:2302.12173. arxiv.org/abs/2302.12173
- Saltzer, J. H., & Schroeder, M. D. (1975). The protection of information in computer systems. Proceedings of the IEEE, 63(9), 1278-1308. web.mit.edu/Saltzer/www/publications/protection/
- Kapoor, S., Stroebl, B., Siegel, Z. S., Nadgir, N., & Narayanan, A. (2025). AI agents that matter. Transactions on Machine Learning Research. arXiv:2407.01502. arxiv.org/abs/2407.01502
- National Institute of Standards and Technology. (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0) (NIST AI 100-1). doi.org/10.6028/NIST.AI.100-1
- Hsieh, C.-P., Sun, S., Kriman, S., Acharya, S., Rekesh, D., Jia, F., Zhang, Y., & Ginsburg, B. (2024). RULER: What's the real context size of your long-context language models? arXiv:2404.06654. arxiv.org/abs/2404.06654
ESPAD One
Shik is the ESPAD AI model for specialist agent orchestration.