Multi-Agent Architecture: Two Common Configuration Patterns
Explore two common multi-agent configurations: a single entry point with specialist sub-agents, and separate entry points for individual agents. This article explains their trade-offs, how to choose between them, and how to define responsibilities, input/output contracts, permissions, state management, and monitoring for reliable collaboration.
As agent applications evolve from standalone conversational assistants into systems that divide and coordinate tasks, configuration often matters more than model selection in determining how usable the system is. Most teams do not need a complex orchestration network from the start. Two common patterns cover many everyday requirements, clarify responsibilities and access points, and provide a foundation for growth as business needs become more complex.
Pattern 1: One Entry Point, Multiple Sub-Agents
In this pattern, users interact through a single entry point, such as a bot or conversation channel, connected to a primary agent. The primary agent interprets user intent, breaks down tasks, and selects or coordinates specialist sub-agents.
The number of sub-agents can grow or shrink with the business modules they support. Each focuses on a particular capability, such as retrieving and synthesizing information, assisting with approval workflows, suggesting code review improvements, or checking data consistency.
The main benefit is simplicity for users. They always use the same entry point rather than having to remember which assistant handles which task.
This pattern is particularly useful in group chats. When several people ask questions in the same conversation, the primary agent manages the context and delegates subtasks to specialists. This helps prevent multiple bots from responding simultaneously or splitting the conversation across disconnected contexts.
Treat the Primary Agent as a Routing and Orchestration Layer
The primary agent should route and coordinate work, rather than carry every domain’s knowledge in one oversized prompt. Its configuration should specify:
- When to answer directly.
- When to call a particular sub-agent.
- When to call multiple sub-agents in parallel and combine their results.
- When to ask for clarification because information is missing.
Sub-agents need clear input/output contracts. Inputs should include the task objective, necessary context, and constraints. Outputs should include a conclusion, a summary of supporting evidence, uncertainties, and recommended next steps.
Clear contracts make orchestration more reliable and allow each sub-agent to be evaluated and improved independently.
Define Permission and Security Boundaries Early
A single visible bot does not imply a single backend data boundary. Different sub-agents may access different data scopes.
Validate identity and session context at the primary-agent layer, then pass only the context each sub-agent needs under the principle of least privilege. Avoid forwarding complete conversation histories or sensitive fields indiscriminately.
For group chats, also define rules for @mention-based activation, topic isolation, and timeout-based cleanup. These rules help prevent unrelated messages from contaminating task state.
Pattern 2: Separate Entry Points for Individual Agents
In the second pattern, the primary agent has its own entry point, and each sub-agent also has a separate entry point. The agents operate relatively independently.
Users or business systems choose a channel according to its responsibilities. For example, operations teams might use a content assistant, engineering teams a troubleshooting assistant, and finance teams a reconciliation assistant.
The main advantage is isolation. Conversation histories, prompts, tool permissions, and release schedules can evolve independently. A failure or change at one entry point is less likely to disrupt every other capability.
The trade-off is that users must know which entry point to choose. Cross-task collaboration also requires explicit handoff mechanisms. For example, a summary of the previous agent’s conclusions can become the next agent’s input, rather than assuming all agents share their entire memory.
How to Choose Between the Two Patterns
Evaluate the choice across three dimensions.
1. User Interaction
Prefer a single entry point when the priority is a unified experience, group-chat collaboration, and minimal switching.
Prefer separate entry points when the priority is departmental isolation, compliance boundaries, or independent operations.
2. Task Coupling
A single entry point is more natural when subtasks frequently share context or require a primary agent to consolidate results.
Separate entry points are cleaner when task boundaries are clear and tasks rarely overlap.
3. Governance Overhead
A single entry point reduces effort for users but increases the demands on orchestration and permission design.
Separate entry points simplify orchestration but increase the work involved in managing access points, documentation, and user training.
A hybrid approach is also possible. Keep one general entry point while providing dedicated entry points for highly sensitive or frequently used specialist workflows. The primary agent can direct users to those channels when necessary.
Make State Management Explicit
Both patterns require a clear state-management design. A common multi-agent failure is not insufficient model capability but confused context: a sub-agent may miss a critical constraint or receive information it should not see.
Assign a session identifier and a task identifier to each task. The primary agent should maintain a task state machine with states such as:
- Awaiting clarification.
- In progress.
- Awaiting human input.
- Completed.
- Failed.
Sub-agents should consume only the context slice needed for the current step.
For long-running workflows, use periodic summaries rather than continually appending the full original text. This controls context length and makes the process easier to audit.
Separate Shared Tools from Domain Knowledge
Tool and knowledge access should be layered.
General capabilities, such as search, log queries, and ticket reading or writing, can be provided through a shared tool pool. Policies should determine which agents may invoke each tool.
Domain-specific knowledge bases should be attached to the relevant sub-agents. Giving every role the same knowledge view can lead to answers that do not match the task.
Monitoring should record at least:
- The entry point from which a request originated.
- Routing decisions.
- Sub-agent execution time.
- Tool-call successes and failures.
- User satisfaction or the rate of human takeover.
Without these signals, it is difficult to distinguish prompt problems from routing errors or overly restrictive permissions.
Start Small and Refine Agent Boundaries
For teams new to multi-agent systems, start with one entry point, one primary agent, and two sub-agents. A simple question-answering setup with retrieval and summarization roles can help validate routing and input/output contracts.
Then use actual organizational boundaries to decide whether any agents need independent entry points.
More sub-agents are not inherently better. Their number should reflect clear responsibilities. If two sub-agents frequently call each other and their prompts overlap substantially, their boundaries may be wrong. Merge them or redefine their responsibilities.
Conclusion
A single entry point with multiple sub-agents supports unified interaction and centralized orchestration. Separate entry points support isolation and independent evolution.
For most business scenarios, reliable multi-agent collaboration starts with five explicit design elements: entry points, responsibilities, contracts, permissions, and state. Once these are clear, teams can introduce more complex workflows or human review steps as their needs evolve.
