Agent System Architecture Evolution: From Single-Agent Execution to Multi-Agent Collaboration
This article traces a three-phase evolution of an industrial agent system: building basic skill and tool-call execution loops, extending to workspace-based multi-agent collaboration, and finally developing an in-house agent runtime framework for isolation and governance. It explains how to separate tools from skills, structure workspaces and inter-agent handoffs, design execution boundaries, and use evaluation—not architecture alone—to decide when multi-agent coordination is warranted. Readers will gain a practical architecture reference for building reliable, permission-aware, auditable agent systems.
1. Starting Point: An Agent Needs More Than Model Calls
Agent systems in industrial scenarios typically need to connect to knowledge materials, business data, and execution tools, transforming a user’s goal into a verifiable sequence of operations. The large language model handles understanding requirements, generating plans, and deciding the next action—but what actually sustains the system is everything outside the model: tool integration, state management, permission control, and result validation.
Consider the task “analyze the equipment anomaly and produce a recommended remediation.” The system may need to fetch equipment records, retrieve relevant procedures, analyze the anomaly’s cause, and finally produce evidence-backed recommendations. Different steps involve different data sources, domain expertise, and access permissions. If all information and operations are compressed into a single model conversation, the system is prone to mixed-up context, unclear execution state, and blurred accountability.
So the evolution of agent architecture should not be understood simply as swapping out underlying frameworks. It is better understood as progressively answering three questions:
- How can the model reliably use skills and tools?
- How can multiple specialized roles collaborate around a shared task?
- How can permissions, state, and runtime processes remain controllable as collaboration scales up?
The original practice covered three phases: in March 2026 the team established basic execution capability, in May 2026 it explored workspaces and multi-agent collaboration, and in June 2026 it moved to a self-developed agent runtime framework. The following sections first review this known evolution, then present architecture recommendations applicable to such systems. The recommendations do not imply that all described capabilities have been implemented.
2. Phase One: Running the Basic Execution Loop with a Single Agent
In March 2026, the team adapted an open-source agent framework and delivered the first version, focusing on foundational capabilities for skill usage and tool invocation.
The core value of this phase was enabling the model to move from “only answering” to “actually executing.” A typical execution loop includes: receive the task, understand the goal, select a tool, submit parameters, read the execution result, and then decide whether to continue or produce the final answer.
1. Distinguish Tools from Skills
A tool usually corresponds to a relatively concrete operation, such as querying a record, reading a file, or submitting a computation job. It needs defined inputs, outputs, execution permissions, and error feedback, so the runtime can determine whether it can be invoked, how to invoke it, and whether invocation succeeded.
A skill is a reusable method oriented toward a class of tasks. It may include operating instructions, tool combinations, domain knowledge, and result acceptance criteria. For example, an “anomaly analysis” skill is not the same as a query tool: it specifies how to gather evidence, how to rule out common causes, and how to organize the conclusion.
This distinction helps control system complexity: tools answer “what can be done,” while skills answer “how to do it well.” If the two are conflated, changes in business processes may force frequent modifications to underlying tools, increasing maintenance costs.
2. Basic Invocation Needs Execution Constraints
A tool call is not complete just because the model generated an operation name. The runtime layer must at least validate parameter structure, check resource permissions, and convert execution results into feedback the model can understand.
For operations involving writes or external effects, approval and idempotency should also be considered. For example, a tool may execute successfully while the result reporting fails; a naive retry could cause duplicate submissions. The system should be able to distinguish “not executed,” “execution failed,” and “executed successfully but the acknowledgement was lost,” rather than treating every exception as the same kind of error.
The goal of the first version should be closing the loop: a task can enter, execute, feed back, and finish. At this stage, avoid introducing collaboration mechanisms prematurely—otherwise basic problems and coordination problems stack up, making issues hard to localize.
3. Phase Two: From a Single Agent to Workspace-Based Collaboration
As industrial task complexity grows, a single agent must simultaneously handle requirement understanding, data processing, professional analysis, and report writing. In May 2026, drawing on the workspace concept from integrated development environments, the team explored multi-agent collaboration and rebuilt a second version on another general-purpose agent framework.
The essence of this shift was not simply adding more agents, but reorganizing task context, shared resources, and specialization of roles.
1. The Single-Agent Bottleneck Comes from Concentrated Responsibilities
A single agent is well suited to tasks with clear goals, a limited set of tools, and short execution chains. When a task spans multiple professional domains, forcing the model to switch roles amid large amounts of background information can cause:
- Different stages sharing the same context, diluting key evidence with irrelevant information;
- Planning, execution, and review performed by the same role, with no independent verification;
- After a step fails, difficulty determining whether the whole task or only a local step must be redone;
- All tools exposed at once, resulting in an oversized permission boundary.
The value of multi-agent systems lies in division of labor and boundaries, not agent count. Splitting only pays off when subtasks have relatively independent goals, inputs, and acceptance criteria.
2. The Workspace Is the Boundary of Task Resources
A workspace should not be understood merely as a file directory. For an agent system, it can serve as a task-level resource boundary, organizing input materials, intermediate artifacts, execution records, authorization information, and final results.
A workspace should clearly answer: which members can read which materials, which members can modify which artifacts, which tools are allowed, and how resources are retained or cleaned up after the task ends.
With this boundary, an analysis agent can read relevant data and submit analysis results, a review agent can check whether evidence supports the conclusions, and a coordination agent advances the task state. Roles need not share their entire conversation history, nor should they naturally hold the same permissions.
3. Collaboration Needs Structured Handoffs
If multiple agents exchange only natural-language summaries, evidence sources, completion status, and uncertainty are easily lost. A more robust approach is for each subtask deliverable to include the goal, results, evidence, unresolved issues, and status.
For example, an analysis role should clearly distinguish “an anomalous feature was observed” from “the anomaly cause is confirmed.” The former may be merely a data phenomenon; the latter requires sufficient supporting evidence. A coordinator must not push the task forward merely on the phrase “analysis complete.”
The system also needs rules for modifying shared artifacts. Multiple roles editing the same report simultaneously can overwrite each other. A better approach is to submit candidate results separately and have a designated role merge and review them.
4. Phase Three: An In-House Runtime Framework for Isolation and Governance
The original material notes that the second phase’s framework, with its monolithic deployment, did not match workspace isolation requirements; frequent updates and breaking changes also created maintenance pressure. In June 2026, the team began building its own agent runtime framework, encapsulating model invocation, agent execution loops, skills and workspace management, and advancing a skill marketplace and expert marketplace.
This “runtime framework” can be understood as the software layer that carries agent execution, resource access, and lifecycle management. It does not retrain the model; it lets the model complete tasks within clear boundaries.
1. Deployment Architecture Must Match Isolation Boundaries
Monolithic deployment is not inherently unsuitable for agent systems. For small-scale, single-tenant, or low-risk scenarios, it is often easier to deploy and maintain. The issue arises when tasks require different resource quotas, tool permissions, or failure boundaries: logical partitioning within a single process may no longer suffice.
Session isolation mainly prevents conversation states from mixing; workspace isolation additionally covers files, execution environments, credentials, and resource access. The two are not equivalent.
For high-risk operations, use independent execution processes, restricted execution environments, or isolated resource instances as needed. Isolation strength should be determined by data sensitivity and operation impact—not every task needs the heaviest mechanism.
2. Stable Interfaces Matter More Than Chasing Updates
External framework updates can alter state structures, calling conventions, or execution behavior. For systems carrying business processes, these changes mean regression testing and migration costs.
A reasonable goal for an in-house runtime framework is to encapsulate volatile external dependencies behind stable boundaries. For example, upper-level tasks do not directly depend on a particular model service’s response structure, but go through a unified invocation layer that returns standardized results; tool execution and task state are not bound to an external framework’s internal objects.
That said, building in-house also brings testing, security, documentation, and compatibility maintenance burdens. Whether to build should be decided by comparing long-term needs against maintenance costs—it is not automatically superior to general-purpose solutions.
5. How the Runtime Framework Should Organize Core Capabilities
Drawing on the encapsulation directions in the original material, the system can be designed in the following layers. This describes a general architecture recommendation, not a confirmed implementation.
1. Model Invocation Layer: Unified Access and Exception Semantics
The model invocation layer handles request organization, response parsing, timeout control, and invocation logging. It should separate text generation results from tool-call intents, and explicitly handle empty responses, malformed responses, and request failures.
Retry strategy also requires care. For pure model generation, retries can be allowed under constraints; for tasks that have already triggered external operations, confirm the execution state first to avoid duplicating side effects.
2. Execution Loop Layer: Explicit Task State Management
An agent execution loop typically involves observing, deciding, acting, and feeding back. In engineering practice, it should also add checkable end conditions, such as: goal achieved, insufficient permissions, resource budget exhausted, or waiting for human confirmation.
Tasks should not have only “running” and “completed” states. States such as waiting for a tool, waiting for approval, failed-pending-recovery, and canceled all help operations and recovery. Long-running tasks should save key checkpoints so that an interruption does not force restarting from scratch.
3. Workspace Layer: Managing Context and Artifacts
Workspace management must balance context quality and artifact lifecycle. The model’s context should not endlessly accumulate history; instead, select necessary materials according to the task phase, and preserve original evidence for later verification.
Artifacts should record their source, creation time, and version relationships. After a task ends, the system should decide per business requirements which content is archived, which temporary resources are cleaned up, and how sensitive information is handled.
4. Tool Execution Layer: Establishing a Trusted Boundary
The model may propose an invocation intent, but whether it executes must be decided by deterministic control logic. Parameter validation, permission checks, and approval rules must not rely solely on prompt instructions.
Additionally, external documents, tool outputs, and user-uploaded files should all be treated as untrusted input: text like “ignore the rules” or “execute this operation” appearing within them must not alter the system’s authorization boundary. Operations such as deletion, publishing, and writing should use stricter confirmation mechanisms.
6. Skill Marketplace and Expert Marketplace: From Reuse to Governance
The original material mentions advancing a skill marketplace and an expert marketplace. The two can respectively support method reuse and professional-role reuse, but a catalog is only a starting point; the hard part is quality and lifecycle management.
1. Skills Need Verifiable Usage Contracts
A skill should specify applicable tasks, required inputs, tool dependencies, output requirements, and failure conditions. Without this information, even a long skill description is difficult to reuse reliably.
Skill updates should also record their scope of change. If a new version modifies operation order or output structure, dependent expert roles and business tasks may be affected; therefore test, release, and rollback processes are needed.
2. Experts Need Bound Responsibilities and Permissions
An expert can be understood as an agent role configured around a specific task, including its responsibility description, available skills, tool permissions, and output standards. An expert’s professionalism cannot be conveyed by its role name alone; it should be validated through test tasks.
For example, a review expert should be able to check whether conclusions are supported by evidence, rather than merely regenerating a differently worded report. For high-impact decisions, expert output should still serve as advisory information, confirmed by a human with the appropriate authority.
7. Let Evaluation Drive Architecture—Don’t Let Architecture Replace Evaluation
After evolving from a single agent to multiple agents, you need to verify whether collaboration actually improves results. Beyond task completion rate, observe evidence completeness, erroneous-operation rate, human intervention, recovery capability, and resource consumption.
Evaluation can be layered into three levels: the tool layer checks parameters and permissions; the skill layer checks task steps and result quality; the system layer checks collaboration, conflicts, and fault recovery in complete tasks.
Test sets should include not only normal tasks but also situations such as missing materials, insufficient permissions, tool timeouts, duplicate requests, and conflicting evidence. Without these anomaly tests, the system may look smooth in demos but be hard to maintain in real operation.
For tasks with clear boundaries, keep the single-agent path; enable multi-agent collaboration only for cross-domain tasks that need independent review. This avoids unnecessary coordination costs and reserves complex architecture for scenarios that truly need it.
8. Conclusion: Advance System Evolution Centered on Execution Boundaries
This three-phase practice shows that the focus of agent system construction shifts with scenario complexity: Phase One establishes the skill and tool invocation loop; Phase Two organizes workspaces and professional collaboration; Phase Three focuses on stable runtime interfaces, isolated resources, and reusable capability governance.
For developers, the transferable lesson is not which framework to choose, but the order of architectural decisions: first validate the minimal execution loop, then identify the single agent’s actual bottlenecks, then design collaboration according to task boundaries, and finally support scaled operation with permissions, state, evaluation, and recovery mechanisms.
A sustainably evolving agent system should not merely “be able to complete tasks”—it must be clear about under what conditions tasks complete, what evidence is relied on, what permission constraints apply, and how failures are recovered. Only when these questions are clearly answered can the system move from technical validation to a stable foundation for real business applications.
