Designing AI Agents

Noisy Neighbor Failures When Thousands of Persistent Agents Share a Tenant Plane

Request quotas can work perfectly while idle agents still starve their neighbors.

· 8 min read
Cover illustration for “Noisy Neighbor Failures When Thousands of Persistent Agents Share a Tenant Plane”
Per-User Agent Patterns · November 30, 2026 · 8 min read · 1,824 words

To run persistent AI agents at scale for each user, teams need to isolate each agent’s execution environment as well as limit its API calls. Thousands of agents that share a tenant plane can interfere with one another through the resources they hold between tasks, even when request quotas work correctly. The design that follows is a microVM per agent, persistent state within its boundary, suspension during idle time, and separate controls for shared inference and context.

Why persistent agents violate the assumptions that classical multi-tenant isolation was built on

Resource use per request is bounded and roughly predictable. A database query takes milliseconds, a web request consumes a fraction of a CPU-second, and request rates provide a basis for capacity planning. The request is a reasonable unit for measuring and controlling the work.

With a persistent agent, the resources it uses are no longer tied to its requests. Its session may hold GPU KV-cache, file handles, memory, and open network connections for minutes or hours between tasks. The request ends, but the resource use does not. Quota tools, schedulers, and rate limiters inherited from web services and databases reason about requests and leave this ongoing occupancy unaccounted for.

The four interference patterns that emerge when thousands of persistent agents share a tenant plane

CPU contention is the first pattern. Agents use resources in bursts when they act, then go idle, so their demand varies and has no reliable schedule. Linux CFS and Kubernetes ResourceQuotas reason about sustained consumption and do not contain this unpredictable burst pattern. Schiavo et al.’s Causal Inference for Quantifying Noisy Neighbor Effects in Multi-Tenant Cloud Environments shows that CPU, memory, disk, and network contention each have their own pattern of slowdowns.

Memory pressure develops across calls. A long-lived agent accumulates a working set as it uses tools, displacing other tenants’ pages on a shared host without an explicit allocation event the orchestrator can intercept. I/O spikes have a different shape. Reading or writing code repos, document corpora, and desktop screenshots makes storage busy in bursts. The same study found degradations exceeding 50 percent in critical Kubernetes testbed scenarios, with statistically massive effect sizes, although those findings cover contention vectors generally.

KV-cache eviction is the fourth pattern, inside inference itself. One agent’s long-context session can evict another tenant’s cached context from GPU memory, forcing recomputation and increasing time-to-first-token for users sharing the model instance. The application need not allocate more memory on its own host for this interference to occur. Its neighbor’s context is competing somewhere else. Because the work starts in one place and contention happens in another, ordinary monitoring also struggles to explain the slowdown.

Diagram: Four Interference Patterns in Shared Tenant Planes. Visualizes: Show four distinct interference patterns that emerge when thousands of persistent agents share a tenant plane.

Why standard monitoring misses these failures until they have already cascaded

Per-request health signals do not describe shared occupancy over time. Both p50 latency and GPU utilization can look healthy while p95 latency has degraded. The model is busy, so its utilization reading is accurate. But that reading cannot say whose session is consuming resources at another session’s expense.

When two teams share an API key’s rate limit or a host’s memory, the victim’s logs show the 429s, stalls, or evictions. The cause is in another team’s codebase and falls to another on-call rotation. The team handling the symptom cannot tell from that symptom alone which workload caused it. Seeing a failure is not the same as locating its cause.

Causal attribution is the missing link between an alert and a targeted response. Schiavo et al. argue for moving beyond anomaly detection and demonstrate that Granger causality analysis can establish directional influence statistically. The practical distinction is straightforward. Detection says that one tenant slowed down, while attribution connects that slowdown to a particular neighbor’s activity. Without that connection, operators fall back on steps such as VM migration that respond to the slowdown but leave its source of contention in place.

Why request-rate and token-budget quotas do not contain persistent agents even when correctly implemented

Tokens-per-minute budgets and request-rate limits set how fast new work can come in. They do not reclaim resources a running session already holds. An agent can pass admission fairly, then retain a large working set for an hour after the gateway has counted its request and moved on. The quota can be correct and still miss the problem. Admission and occupancy are different things to control.

Kubernetes ResourceQuotas leave a further gap below the orchestrator. CPU caches, memory controllers, and I/O controllers are shared hardware resources that those quotas do not fully govern. The causal inference study explicitly identifies contention beyond the orchestrator’s control. At the other end of the stack, shared model API limits are scoped to an organization and project, or workspace, leaving individual agents and tasks without their own limits. Background agents can therefore starve interactive agents on the same account without either group having a guaranteed floor.

Retries can reconstruct the overload even after limits reject work. When hundreds of agents reach a shared limit together, naive exponential backoff can synchronize their next attempts. Jitter is required to break that synchronization, but agent job code rarely treats it as the default. The result completes the trap. Monitoring may not identify the responsible neighbor, and correctly enforced quotas still cannot govern all the resources that neighbor holds.

How do you isolate thousands of agents that remember context between sessions?

