Super-Agent Architecture: Moving Session Scheduling to the System Layer

    This article introduces the super-agent architecture, an approach that moves multi-task session management from the model layer to the system layer. It explains why scaling a single-session agent fails (synchronous blocking, context pollution, device-offline stoppage, and human attention bottlenecks), then breaks down a two-layer architecture built on five modules: decision/execution decoupling, event-driven scheduling, asynchronous multi-channel interaction, storage-compute separation, and an external watchdog. It also covers routing and batching trade-offs between time, cost, and stability, supported by preliminary experiment data, and closes with practical engineering recommendations and risk boundaries for teams building long-running, parallel, human-supervised agent systems.

    1. From Single-Task Agents to Always-On, Multi-Task Entities

    Over the past year, single-task agents such as coding agents have proven that models can solve complex problems with tools, while humans gradually step back from low-level execution and move toward goal setting, decision-making, and result acceptance. As tool calling, task decomposition, and self-repair capabilities improve, new forms are emerging: personal assistants, always-on services, and event-driven executors. These no longer complete just one thing within a single conversation; they need to continuously receive events, advance tasks, and maintain context over extended time windows.

    However, most existing agents treat a single session as the fundamental unit. One session maps to one task thread, and multi-task capability is often constrained by human attention: users must switch sessions, synchronize context, handle blocking, and decide what to do next. Simply adding concurrency does not solve the problem, because engineering constraints remain: synchronous blocking, context confusion, tasks halting when a device goes offline, and lost task state. The bottleneck therefore shifts from “can the model execute a single task” to “can the system take over multi-task session management.”

    The goal of a super-agent can be summarized as: a continuous entity that maintains context across sessions and advances multiple tasks in parallel without interference. It does not have to be a new product form; it is closer to an architectural approach—bringing classic computer-systems ideas such as scheduling, caching, storage-compute separation, and watchdogs into agent architecture, so that the system layer takes over session management and context synchronization while humans move up to decision-making and acceptance.

    2. The Core Problem: Why Single-Session Scaling Fails

    The single-session model is simple and direct for single-task scenarios: user input, model inference, tool execution, and result return form a closed loop. But when extended to multiple tasks, several typical problems appear.

    First, synchronous blocking. A long-running tool call or external event wait blocks subsequent steps in the same session. Working around this by manually switching sessions essentially transfers the scheduling cost to the user.

    Second, context pollution. Interleaving multiple tasks in the same context easily causes goal drift, missed constraints, and interference from stale information. Naively concatenating contexts increases token cost and harms state consistency.

    Third, tasks stop when the device goes offline. If session state lives only in a local process or a single connection, network interruptions, process restarts, or device switches make it impossible to continue the task.

    Fourth, the attention bottleneck. The upper limit of multi-tasking is no longer determined by model throughput but by how often a human must switch, check, and accept results. If the system cannot proactively advance, recover, and summarize, human attention becomes the scarcest resource.

    Therefore, the key to a super-agent is not “making the model answer more at once,” but extracting session scheduling, event dispatch, context persistence, and failure recovery from model inference into a sustainable system-layer capability.

    3. Overall Architecture: Two Layers and Five Modules

    The architectural approach in public materials can be abstracted into a two-layer structure. The upper layer handles goal understanding, task planning, decision-making, and acceptance assistance. The lower layer acts as a system support layer responsible for session management, context synchronization, event scheduling, execution dispatch, and health monitoring. The upper layer does not need to care how each session is queued, how caches are hit, or how failures are replayed; the lower layer does not replace model decisions but provides a stable foundation for parallel multi-tasking.

    Around this two-layer structure, five common modules emerge: the two-layer architecture itself, event-driven design, asynchronous multi-channel interaction, storage-compute separation, and an external watchdog. These are not isolated features but a cooperating mechanism.

    3.1 Two-Layer Architecture: Decoupling Decisions from Execution Support

    The value of the two-layer architecture lies in separation of responsibilities. The decision layer focuses on “what to do, what to do first, and whether acceptance criteria are met”; the support layer focuses on “how sessions are persisted, how events are queued, how context is synchronized, and how failures are recovered.” This separation frees agent logic from embedding complex concurrency control and state management, and makes independent scaling and observability easier.

    In engineering terms, the support layer can be understood as a small runtime: it maintains session state machines, event queues, routing decisions, caches, and heartbeats. The upper layer participates in decisions through events and state snapshots rather than holding all session state directly. This way, different sessions can advance in isolation during parallel multi-tasking, reducing mutual interference.

    3.2 Event-Driven: From Polling Conversations to Event Advancement

    Event-driven means the system responds not only to user input but also to tool completions, timers, external notifications, and state changes. Each event carries a session identifier, task identifier, event type, and necessary payload, and the scheduling layer decides whether to wake the corresponding task.

    The benefits of an event-driven design are avoiding wasteful polling, letting tasks release execution resources while waiting for external results, and making timeouts, retries, and resume-from-checkpoint easier to implement. In practice, a clear event contract is needed, for example:

    1. event = {
    2. event_id,
    3. session_id,
    4. task_id,
    5. type, # user input, tool result, timer trigger, state change, etc.
    6. payload,
    7. created_at,
    8. attempt
    9. }

    Events should be idempotent where possible, and consumers must handle duplicate delivery and out-of-order arrival. For long-running tasks, the event log also serves as the basis for recovery.

    3.3 Asynchronous Multi-Channel Interaction: Never Block the Main Execution Flow

    Asynchronous multi-channel interaction emphasizes that user input, task notifications, execution results, and monitoring alerts arrive from different channels, and the system should ingest and classify them asynchronously rather than letting one slow channel block the main execution flow. For example, a user adding a constraint should not interrupt a tool call in progress; a monitoring alert can trigger a side-path check; a task completion notification can enter a pending-acceptance queue.

    This requires the system to maintain session-level and task-level message routing rules, and to distinguish “must handle immediately” events from “batchable” events. Deferrable events benefit from batching for throughput; high-priority events need a fast path to reduce latency.

    3.4 Storage-Compute Separation: Decoupling Context Persistence from Execution

    In agent architecture, storage-compute separation can be understood as: persisting session state, context snapshots, task progress, and execution results to independent storage, while inference and tool execution act as replaceable compute units. This way, a compute instance restart or device offline event does not directly lose the session; a new instance can load the state snapshot and continue.

    Storage-compute separation also creates room for cache optimization. Read caches reduce repeated context loading and redundant inference; a subscription fast path lets some requests bypass complex routing and enter the execution path directly, reducing routing decisions and cache-read overhead. Preliminary experiments mentioned in public materials note that after removing the subscription fast path, Router decisions increased by about 30%, and read-cache tokens grew from 23.23 million to 31.77 million. This shows that fast-path and caching mechanisms have a real impact on system overhead.

    3.5 External Watchdog: Failure Recovery Independent of the Main Process

    The key word in watchdog is “external”: health monitoring should not depend solely on the process being monitored. An external watchdog can use heartbeats, timeouts, and state checks to detect stalled sessions or abnormal execution, and trigger restarts, migration, replay, or alerts. For long-running tasks, it must be combined with idempotent execution and resume-from-checkpoint to avoid duplicated side effects during recovery.

    A simplified recovery flow looks like this:

    1. watchdog.check():
    2. for session in active_sessions:
    3. if now - session.last_heartbeat > timeout:
    4. mark_stalled(session)
    5. snapshot = session_store.load_latest(session.id)
    6. replay_pending_events(snapshot)
    7. notify(session.owner)

    Recovery logic should clearly define which steps are replayable, which side effects need idempotency keys, and which states require human confirmation. Otherwise, “automatic recovery” can cause duplicate execution or inconsistent state.

    4. Routing and Batching: Trading Off Time, Cost, and Stability

    When running multiple tasks in parallel, a super-agent needs a Router to decide which execution path each event takes: direct fast-path execution, a batching queue, waiting on dependencies, or triggering human confirmation. The fast path reduces decision counts and suits high-frequency, highly deterministic events; the batching path merges multiple routing decisions into a single inference, suiting burst traffic and deferrable tasks.

    Preliminary experiments in public materials show that Router batching reduces the amortized inference time per decision from 6.4 seconds to 1.6 seconds. Meanwhile, multi-task completion speed and stability beat the single-session mode with a sub-agent tool: about half of the tasks finished within 12.4 minutes, and 95% finished within 15.7 minutes. These data suggest that “the system layer taking over session scheduling” is feasible in preliminary experiments: multi-task completion is faster and more stable, and the Router saves overhead via the fast path while absorbing bursts via batching.

    But the trade-offs must be acknowledged: this exchanges more tokens for time and stability. Batching, caching, context synchronization, and recovery mechanisms can all add extra token consumption. Moreover, the experiments are based on synthetic workloads and simplified environments—they are only a preliminary reference, not a formal product conclusion. In production, token cost, latency targets, and stability targets should be evaluated on the same ledger.

    5. Engineering Recommendations

    First, define task granularity and session boundaries upfront. Not every task deserves cross-session parallelism; clarify which tasks share context and which must be isolated to avoid context pollution.

    Second, establish event contracts and idempotency mechanisms. Events should carry unique identifiers, retry counts, and idempotency keys; consumers should handle duplicates and out-of-order delivery.

    Third, state storage must support snapshots and replay. Session state, task progress, and tool results should be persisted, and recovery should replay from the latest snapshot plus pending events.

    Fourth, routing strategy must be observable. Record fast-path ratios, batch queue lengths, amortized time per decision, cache hit rates, and token consumption, so that throughput gains do not sacrifice latency for critical tasks.

    Fifth, the external watchdog needs a clear escalation path. After a timeout, first check heartbeats and state, then decide among retry, migration, or alerting; high-risk side effects must require human confirmation.

    Sixth, the acceptance loop cannot be omitted. Once the system takes over scheduling, humans move up to decision-making and acceptance, which still requires clear result summaries, evidence chains, and traceable records.

    6. Risks and Boundaries

    The main challenges of the super-agent architecture are multi-task consistency, cost control, and recovery correctness. Parallel multi-tasking can cause resource contention and priority inversion; caching and batching can increase token costs; a misconfigured external watchdog can produce false positives or become a single point of failure; and experimental data from synthetic workloads cannot be directly extrapolated to real production environments. A safer path is to validate scheduling and recovery mechanisms first on a small scope of replayable tasks, then gradually increase parallelism and task duration.

    Overall, the significance of the super-agent is advancing agents from “single-session tools” to “always-on, event-driven, recoverable multi-task entities.” Its core is not any single capability but the system layer’s holistic takeover of session scheduling, context synchronization, cache fast paths, batched routing, and health monitoring. For scenarios that require long-running operation, parallel multi-tasking, and human-led acceptance, this architectural approach offers clear reference value.