State Boundary Enforcement as a First-Class Platform Primitive for Computer-Use Agent Fleets
Agent fleets need hardware-isolated, snapshot-resumable state boundaries.

Per-user persistent AI agent deployment at scale requires a platform that gives each customer an isolated execution environment, preserves context between sessions, and suspends idle compute. For computer-use agents, that boundary must cover execution, files, network access, credentials, and GUI state. Hardware isolation, snapshot-based resume, and fleet-wide lifecycle controls belong in the platform from the start.
Why the state boundary is an infrastructure problem, not a policy problem
An agent running as the user can reach the user's shell, filesystem, and credentials. Nothing separates its decision from the shell's execution. The failure does not require a sophisticated exploit. An ordinary command can change files or use access that the task never required, because the environment gives the agent that authority.
Computer-use agents also leave more behind than stateless API calls do. They keep browser sessions and authenticated applications open, processes running, and credentials in memory. That state can survive the task that created it. OWASP's LLM Top 10 names authority beyond what an agent's work requires Excessive Agency in LLM06:2025.
Prompting cannot put a boundary around those resources. Permissions policies need enforcement in the system that executes the work. The design starts with zero trust, so each agent action needs explicit permission and generated code must be treated as code that could be malicious. The platform must set the bounds of each agent's state before execution starts.
What the state boundary actually contains: the five surfaces that must be isolated
Code execution is the first surface, because agents generate and run code that cannot be reviewed before every action. That code can delete files, install packages that are malicious, or open outbound connections. The filesystem is the second surface. Documents, downloads, and shell operations write persistent state that can outlast a task and leak across instances when storage is shared.
Network egress is the third surface, governed by an allowlist. An agent with API keys and open outbound access can forward data or consume cloud billing limits. Credentials are the fourth surface and need protection of their own. Secrets belong outside the sandbox, with a proxy injecting them only for allowlisted destinations, because readable environment variables are also readable by agent-generated code.
GUI state is the fifth surface and covers more than files. It includes open windows, authenticated browser sessions, terminal history, and the state that applications keep in memory. A clean directory does not mean a clean desktop. A complete boundary has to cover all five surfaces, including the live state that ordinary VM and container isolation tools were not designed to version at runtime.

Why shared-kernel containers are the wrong isolation primitive for this problem
Standard Docker containers share the host kernel. Namespaces and cgroups separate and constrain processes, but they do not put a separate kernel between untrusted code and the host. That shared kernel is the structural gap. A kernel vulnerability or misconfiguration can allow a container escape, exposing the host and other workloads.
Containers face a different set of risks when the code is trusted and vetted and runs in a single-tenant environment. Multi-tenant agents execute code produced autonomously, so the platform cannot assume that trust. Even with more process-level configuration, containers still depend on the shared kernel. The objection is that their boundary stops short of the threat posed by arbitrary agent-generated code.
gVisor narrows this gap by intercepting system calls in user space before they reach the host kernel. It materially reduces the exposed kernel surface. That makes it a middle tier for compute-heavy agents where full VM isolation is not justified, while I/O-heavy workloads face a performance penalty. It does not replace hardware isolation in the highest-risk deployments.
MicroVMs as the hardware-enforced boundary: what Firecracker actually provides
Firecracker gives each workload a dedicated guest kernel inside KVM. Reaching the host requires crossing both the guest-kernel boundary and the hypervisor boundary, rather than exploiting a kernel shared directly with other tenants. This changes the escape path. It gives multi-tenant agents a base on which to run, while the platform still has to manage network policy, secret handling, and GUI-state controls.
Kata Containers provides comparable KVM-based hardware isolation through standard container APIs. That works with container-native orchestration, including in regulated environments. Its attack surface depends on the virtual machine monitor underneath it. Using QEMU rather than Firecracker gives it a larger attack surface, so the container-facing API alone cannot show how the isolation works.
A cold boot takes well under a second, while restoring a pre-booted snapshot takes tens of milliseconds per sandbox. Restore resumes saved CPU and memory state, allowing an environment to continue its session.
Full snapshots capture a complete resumable image of microVM state and memory. Diff snapshots save only memory dirtied since the previous snapshot, reducing the work needed to preserve changing environments. Production resume also has a correctness constraint. Resuming the same live snapshot twice creates divergent execution from identical state, which is hazardous when agents can produce external side effects.
AWS Lambda MicroVMs, announced June 22, 2026, demonstrate the session model in production. Each user or agent session gets a Firecracker microVM that starts from a snapshot, suspends when idle, and resumes with memory and disk intact, subject to a maximum total session duration. Suspended compute stops accruing compute charges. Snapshot storage and read/write charges apply instead, separating the cost of retaining state from the cost of running it.
The forking problem: why per-task isolation is not enough for speculative and exploratory agents
An isolated agent can still choose a poor plan. Long tasks may need agents to try other paths, recover when steps fail along the way, or compare sequences of actions before choosing one. Those capabilities need branching alongside containment. A resumable VM preserves one execution path, while speculative search needs independently runnable versions of the same live workspace.
TClone, described in arXiv:2605.17320 in May 2026, addresses that distinction. It lets a runtime snapshot a live GUI workspace, fork isolated branches, roll back failures, and selectively commit or merge successful branches. Its scope extends beyond a file tree. It versions processes, memory, GUI state, filesystem state, browser sessions, credentials, and other I/O state.
Branch creation has to be fast enough for normal agent work. Stock CRIU and KVM snapshots each take many seconds to clone a single branch, while TClone reduces that to 3.7 seconds. It separates fast branch creation from durable checkpointing, using copy-on-write memory sharing and asynchronous checkpointing. At 16 concurrent clones, its cost grows with what branches change.
TClone reports end-to-end task latency reductions of 1.9× over KVM and 1.5× over CRIU. In those measurements, inference becomes the dominant cost. That makes parallel exploration practical alongside recovery. Controlled branching is therefore a distinct platform operation that requires managing the side effects of repeatedly resuming the same production session.

