Architecture and Engineering Practices for Continuously Online Super Agents
This article explores the architectural and engineering practices for building continuously online super agents. It emphasizes that the bottleneck of multi-agent systems lies in human attention rather than model concurrency. By adopting a dual-layer architecture, event-driven processing, asynchronous interactions, and the separation of computation, state, and environment, these systems can manage tasks across sessions efficiently without overwhelming the user.
Architecture and Engineering Practices for Continuously Online Super Agents
1. The Starting Point: The Bottleneck is Human Attention, Not Model Capability
In discussions about multi-agent systems, a common misconception is equating “parallel task count” directly with “model concurrency.” In reality, the upper limit of a single task depends more on the model’s capability and the completeness of the toolchain, while the upper limit of multi-tasking often depends on human attention. A common industry observation is that a person can typically track only 3 to 5 active sessions simultaneously. Beyond this range, users must constantly switch contexts, confirm progress, and handle blocking inquiries, causing cognitive load to rise rapidly.
Therefore, a “super agent” should not be understood as simply opening multiple sessions, but as a continuous, cross-session, parallel, and continuously online entity. It must possess four characteristics: continuous, efficient, proactive, and persistent. The corresponding engineering goal is not to make users manage more sessions, but to turn sessions into implementation details of the system. Users should face a stable task entry point and a predictable stream of results, rather than a pile of windows requiring manual polling.
From this perspective, the recent industry proposals in this direction are reasonable: they shift the contradiction from “how to let users manage more tasks simultaneously” to “how to let the system handle session scheduling for users.” However, evaluating a proposal requires more than just looking at the concept; it must also address engineering issues such as state consistency, event governance, permission security, cost control, and real device integration.
2. Dual-Layer Architecture: Resident Routing Layer and Context-Isolated Worker Layer
The core of this proposal is a dual-layer architecture. The first layer is the resident routing layer, responsible for handling all human interactions, acting as the global checkpoint and memory, but it does not execute tasks itself, nor does it necessarily need general command execution capabilities. The second layer is the context-isolated worker layer, which mounts complete tools by task and executes concurrently, only reporting back to the routing layer and never speaking directly to the outside.
The key value of this design lies in the separation of concerns. The routing layer solves the problems of “who the user’s intent belongs to, how task progress is aggregated, and how global memory is maintained”; the worker layer solves the problems of “how specific tasks are executed, how tools are called, and how local context is isolated.” Without the routing layer, multiple worker units would output externally independently, quickly leading to information fragmentation for the user. Without worker layer isolation, all tasks would share the same context, prone to pollution, crosstalk, and permission breaches.
This can be expressed with the following pseudo-structure:
User/Environment Events-> Routing Layer: Identify intent, assign threads, maintain global checkpoints and memory-> Worker Layer A: Independent context + toolset, report after execution-> Worker Layer B: Independent context + toolset, report after execution-> Routing Layer: Aggregate results, decide whether to output externally
It must be emphasized that the routing layer not executing tasks does not mean it is “light.” On the contrary, it bears the global state, task ownership, output strategy, and exception fallback, serving as the control plane of the entire system. The worker layer only reports and does not speak directly, ensuring that what users see are aggregated and strategically filtered results, rather than the raw noise of multiple execution units. As the saying goes: Sessions should be an implementation detail of the system, not a cognitive burden for the user.
3. Event-Driven: Deterministic Strategy First, Then Semantic Judgment
A continuously online system inevitably faces a massive amount of environment events: task state changes, tool returns, timed triggers, external messages, background execution results, etc. If all events enter the large model for semantic judgment, costs and latency will spiral out of control; if all are processed with fixed rules, complex intents cannot be covered. A more reasonable path is for events to first go through a programmatic strategy, handling deterministic judgments in code, before entering semantic judgment.
Specifically, the event stream of assigned tasks can go directly to the worker layer along thread subscriptions, without repeatedly consuming the global routing. This way, the routing layer only handles a few scenarios such as “new event assignment, cross-task conflicts, and human confirmation needed.” Context management can adopt a tiered approach of inline and overflow: short-term necessary information is inlined in the active context, long-tail information overflows to external storage; cross-task retrieval relies on reference graphs for chained recall, rather than stuffing all history back into the prompt.
Another point worth noting is speculative execution: reproducing or drafting in the background first, only speaking out when it generates value. This reduces the user’s sense of waiting, but also brings cost and consistency risks. Therefore, it is necessary to set trigger conditions, budget limits, and discard strategies to prevent background tasks from expanding indefinitely.
4. Human-Facing Interaction: Asynchronous Tool Calling and Low-Disturbance Output
Blocking tool calls are a common cause of experience degradation. After a user issues a task, if the system occupies the session for a long time waiting for a tool to return, the user can neither continue asking questions nor handle other matters in parallel. A more reasonable approach is to change tool calls to an asynchronous start/stop mode, with background results returned to the session as new events. The original text mentions that this capability has been implemented but not enabled by default, which reflects engineering prudence: asynchronization changes the state machine, timeouts, retries, and user expectations, requiring a gradual rollout.
The output side should also be layered. Low-disturbance channels like instant messaging are suitable for short replies, controlled at the hundred-word level per response; channels like code hosting and email are suitable for structured long deliveries. The key is not the channel itself, but “choosing the output granularity based on the scenario”: confirmation messages should be short, result messages can be expanded, and failure messages should carry actionable suggestions. This minimizes disturbance while ensuring complex deliveries are auditable and traceable.
5. Separation of Computation, State, and Environment: True Implementation of Brain-Hand Separation
The proposal suggests separating computation, state, and environment: loop control goes to the cloud, state goes to the database, and the execution environment stays in place. Only a stateless lightweight daemon is placed on the client side, with support for integrating daily development machines. This is consistent with the industry’s common “brain-hand separation” approach, but the difference is that the integrated devices are real devices that are intermittently online, contain uncommitted modifications, and have local credentials.
The engineering significance of this is substantial. A real development machine is not an idealized stateless container: it may sleep at any time, experience network jitter, have local uncommitted changes, and store local credentials. Forcing the execution environment into the cloud would break development continuity; leaving the state on the client side makes global scheduling and auditing difficult. The separation design attempts to strike a balance: the control plane handles scheduling and memory in the cloud, the data plane executes on the client side, and state is stored in the database to ensure recoverability.
However, the risks are equally obvious: the permission boundaries of the client-side daemon, local credential protection, isolation of uncommitted modifications, and the completeness of event callbacks all require strict design. Otherwise, “continuously online” might become “continuously exposed.”
6. Comprehensive Evaluation and Implementation Suggestions
Overall, the value of this proposal lies in elevating the super agent from “opening more sessions” to a systemic architectural problem of “absorbing attention.” The direction is correct, but the implementation difficulty lies not in the concept but in governance: routing layer single points and memory pollution, worker layer privilege minimization, event storms and deduplication, asynchronous result consistency, speculative execution costs, and client-side environment security are all questions that must be answered.
A phased implementation is recommended: first, implement asynchronous tool calling and an event bus to solve blocking and result callbacks; then introduce worker layer pooling and context isolation to control crosstalk; finally, build the resident routing layer and global memory, equipped with observability, auditing, budgeting, and rollback mechanisms. Only when session scheduling, state management, and output strategies all become systemic capabilities will the super agent truly transition from a concept to a usable engineering practice.