For persistent agents, the unit of isolation must be the machine running the agent. Inference, retrieval and context, and compute execution all need isolation at the same time. If one layer is shared and lacks the controls it needs, it leaves room for interference or cross-tenant exposure.

At the inference layer, shared model instances with per-tenant token budgets work in most cases, but context occupancy needs fairness rules of its own. A GPU that serves 50 concurrent short-context users can be fully saturated by two users running extended research workflows. Scheduler-enforced fairness or dedicated instances for high-value tenants address that imbalance. At the context layer, vector indexes and session state need per-tenant namespaces. Semantic search is approximate enough that a misconfigured filter, rather than a breach, can return another tenant’s results.

Compute isolation must cover the agent’s process, file system, memory, and network throughout the task, including the gaps between requests. Shared-kernel containers are insufficient when agents execute untrusted or LLM-generated code. A container escape is categorically easier than a VM escape, and a compromised container can expose the entire shared host. A microVM per agent supplies hardware-enforced boundaries for memory, CPU, disk, and network, with agent state kept inside that boundary between tasks.

How the snapshot-suspend pattern resolves the economic objection to per-agent microVM isolation

A dedicated VM sounds expensive when an agent spends most of its life waiting. If every agent is billed for the full time it exists, idle capacity becomes the central objection to per-agent isolation. Yet agents spend much of their time waiting for a user or a model response. They need their state to survive that wait. They do not necessarily need active execution resources throughout it.

Snapshot-suspend meets both needs by suspending idle environments and bringing them back when needed. The goal is to pay for parallel sandbox resources while allowing more sandboxes to exist concurrently in suspended form. A persistent agent no longer has to mean a continuously running machine. Costs then depend on whether an agent is running or only keeping its state, as well as whether its execution environment is dedicated or shared. Billing must follow that distinction for the pattern to save money as intended.

Google described this architecture for its Agent Compute Engine on October 22, 2026. Every AI agent session gets its own microVM, checkpointed while the model thinks and cloned copy-on-write from warm snapshots. The microVM has no network card. Google’s example shows that per-session isolation and checkpointing can work together at production scale, with dedicated environments that also keep idle costs down.

Diagram: Snapshot-Suspend: Pay Only for Active Execution. Visualizes: Illustrate the snapshot-suspend lifecycle of a per-agent microVM: the agent runs (metered, paying per second of active execution), is suspended to a snapshot while idle or…

What correct per-agent isolation looks like in practice across Linux, Windows, and Android workloads

Agent execution is not limited to Linux coding tools. Computer-use agents work with desktop applications, while mobile automation needs Android environments. OSWorld, WindowsAgentArena, and AndroidWorld reflect that range in the standard cross-OS benchmark suite. The operating system is part of the workload. For tasks involving electronic health record or virtual desktop applications, for example, a Linux-only isolation substrate does not cover the required desktop environment.

An RL training run wants thousands of parallel rollouts, each in its own environment. A multi-agent swarm needs a desktop for each agent, while an evaluation pipeline needs to try each task in its own environment, with no shared state between attempts. These are distinct uses of concurrency, but each requires separation between executions. Shared-kernel infrastructure does not provide the hard boundaries those workloads require at that density.

Alibaba’s rollout infrastructure for Qwen-CUA required capacity for tens of thousands of concurrent computer-use environments. It parallelized provisioning, task dispatch, agent-environment interaction, outcome verification, and trajectory logging. This is evidence that the per-environment model can scale when the underlying infrastructure supports it. It is not evidence that one operating system fits every task. The isolation boundary has to follow the environment the agent actually uses, rather than force every workload into a Linux container model.

The design checklist that follows from understanding these failure modes

Compute isolation needs a hardware-enforced execution boundary for each agent that lasts for the whole task, including the time between requests. Idle-cost management calls for suspending waiting agents to snapshots so they stop running while they wait. The billing requirement is equally concrete. It should charge per second of active execution, with no charge for suspended state.

Admission controls should enforce token budgets and rate limits before dispatch, with limits scoped to the individual agent or task as well as the shared organization account. Those controls manage how background and interactive work compete, but leave resources already held by an admitted session in place. Retry behavior needs jitter to avoid synchronized return traffic. Inference scheduling also needs fairness for long-context sessions, while retrieval indexes and session state need tenant namespaces.

Causal observability requires tenant context where the work actually runs. Trace, metric, and log pipelines need that context injected at the execution layer so reports of aggregate anomalies can attribute a slowdown to a specific agent or tenant. OS coverage should match the tasks. Teams using legacy desktop or mobile applications need Windows and Android environments as well as Linux. For untrusted code, the requirement is a disposable sandbox dedicated to one tenant and task and deleted with its disk at task completion.

Human access belongs in the design from the start. An operator should be able to connect to an agent’s desktop mid-task for review or intervention without breaking isolation for other tenants. Persistence makes that access especially relevant because work can continue beyond the request that began it. A system that isolates autonomous execution but cannot admit a human safely has left out a necessary control.

Sources

  1. Causal Inference for Quantifying Noisy Neighbor Effects in Multi-Tenant Cloud Environments

More in Per-User Agent Patterns