Scaling the boundary to a fleet: what changes when thousands of agents run concurrently
Provisioning, reset, dispatch, agent–environment interaction, outcome verification, and trajectory logging all need parallel operation. Isolation is only part of the workload. The boundary becomes a fleet primitive when the platform manages these operations together.
The Qwen-CUA team built rollout infrastructure on Alibaba Cloud ECS with access to nearly 100,000 vCPUs for tens of thousands of concurrent computer-use environments. Environment provisioning and reset, rather than model inference, presented the engineering challenge at that scale. NanoRollout separates agent harnesses from environment runtimes behind a shared rollout service. Evaluation, distillation, and training backends use that service as clients, so environment execution can scale on its own.
An ICLR 2026 paper found optimal GPU utilization at roughly 80 concurrent rollouts per GPU in its distributed RL setting. The finding shows why adding model capacity alone cannot clear environment bottlenecks. The fleet boundary needs snapshot-based cold starts, parallel instantiation without state leakage, and cheap teardown with guaranteed disk deletion. Reproducible environment state is also necessary for comparing trajectories and debugging failures.
Regulated industries impose a harder version of the same boundary problem
Loan origination systems, document management systems, and Citrix-virtualized desktops may offer no programmatic interface, leaving GUI automation through an isolated desktop as the integration point. The distinction is not simply old versus new. Epic and Cerner expose extensive FHIR R4 REST APIs, while many other enterprise systems still require interaction through their applications.
Healthcare adds requirements that change the environment specification. These include a model endpoint covered by a healthcare data-protection agreement, PHI minimization before inference, immutable action histories, and human approval for actions affecting care or claims. Those controls need places to operate. A deployment cannot obtain them merely by attaching a compliance checklist to an otherwise unrestricted desktop.
The HIPAA Minimum Necessary Standard also shapes each agent's access scope. An agent's access to a patient record needs to be limited to the specific data fields required for its function. In multi-agent workflows, Attribute-Based Access Control enforces that scope programmatically for each agent. The design must handle tenant isolation and model-endpoint handling because rules in a contract on how data may be used cannot take the place of technical boundaries.
Human takeover as a boundary condition: designing for oversight without destroying isolation
Strong isolation must still let authorized people step in. A long-running agent may reach a desktop state that is hard to interpret, and regulated workflows need approval gates for decisions on care or claims. The operator needs access to the live environment.
The platform must expose a desktop view that an authorized operator can observe and take over. During intervention, the operator temporarily shares the agent's isolated execution context. Other tenants remain outside that boundary. Desktop sharing therefore needs its own access control and a clean transition back out of human control.
This differs from reviewing logs after a task finishes. Takeover happens synchronously in the agent's current GUI state, where the operator can intervene before the workflow proceeds. Audit history serves a separate purpose. Immutable records tied to the original task connect the agent's prior steps and the human approval into a coherent history of the decision.
How do you deploy thousands of persistent agents, one per customer, without rebuilding infrastructure?
A platform built for this job owns the computer boundary. Customers bring their model and keys, while the platform manages execution, isolation, persistence, and network policy. Per-instance hardware isolation and snapshot-based resume let each customer's environment retain context without requiring continuously running compute.
The lifecycle must distinguish persistence from disposal. Idle agents suspend and keep their state, while teardown at the end of a task deletes disk state that is no longer needed. Diff snapshots reduce the cost of preserving changes. The operating model calls for per-second machine billing, no minimums, no idle compute charges for suspended instances, and wake-up in roughly a second, with storage costs distinguished from compute.
Procurement consequently extends beyond whether a platform offers a sandbox. The criteria include isolation model, cold-start and warm-pool behavior, filesystem persistence, network policy, secret handling, image customization, and concurrent capacity. Logs and traces are necessary too. Keeping the fleet operable after deployment requires teardown guarantees and the ability to reproduce failures after an agent changes code or dependencies.
Apps, images, and network configuration must accommodate access scopes, PHI minimization, immutable audit trails, and human takeover. Machine coverage is another architectural requirement. Linux and Windows desktops and Android phones need first-class support where workflows span legacy Windows applications, Citrix environments, and phone-only applications, because a persistent customer agent is useful only if its enforced boundary reaches the computer it actually needs to use.


