The Technical Logic Behind an Agent Runtime Framework Reaching One Million Daily Active Users
This article examines what one million daily active users actually stresses in an AI agent runtime framework (often called a harness), using a recently disclosed case in which daily active users reached 1.54 million and daily token consumption reached roughly 92 trillion. It explains the five layers of a harness, why agent workloads differ from conventional chat services, and how a double-layer architecture, event-driven execution, asynchronous multi-channel interaction, and storage-compute separation turn an agent into a continuous entity that runs across sessions. It also covers token cost and performance governance, governance of a plugin ecosystem of about 35,000 plugins, engineering culture lessons, and a practical implementation checklist.
1. What One Million Daily Active Users Really Tests
A domestic large-model team recently published operating data for its agent runtime framework (commonly referred to in the industry as a harness). Measured by official API calls, the framework served 1.54 million daily active users and consumed about 92 trillion tokens per day. Roughly a month earlier, the 7-day average of the same metric was only 271,000; it rose to 429,000 in early October, a net gain of more than one million users within a month. Over the same period, the number of third-party plugins grew to about 35,000, and roughly 60% of active users had installed or created at least one plugin.
For developers, the significance of these numbers is not the speed of growth. It is an engineering fact they expose: the load model of an agent product is fundamentally different from that of a conventional conversational application. A traditional chat service concentrates its pressure on the inference latency of a single request. An agent framework, by contrast, faces three curves rising at the same time — the number of sessions, the number of tool calls within each session, and the amount of context retained across sessions. Daily token consumption on the order of 92 trillion means the system must satisfy three conditions simultaneously: context management, scheduling concurrency, and decoupling of storage from compute. Otherwise, cost grows super-linearly with the user base.
This article therefore discusses no specific product. Instead, it abstracts this class of system into a general technical question: how to evolve a large model from a “session that responds passively” into an “entity that can run continuously.”
2. Clarifying the Concept: What a Harness Actually Solves
In the industry, a harness usually refers to the software support framework built around a large language model, whose job is to package model capability into an execution system that can be invoked reliably. It contains at least five layers:
- Model access layer: abstracts away differences between models and context windows, and handles routing and fallback.
- Context management layer: responsible for history compression, summarization, retrieval backfill, and token budget allocation.
- Tool and plugin layer: defines tool schemas, permission boundaries, invocation protocols, and the format for feeding results back in.
- Scheduling and execution layer: task decomposition, concurrency control, retries, and idempotency.
- Observability layer: distributed tracing, token metering, failure attribution, and alerting.
Understanding these five layers makes clear why “daily active user growth” is far more damaging to this class of system than to an ordinary web application: inefficiency in any single layer is amplified by all the others.
3. Core Architecture: From a Single Session to a Super-Agent
The source material notes that mainstream agent designs struggle to support a personal-assistant mode at the scale of multiple tasks and team collaboration, and that the practical ceiling on concurrent tasks is human attention. The way past this ceiling is to decouple the agent from being bound to one manual session, making it a continuous entity that holds context across sessions, advances multiple tasks in parallel, and keeps them from interfering with one another. In engineering terms, this usually lands on four design points.
3.1 Double-Layer Architecture
The upper layer is the “decision and acceptance plane”; the lower layer is the “execution and synchronization plane.” The upper layer receives only structured conclusions and items awaiting confirmation, while the lower layer takes over session management, context synchronization, tool invocation, and failure retries. A schematic division of responsibilities can be expressed in pseudocode:
class DecisionLayer:def on_event(self, ev):if ev.type in ("NEED_CONFIRM", "TASK_DONE", "RISK_DETECTED"):self.render_for_human(ev) # humans only decide and acceptelse:self.exec_layer.submit(ev) # everything else goes to the execution layerclass ExecutionLayer:def submit(self, ev):with self.semaphore: # concurrency and quota controlself.worker_pool.run(self.plan_and_call, ev)
The key benefit: the frequency of human interaction drops from “every step” to “key checkpoints,” so attention is no longer the concurrency ceiling.
3.2 Event-Driven Execution
Modeling tasks as an event stream rather than request-response offers three advantages: long-running tasks are naturally supported; failures can be replayed; and multiple tasks can be scheduled fairly on the same event bus. In practice, events need an explicit state machine (pending / running / waiting on external input / awaiting human confirmation / completed / abandoned), and state transitions must be persistable.
3.3 Asynchronous Multi-Channel Interaction
The same agent may interact with a user simultaneously through a CLI, mobile app, email, or callbacks. The engineering essentials are a channel adaptation layer that normalizes message formats, plus deduplication and priority ordering for “the same user across multiple channels,” so repeated pushes do not collapse the experience.
3.4 Storage-Compute Separation and an External Watchdog
Storage-compute separation means session state, context snapshots, and plugin metadata live in external storage (such as object storage, a relational database, or a cache cluster) while compute nodes remain stateless, enabling elastic scaling and fast failover. An external watchdog handles timeout circuit-breaking, reclamation of deadlocked tasks, and quota backstops, preventing a single runaway loop from burning through the token budget.
4. Token Cost and Performance Governance
At a scale of 92 trillion tokens consumed per day, cost control is an architecture problem. Practical measures include:
- Context tiering: hot context stays resident, warm context is summarized, cold context is retrieved on demand.
- Budget allocation: set a token ceiling and per-stage quota for each task, and degrade to a smaller model or a simpler plan once exceeded.
- Cache reuse: apply prefix caching to stable prefixes (system prompts, tool schemas) to reduce repeated billing.
- Parallel pruning: run independent subtasks concurrently and dependent ones serially, avoiding idle waits that inflate context length.
- Metering and attribution: instrument by session, plugin, and task type to locate the sources of high consumption.
5. The Plugin Ecosystem: Governance Challenges from 35,000 Plugins
That about 60% of active users have installed or created a plugin shows the ecosystem has become a growth engine, but it also introduces supply-chain risk. A recommended governance framework:
- Static declaration: plugins must declare required permissions, external data destinations, and resource limits.
- Sandboxed execution: no network and a read-only filesystem by default, granted on demand.
- Versioning and rollback: semantic versioning for plugins, with one-click disabling when something goes wrong.
- Quality tiers: display plugins by tier based on call success rate, latency, and complaint rate.
- Author support: provide debugging panels, canary releases, and revenue or recognition incentives to create a positive loop.
6. Lessons on Team and Open-Source Strategy
The material indicates the team was formed in March of that year, that its lead has a computer science background and long experience at a quantitative institution, and that when asked publicly why they open-sourced, the answer was “to bring AGI closer,” with the emphasis that the real opponent is passing time. This points to two engineering-culture principles: publish verifiable methods early and let the community validate them instead of iterating behind closed doors; and treat “time cost” as a first-class citizen in architecture decisions, preferring approaches that allow fast trial and error.
7. Implementation Checklist
- Have you decoupled the agent from session binding and enabled cross-session context?
- Do you have event persistence and replay capability?
- Are compute nodes stateless, with state externalized?
- Is there an external watchdog and token-budget circuit breaker?
- Do plugins default to least privilege and run sandboxed?
- Do you have cost attribution by plugin and by session?
8. Conclusion
One million daily active users, and a one-million-user increase, are essentially a stress test of whether an agent can run stably as a continuous entity. Make the four things — context, scheduling, storage, and ecosystem — solid, and combine them with general-purpose infrastructure capabilities such as container platforms, object storage, message queues, and monitoring and alerting on Baidu AI Cloud, and a team can focus its attention on model capability and task orchestration itself rather than being held back by infrastructure complexity.
