A Practical Guide to Multi-Agent Mixture-of-Agents Architecture

    This article explains why single-model agent systems hit structural limits and how a Mixture-of-Agents (MoA) design addresses them. It breaks the architecture into four layers (proposers, aggregators, aggregation decision, execution and feedback), covers engineering details such as role differentiation, context budget, and concurrency timeouts, and outlines model selection principles, a five-step rollout plan, governance concerns, and evaluation metrics along with common pitfalls. The guidance is vendor-neutral and applies to any general-purpose model service accessed through a unified adapter layer.

    1. From a Single Advisor to an Expert Panel: Why the Paradigm Shifts

    In the early stage of agent applications, a single model typically handled all reasoning and execution. This pattern is simple to deploy and keeps the call chain short, but complex tasks expose three structural problems. First, the perspective is narrow: the model tends to converge on the most probable path and lacks counter-example checks. Second, uncertainty is invisible: output is usually phrased confidently, so errors are hard for downstream components to detect. Third, the capability ceiling is locked by the training distribution of that one model, and long-tail domain knowledge is easily missing.

    Multi-agent Mixture-of-Agents (MoA) offers an engineering solution: split one inference into a layered flow of parallel analysis, multiple rounds of cross review, aggregated decision, and execution feedback. Its value is not longer or richer answers, but turning reliability from an internal property of a model into an engineering property of the system that can be designed, observed, and governed.

    This paradigm is vendor-independent. Common general-purpose large model services, as well as model services, container platforms, message queues, and logging services that can be integrated as general offerings on Baidu AI Cloud, can all carry the same architectural approach.

    2. Core Mechanics: Four Layers, None Optional

    The first layer is the proposers. Multiple role instances process the same task in parallel, each producing candidate answers with a different prompting strategy, knowledge focus, or reasoning style. The key design point is differentiation: if all proposers use the same prompt and the same model, outputs are highly homogeneous and cross-validation degrades into repeated sampling.

    The second layer is the aggregators. Reviewers do not produce the final answer; they score, deduplicate, correct, and complete the candidate set, then emit a structured intermediate state, for example a three-part list of consensus points, points of disagreement, and facts to be verified.

    The third layer is the aggregation decision. A main decision role synthesizes the intermediate state into a single conclusion and states the confidence level and assumptions explicitly. This layer must converge, rather than passing disagreements straight through to the user.

    The fourth layer is execution and feedback. The conclusion enters tool calls and task execution; execution results flow back as new observations and trigger retries or escalation paths when needed. Without this layer, MoA is only question-answering enhancement and cannot be called an agent.

    A schematic orchestration skeleton (pseudocode that expresses structure only and points to no specific interface):

    1. proposals = parallel_map(roles, task) # parallel proposals from multiple roles
    2. review = aggregate(reviewers, proposals, task) # structured review
    3. decision = decide(planner, review, task) # aggregated decision + confidence
    4. result = execute(decision, tools) # execution with observation feedback
    5. if not satisfied(result, decision):
    6. return escalate(task, review, result) # escalation or human takeover

    3. Engineering Points of the Layered Design

    Role differentiation must land on verifiable dimensions, not on reworded prompts. Practical dimensions include retrieval focus (internal knowledge base, public sources, numerical computation), reasoning strategy (forward derivation, counter-example checking, constraint satisfaction), output contract (strict structure or free text), and risk preference (conservative or aggressive). The more verifiable the dimension, the more objective the review layer’s scoring becomes.

    Context budget needs explicit management. Parallel paths multiply inputs and intermediate artifacts, so in practice candidate answers should be length-truncated and summarized, with only the differing parts sent to the review layer, which significantly reduces latency and resource consumption.

    Concurrency and timeout strategy determine availability. Layered timeouts are recommended for the proposer layer (short timeout for the fast path, long timeout for the deep path), and failed roles should be dropped as a degradation step rather than rolling back the whole run.

    4. Model Combination and Selection Principles

    Multi-model collaboration presupposes complementary capabilities. Selection can be evaluated along four dimensions: instruction following and structured output stability, long-context handling, code and numerical reasoning performance, and latency and cost range. Placing a model with strong structured output in the aggregation decision position and a model good at divergence in the proposer position is a fairly general division of labor.

    General-purpose models available in China already cover most enterprise scenarios, so differences can be hidden behind a unified adapter layer in the architecture. The adapter layer is responsible for three things: a unified request and response contract, unified error codes and retry semantics, and unified metering and audit fields. Adding or replacing a model then does not change the business orchestration logic.

    1. {
    2. "role": "proposer",
    3. "model_ref": "general-chat-a",
    4. "params": {"temperature": 0.7, "max_output": 1200},
    5. "timeout_ms": 8000,
    6. "fallback": "general-chat-b"
    7. }

    5. Rollout Process and Governance

    A five-step rollout is recommended. Step one, pick a high-frequency scenario with high fault tolerance requirements, such as complex inquiry handling, first-draft report generation, or code change review. Step two, build an offline evaluation set covering typical and difficult samples. Step three, enable multi-path proposals in a canary release and compare accuracy and stability against a single-model baseline. Step four, connect the execution layer and a human takeover channel. Step five, establish continuous regression testing so that model or prompt changes do not cause quality regressions.

    Governance focuses on three points. First, observability: tag every proposal, review, and decision with a full-chain identifier so the source of disagreements can be traced. Second, cost control: set budgets and sampling ratios per role, and route low-difficulty requests through a single-model fast path. Third, compliance and security: minimize data passed during proposal and review stages, replacing raw text with desensitized summaries when necessary.

    6. Evaluation and Common Pitfalls

    Evaluation should not look only at final answer accuracy. Four metrics are recommended: task success rate, conclusion consistency (stability of results across repeated runs), disagreement detection rate (the share of errors intercepted early by the review layer), and cost and latency per task. Disagreement detection rate is the most direct measure of the incremental value MoA adds over a single model.

    There are three common pitfalls. First, treating multiple models as a voting machine and neglecting the structured analysis of the review layer. Second, homogeneous roles, which double cost for marginal gain. Third, missing execution feedback, which leaves the system as a more expensive question-answering setup. The way to avoid them is to include both review artifacts and execution observations in the contract as input for the next round.

    7. Conclusion

    The essence of multi-agent Mixture-of-Agents is shifting the reliability problem from choosing one stronger model to designing a more reasonable collaboration structure. For enterprises, the real competitive edge is not buying the most expensive single model, but organizing multiple model capabilities, toolchains, and governance into a reusable productivity system. With a general architectural approach, building the adapter, orchestration, and observability layers on Baidu AI Cloud yields stable, evolving multi-model collaboration without binding to a specific model.