The Evolution of Autonomous Agent Architecture: Toward a Continuously Online Super-agent

    This article examines how autonomous agents are moving beyond the request-response paradigm toward always-on operation. It breaks down a five-layer architecture: a two-tier design that separates a global router from per-task workers, event-driven triggers filtered by rules and then model judgment, an interaction layer built around an attention budget, the separation of compute from persistent state, and an external watchdog for self-recovery. It also reviews preliminary latency experiments, outlines engineering recommendations, and explains why tail latency and human oversight matter more than raw model capability.

    1. From One-Shot Q&A to Always-On: The Capability Gap in Autonomous Agents

    Most AI coding tools and conversational agents today still operate in a request-response paradigm: the user starts a session, the model reasons within a context window and returns a result, and the end of the session marks the end of the task lifecycle. This works well for single-turn Q&A and code snippet generation, but once a task spans hours or days, three structural gaps appear: context cannot carry across sessions, tasks cannot run in parallel, and the system cannot proactively sense changes in its environment.

    An autonomous agent prototype proposed by one R&D team in its own explorations summarizes the goal in four baseline characteristics:

    • Continuous: interaction state persists across sessions, so users do not have to re-explain the background;
    • Efficient: multiple tasks advance in parallel rather than queuing serially;
    • Proactive: the system responds to environment events (such as code review comments or pipeline results) instead of waiting for a human to poll;
    • Durable: it stays online over the long term, with anomaly detection and self-recovery.

    Its design philosophy is condensed into one sentence: consume as little human attention as possible while delivering as much value as possible. The engineering implication is a clear layering: push “mechanical labor” such as session management, context synchronization, and task scheduling up to the system layer, leaving humans with only two roles, decision-making and acceptance.

    2. Breaking Down the Five-Layer Core Architecture

    2.1 Two-Tier Architecture: Separating the Global Coordinator from Task Execution Units

    The first layer is a continuously running global coordinator (Router); the second layer consists of execution units partitioned by task (Worker).

    The Router has three responsibilities: to unify the intake of information from different channels such as group chat, code hosting platforms, and email; to determine task ownership and priority; and to maintain shared context across tasks. Workers follow a “one instance per task” principle and operate in isolated, independent spaces, which naturally supports multiple people and multiple tasks starting work at the same time. When a single task exceeds a complexity threshold, a Worker can spawn secondary execution units (Subagents) to break it down.

    The value of this design is that it decouples “scheduling” from “execution”: the scheduler does not need to care about task internals, and execution units do not need to be aware of global state; the two communicate through message contracts.

    1. Channel A (group chat) ─┐
    2. Channel B (code hosting)─┼──> Router (global context / task dispatch) ──> Worker#1 (task α)
    3. Channel C (email) ─┘ ├──> Worker#2 (task β)
    4. └──> Worker#3 (task γ) ──> Subagent

    2.2 Event-Driven: Triggers and Two Filters

    The architecture collectively refers to group chat messages, email and calendar reminders, review comments, and continuous integration run results as environment events (Triggers). Once an event enters the system, it must pass through two filters: the first is a set of pre-configured rules used to cheaply filter out obviously irrelevant or high-frequency noise; the second is model judgment, used for events that are semantically ambiguous and require context understanding.

    Only events that pass both filters are turned into asynchronous tasks. The order of “rules first, model second” is not arbitrary: the rule filter can intercept the vast majority of noise, avoiding wasted expensive inference calls, while keeping behavior auditable and tunable. It is worth emphasizing that this asynchronous mechanism is an optional capability at the architecture exploration stage and is not enabled by default; the team is still evaluating the balance between its benefits and noise.

    For long context, the architecture also introduces two engineering techniques: Inline & Spill, where short content is inlined directly into the context and long content is turned into an external reference loaded on demand; and Chain of Recall, which progressively narrows down to the truly relevant historical fragments through multi-level retrieval rather than stuffing all history in at once.

    2.3 Human-Facing Interaction: Spending the Attention Budget Where It Matters

    The biggest risk of an autonomous agent is not insufficient capability but over-interruption. If the system pushes a notification for every event, the user’s attention is completely fragmented, which reduces overall throughput instead. The interaction layer therefore needs an “escalation path”: routine progress is recorded silently, and the system reports proactively only when human decisions are needed, conflicts arise, or acceptance is required. This is consistent with the design philosophy above: the metric is not the number of messages but the value obtained per unit of attention.

    2.4 Separating Compute from State and Decoupling the Execution Environment

    Traditional agents are bound to a single machine’s process, and state is wiped when the machine restarts. This architecture places compute and persistent state in the cloud, while the execution environment can remain on the user’s local device. This yields three benefits: freedom from single-machine lifecycle limits, persistent online presence in the cloud, and support for accessing the same task context across devices.

    In a general cloud-native context, this layer is typically carried by a few classes of foundational capabilities: container platforms provide elastic execution units, object storage and managed databases hold session and task state, message queues handle event distribution, and logging services plus monitoring and alerting provide observability. Baidu AI Cloud offers corresponding capabilities across these general categories and can serve as an infrastructure option for implementing such an architecture.

    2.5 External Watchdog: Moving the Control Loop Out of the Main System

    A system cannot monitor its own downtime, which is the fundamental paradox of self-recovery. This architecture’s solution is to configure an independent watchdog session outside the main system, driven by scheduled messages to form an external control loop: it periodically checks the main system’s heartbeat, task progress, and anomaly buildup, and triggers a restart or alert when necessary. This is a simple but effective “out-of-process supervision” pattern, sharing the same lineage as lease and heartbeat mechanisms in distributed systems.

    3. Preliminary Experiments: What the Data Shows

    In a set of preliminary experiments, each session contained about 300 messages, of which about 20 were real work requests, and each approach was repeated 5 times. The results showed that the autonomous agent approach had a task completion time of 12.4 minutes at p50 and 15.7 minutes at p95, while the single-session approach under a neutral prompt reached a p95 of 29.5 minutes. When the event pass-through mechanism was removed and the coordinator instead polled and judged on its own, tail latency worsened further.

    There are three key takeaways from interpreting this data: first, tail latency (p95) reflects the real experience better than the median, because what users perceive is “the slowest run”; second, the value of event pass-through lies in eliminating polling waits, turning passive discovery into proactive triggering; third, the sample size is limited, so the conclusions should be treated as directional validation rather than definitive.

    4. Engineering Implementation Recommendations

    1. Layer first, add intelligence later: prioritize decoupling scheduling from execution, then gradually introduce model judgment, avoiding putting uncertainty into the core path.
    2. Externalize state: persist sessions, tasks, and context entirely to external storage, and keep the execution environment stateless and replaceable.
    3. Noise budget: set a clear noise ceiling and a manual takeover switch for the event filters, and keep a path to fall back to synchronous mode at any time.
    4. Observability first: assign a trace identifier to each task and connect logs, metrics, and alerts; otherwise, staying continuously online only amplifies the cost of troubleshooting.
    5. Human on top of the loop: make acceptance an explicit step so that human intervention points are enumerable and measurable.

    5. Conclusion

    The essence of an autonomous agent is not a longer context or stronger single-turn reasoning, but a shift in the center of gravity of systems engineering: from “how the model answers” to “how the system keeps running and is effectively supervised by humans.” Two-tier scheduling, event-driven triggering, compute-state separation, and an external watchdog together form the minimum viable skeleton of this shift. Its technical roadmap is still evolving and merits continued tracking and validation.