Agent Harness Architecture: The Technical Logic Behind Scaling to One Million Daily Active Users
This article analyzes the technical shift behind an AI agent framework reaching 1.54 million daily active users, and explains what an Agent Harness is, why single-session designs fail at scale, and the five core architectural patterns—dual-layer design, event-driven execution, asynchronous multi-channel interaction, storage-compute separation, and an external watchdog—needed to build long-running, continuous agents. It also provides an engineering checklist for context governance, plugin governance, cost control, observability, and elastic infrastructure.
1. Reading the Signal Behind One Million DAU
A domestic large model team recently disclosed operational data for its agent runtime framework. Measured by official API calls, the framework reached 1.54 million daily active users in a single day, consuming roughly 92 trillion tokens. About a month earlier, the same metric (7-day daily average) stood at 271,000, with an intermediate point of 429,000. In one month, daily active users grew by more than a million. Over the same period, the number of third-party plugins rose to about 35,000, and roughly 60% of active users created or installed at least one plugin. The team also said it would launch a support program for plugin authors.
Setting the specific product aside, three trend signals in this data matter to developers:
- Agent usage is shifting from “single sessions” to “continuously online entities.” Users are no longer satisfied with one question and one answer; they expect the system to keep tasks running on their behalf.
- Token consumption is growing faster than user count (92 trillion / 1.54 million, with a marked rise in per-user daily consumption). This indicates that individual task complexity is increasing, and agents are taking on longer chains of work.
- The plugin ecosystem has become an amplifier of activity. A 60% penetration rate means the framework’s core competitiveness has expanded beyond “model capability” into “extension mechanisms and author ecosystems.”
2. Concept Alignment: What Is an Agent Harness
In software engineering, a “harness” originally refers to a test fixture or supporting skeleton. In the context of large models, an Agent Harness is the complete software support framework built around a language model. It turns the model from a text generator into an agent capable of executing tasks. It typically covers these responsibilities:
- Session and context management: preserving state across turns and sessions, and handling context compression and recall;
- Task orchestration and scheduling: breaking goals into steps and deciding when to call the model versus a tool;
- Tool and plugin integration: unified registration, authentication, parameter validation, timeouts, and retries;
- Execution sandbox and permission boundaries: isolating file, network, and command execution capabilities;
- Observability: logs, metrics, tracing, and cost accounting.
The key point is that model capability sets the agent’s upper bound, while the Harness determines its usable lower bound. When DAU climbs from 271,000 to 1.54 million, the pressure falls mainly on the Harness rather than the model itself.
3. The Core Problem: Why Single-Session Models Do Not Scale
Most mainstream agent designs bind an agent to a single manual session, which creates three hard constraints:
- The multi-task ceiling equals human attention: a person can only monitor a limited number of sessions at once, so task parallelism is locked to human bandwidth;
- Context dies with the session: closing the window loses state, and long-cycle tasks cannot resume;
- Synchronous blocking: model output must be presented in real time, so long tasks can only be fragmented and repeatedly triggered by a human.
Breaking these limits requires decoupling the agent from a single session and making it a continuous entity that preserves context across sessions, advances multiple complex tasks simultaneously without interference. The industry calls this form and its system architecture a Super-agent.
4. Architecture Breakdown: Five Key Designs
4.1 Dual-Layer Architecture
The upper layer is the “decision and acceptance layer,” presenting goals, plans, and results to humans. The lower layer is the “execution and context layer,” taking over session management, state synchronization, and tool invocation. Humans move up from execution details to high-level decisions, and system throughput is no longer constrained by interaction pace.
4.2 Event-Driven
“User input” is demoted to just one of many event sources. Task completion, tool callbacks, scheduled triggers, and external changes can all drive state machine transitions, naturally supporting long-running and unattended tasks.
4.3 Asynchronous Multi-Channel Interaction
Results are returned asynchronously through multiple channels (in-app, email, instant messaging, webhooks, and so on), avoiding blocking the main path on long tasks. Illustrative pseudocode:
async def run_task(task):ctx = store.load(task.session_id) # cross-session contextasync for step in planner.advance(ctx): # event-driven progressionresult = await executor.call(step) # tool/plugin invocationawait notify.dispatch(task.channel, result) # async multi-channelstore.commit(task.session_id, ctx)
4.4 Storage-Compute Separation
Context and state live in external storage, and compute nodes become stateless. This enables horizontal scaling, resuming after failure and restart, and lets plugins share the same source of truth.
4.5 External Watchdog
An independent process monitors task health and handles stalls, timeouts, abnormal exits, and resource overruns, preventing “zombie tasks” from continuously consuming tokens.
5. Engineering Implementation Checklist
- Context governance: layered memory (short-term buffer plus long-term summary), with defined compression thresholds and recall strategies;
- Plugin governance: a unified manifest, least privilege, parameter schema validation, version compatibility, and canary rollout;
- Cost control: per-task token budgets and circuit breakers, which are especially critical when per-user daily consumption rises;
- Observability: use the task rather than the request as the tracing unit, recording per-step latency and consumption;
- Elastic infrastructure: stateless compute nodes combined with general cloud capabilities such as container platforms, message queues, object storage, and logging, monitoring, and alerting are sufficient, with no need to bind to vendor-specific proprietary interfaces.
6. Conclusion
Gaining more than a million daily active users in a month is not essentially a marketing event; it validates the architectural paradigm of the “continuous-entity agent.” The takeaway for developers is clear: if your agent is still bound to a single session, prioritize completing three pieces—cross-session state, event-driven scheduling, and asynchronous return. At the same time, use the plugin ecosystem and an author support program to amplify activity. A comment from an engineer on the team in a public setting—“the real opponent is passing time”—captures the intent of this architecture: freeing human attention from execution details and investing it in higher-level judgment and acceptance.
