AI Agents That Run Continuously in the Background: A Technical Breakdown
This article examines the shift from request-response assistants to always-on AI agents that stay resident in the background, observe events, and act on their own. It outlines a six-plane reference architecture, shows how to define proactive trigger policies as testable rules, describes a four-level permission model with hard limits on high-risk actions, and explains why isolated browser virtual machines, tiered memory, and pre-launch evaluation sets are required. The key takeaway is that the competition has moved from model capability to engineering governance, making a copilot with approval gates the realistic product form today.
1. From Q&A to Always-On: A Structural Shift in Agent Design
Traditional conversational assistants follow a request-response model: the user starts a session, the model reasons within a context window and returns a result, and computation stops when the session ends. Recently, several vendors have shipped always-on agent products that rewrite this model as subscribe-observe-trigger-execute: the user declares a target of interest in advance, the agent stays resident in the background, decides on its own when action is needed, and pushes results proactively when conditions are met.
This shift does not change the number of model parameters; it raises systems engineering complexity by an order of magnitude. A resident agent has to solve four additional classes of problems:
- State persistence: saving user preferences, prior conclusions, and task progress across sessions;
- Event-driven operation: moving from passively waiting for input to subscribing to external event streams (messages, calendars, file changes, metric breaches);
- Proactivity with restraint: deciding whether it is appropriate to interrupt the user now, and avoiding notification overload;
- Permission governance: ensuring high-risk actions cannot be triggered by mistake when no human is watching in real time.
Anthropic positions its product as an information-tracking assistant for small and medium-sized business owners and professionals, and emphasizes that its core capability is judging when to act proactively and when to act on the user’s behalf. That statement has an engineering meaning worth unpacking: proactivity must be a policy that is decidable, configurable, and rollback-able, not a “personality” of the model.
2. Reference Architecture: Six Planes of a Resident Agent
To build similar capability in your own system, a layered design like the following works well. Each layer is decoupled through explicit contracts, which makes independent evolution and canary rollout easier.
┌─────────────────────────────────────────────┐│ Access plane Multi-client / message GW / ││ webhooks │├─────────────────────────────────────────────┤│ Orchestration Task orchestration · trigger ││ plane policies · priority queues │├─────────────────────────────────────────────┤│ Capability Model inference · connectors ││ plane · plugin/tool registry │├─────────────────────────────────────────────┤│ Execution Isolated browser sandbox · ││ plane code sandbox · queues │├─────────────────────────────────────────────┤│ Memory plane Long-term memory · skill ││ library · vector retrieval │├─────────────────────────────────────────────┤│ Governance Identity & authorization · ││ plane approval · audit · breaker │└─────────────────────────────────────────────┘
The access plane handles multi-device consistency; the mobile and web coverage mentioned in public materials belongs here. The orchestration plane is where proactivity actually lands. The capability plane extends reach into external systems through connectors and plugins (leading solutions in the industry already support thousands of connectors). The execution plane provides isolated runtime environments. The memory plane carries cross-session continuity. The governance plane cuts across all layers.
3. Proactivity Policies: Writing “When to Act” as Testable Rules
The quality of proactive pushes depends on signal-to-noise control in the trigger policy. It helps to split trigger conditions into three types and set thresholds and quiet windows for each:
- Time-driven: daily briefings, periodic reconciliation, weekly report generation;
- Event-driven: application metric breaches, ticket status changes, inventory falling below a safety level;
- Semantic: commitments, deadlines, and to-dos identified from conversations and documents.
An illustrative policy declaration (pseudocode that shows structure only and does not map to any specific product API):
triggers:- id: daily_brieftype: schedulecron: "0 8 * * 1-5"dedup_window: 20h- id: metric_breachtype: eventsource: monitoringcondition: "error_rate > 0.02 for 5m"require_approval: false # read-only notification- id: payment_requesttype: semanticaction: transferrequire_approval: true # mandatory human confirmationallow_auto: false
Three suppression mechanisms must be built in: a deduplication window (the same conclusion is not pushed twice), quiet hours (degrade to a summary at night and outside working hours), and a confidence threshold (low-confidence results are surfaced as hints only, not executed). Without these three, users quickly turn off notifications for a proactive agent and the product value drops to zero.
4. Permission Model: Tiered Authorization and Red-Line Isolation
The biggest risk of a resident agent comes from write operations performed unattended. A practical approach is to divide actions into four levels and bind each to an authorization strength:
| Level | Example actions | Authorization requirement |
|---|---|---|
| L0 read-only | Query, summarize, generate drafts | No confirmation |
| L1 reversible write | Create docs, create boards, edit schedule drafts | Reversible afterward, recorded in audit |
| L2 irreversible external | Send messages, make payments, sign documents, delete data | Per-action human approval |
| L3 high-risk financial | Securities trading, transfers between accounts | Always prohibited from automatic execution |
The safety boundaries stated in public materials align closely with this tiering: sending messages, payments, signing, and deletion all require per-action user approval, while securities trading and transfers between accounts are not supported even with authorization. This dual design of a capability whitelist plus a blacklist fallback is more reliable than relying on model judgment alone, because it turns unacceptable risk from a probability problem into an architectural constraint.
Implementation points include: approval tokens that are single-use and bound to a digest of the specific parameters (to prevent tampering and replay after approval); all write operations passing through an idempotency key to avoid duplicate orders on retry; and high-risk actions routed through a separate approval channel rather than mixed in with ordinary notifications.
5. Isolated Execution: Why a Separate Browser VM Is a Hard Requirement
Agents need to visit web pages, fill in forms, and move data across systems, which naturally introduces untrusted input. If page content contains a prompt injection, the model can be induced to take unauthorized actions. The execution environment therefore has to meet these conditions:
- Separate instances: each session or task uses its own browser virtual machine, destroyed when the task ends;
- Least-privilege networking: outbound access goes through a whitelist proxy, with internal networks and metadata addresses denied by default;
- No persistent credentials: credentials within a session are short-lived and revoked when the task ends;
- Full traceability: page snapshots, request logs, and action sequences are written to a logging service for audit and replay.
Code and data processing follow the same logic: run them in containerized sandboxes, decouple long tasks with a message queue, store intermediate artifacts in object storage, and use monitoring and alerting to trip the circuit breaker on anomalous call chains in real time.
6. Memory and Skills: The Source of Continuity and an Entry Point for Contamination
Cross-session memory lets an agent “know” the user, but it also lets errors become entrenched. A three-tier memory structure is recommended: short-term session context, task-level working memory, and long-term preference memory. Writing to long-term memory should require explicit conditions (user confirmation or high-confidence repetition) and should support viewing, editing, and one-click clearing.
Skills (reusable workflows) should be version-controlled and reviewed and rolled back like code. Connector authorization should follow the least-scope principle, with tokens split by data domain so that a single token cannot reach every system.
7. Evaluation and Launch: Proving It Is Actually Useful
Before launch, build three evaluation sets: a task completion set (whether results are delivered end to end), a proactivity quality set (accuracy of reminding when it should and staying silent when it should not), and a security red-team set (adversarial samples such as prompt injection, privilege escalation inducement, and duplicate payments). For the canary stage, proceed in the order of read-only first, single-tenant pilot, then gradually opening write permissions, and keep a manual rollback entry for every automated action.
It is worth stating plainly that such products still have clear shortcomings today: they perform poorly on everyday errands like booking tickets, and they can misread conversation content or misjudge urgency. That makes the reasonable product form at this stage a copilot plus approval gates, rather than full autonomy.
8. Conclusion
The competitive focus for always-on agents has moved from model capability to engineering governance: whoever can turn proactivity into a configurable policy, permissions into architectural constraints, execution into isolated sandboxes, and audit into a default capability will be able to run in real business environments over the long term. For teams that want to build similar capability in their own environment, a foundation can be built on common cloud capabilities such as container platforms, message queues, object storage, logging, and monitoring and alerting, validating value in read-only scenarios first and then gradually opening controlled write operations.
