Infrastructure

Why AI Agents Are Reviving the VM-vs-Container Question

CNCF research says VMs host 53% of production applications on average and AI agents are adding to virtualization demand. Here's how to weigh isolation, cost, and operations without treating it as a mandate.

A glowing sphere sealed inside a translucent violet cube beside lighter shared frames, joined by a branching arc of light in a dark space.

Virtual machines host an average of 53% of production applications, according to research from the Cloud Native Computing Foundation and Linux Foundation Research. The source also says AI and agentic workloads are adding to virtualization demand, particularly where stronger execution isolation matters 1. That's a reason for platform teams to re-examine the VM-versus-container decision for AI workloads — not proof that every AI workload belongs in a VM.

The finding is a useful signal, and an incomplete one. The source excerpt doesn't explain how the 53% figure was calculated, define the isolation properties it refers to, or compare VMs with containers on security, performance, or cost 1. Those comparisons are left to the teams running the workloads.

What the research actually establishes

The 53% figure is an average share of production applications hosted on VMs — not a benchmark of VM performance, security, or cost. The source excerpt also reports rising demand for virtualization from AI and agentic workloads, especially where stronger execution isolation is required 1.

That's the full extent of the evidence in the excerpt. It doesn't say which organizations or applications contributed to the average, how many workloads are driving the added demand, or what "stronger" isolation means in practice 1. It doesn't recommend VMs for every AI deployment, and it provides no head-to-head comparison with containers.

Analysis: treat the finding as a prompt to reassess execution boundaries, not as a platform standard. The useful question isn't "should AI run on VMs?" It's "what can this workload do, what could go wrong, and which execution boundary gives an acceptable balance of risk and operational cost?"

VM isolation for AI agents is a design question

An AI service might do nothing but return model-generated text. An agent, depending on how it's built, might also pick tools, run code, read files, call internal services, or act over multiple steps. None of that is universal — it's a checklist to run against the specific workload in front of you.

The distinction matters because the execution environment may hold more than a model endpoint: credentials, internal network paths, temporary files, customer data. Analysis: if a prompt, dependency, tool, or generated program is untrusted, ask what it could reach or change if the process running it were compromised. That answer sets the isolation requirement, not the label "agent." For a related look at limits placed on agent execution, see OpenAI's Codex sandbox and its filesystem and network limits.

Name the boundary that actually needs protecting before picking a technology:

  • The model-serving process or the tool that executes code
  • One customer's workload versus another's
  • Credentials and access tokens
  • Network paths to internal services
  • Files, temporary storage, and mounted data
  • The host and its management plane

These are design questions, not findings from the research. The source excerpt cites stronger execution isolation as a driver of virtualization demand but defines neither a threat model nor a specific boundary 1.

Containers vs virtual machines for AI: what to compare

The source excerpt provides no comparative measurements for VMs and containers 1. A useful evaluation runs both designs against the same workload and policy requirements instead of assuming one is inherently faster or safer.

Evaluation area Questions to answer
Isolation boundary Which kernels, runtimes, storage, networks, and management components are shared?
Startup and recovery How fast can an environment be created, stopped, and replaced?
Capacity What's the effect on memory use, scheduling, and workload density?
Devices Can the workload reach its accelerators, and how is that access controlled?
Operations How are environments patched, observed, debugged, and investigated after an incident?

Analysis: containers may fit workloads whose trust model already aligns with the container platform's host boundary. VMs are worth evaluating when a workload needs its own guest OS boundary, or when teams want a second separation layer around higher-risk execution. Neither label, on its own, proves a workload is adequately protected.

Added separation has a cost. It can change startup time, resource use, debuggability, scheduling, or accelerator handling — effects to measure in your own environment, not numbers supplied by the source excerpt 1. A design that looks more isolated on paper is a poor choice if your team can't patch it reliably, observe failures in it, or respond to incidents fast enough.

Which AI workloads deserve a closer look

Classify by capability and access, not by whether a workload happens to use AI. Analysis: the following are starting points for review, not categories defined in the source excerpt:

  • Multi-tenant inference — how is one customer's request and data kept separate from another's?
  • Code execution — can generated or user-supplied programs run, and with what access?
  • Browser or file automation — can an agent touch external content or stored data?
  • Retrieval pipelines handling sensitive information
  • Agents with reach into internal services or credentials

For each, ask: What's trusted? What's user-controlled? Which credentials are reachable? Which network paths are open? How fast must the environment be created and destroyed?

The source excerpt reports rising demand for virtualization from AI and agentic workloads without identifying which workload types it means or how they were defined 1. That gap makes local classification necessary. "Agent" isn't a risk category by itself — the tools it can invoke and the resources it can reach are what set the boundary. Credential exposure is one such resource; secrets at risk in agent settings files is a concrete example of why to inventory what an agent can read.

What to ask providers about isolation

"Isolated" isn't a specification. Ask for architecture documentation covering the guest and host kernels, the hypervisor or runtime, networking, storage, identity, and the management plane.

Then ask for the threat model:

  • Which attacker capabilities were considered?
  • Which components or boundaries remain shared?
  • What escape or breakout assumptions does the design rely on?
  • What adversarial testing has been done, and what did it cover?

Ask for operational evidence too: how images are built and signed, how host and guest patches are coordinated, how credentials are scoped, how network egress is restricted, and what forensic data is retained for investigating an incident.

These are diligence questions, not claims about any specific product. The source excerpt establishes a demand signal — it doesn't supply architecture details, security assessments, patch timelines, or test results 1. Get those directly from the vendor or your own team rather than inferring them from the excerpt.

What to measure before choosing an AI infrastructure design

Run the same representative workload and policy tests across your shortlisted designs.

Performance and operations:

  • Startup and environment distribution time
  • Sustained throughput and tail latency
  • Memory overhead, scheduling behavior, accelerator utilization
  • Recovery time after failure
  • Effect on developer workflow and incident response

Security-relevant behavior:

  • Does network policy actually block prohibited paths?
  • Does filesystem exposure match the intended boundary?
  • How are credentials accessed, and by what?
  • Do tenants stay separated under load?
  • How fast can an environment be revoked or rebuilt?

The goal isn't a single universal score. It's finding where added separation changes capacity, cost, or operating effort — and whether the workload's risk justifies that change. The source excerpt reports no comparative test results for VMs and containers 1.

Don't treat the 53% figure as a deployment target. It shows VMs host a substantial share of production applications; it doesn't show that any particular AI workload benefits from running on one 1. Your own tests and a documented threat model should make that call.

Turning the signal into a decision

Start with a workload classification that records trust boundaries, tool access, data sensitivity, tenancy, accelerator needs, and recovery objectives. Map those needs to an execution design and write down why it fits.

Analysis: use containers where the measured risk and trust model already match the existing platform boundary. Evaluate VMs, or a layered design, where the required separation can't be justified by container controls alone. A mixed platform may be worth evaluating — for example, one execution model for model serving and lower-risk services, and another for higher-risk agent actions. Google's Agent Compute Engine, which places agent execution in isolated microVMs, is one example of the second kind of design to study.

Make exceptions reviewable. Record the assumptions behind each decision and what would trigger a reassessment — expanded tool access, new credentials, a new path to internal services. That gives the platform team a concrete reason to revisit the boundary as a workload evolves, instead of relying on a label that was accurate six months ago.

The research makes VM isolation worth revisiting: VMs host an average of 53% of production applications, and AI and agentic workloads are adding to virtualization demand 1. It doesn't settle the containers-versus-VMs question. That still requires evidence about the isolation boundary, the operational trade-offs, and how each design behaves under your actual workload.

Common questions

Do AI workloads require virtual machines instead of containers? No. The source reports added demand for virtualization where stronger execution isolation is needed, but it doesn't recommend VMs for every AI workload or compare them with containers 1.

What does the 53% VM figure mean? It's the reported average share of production applications hosted on virtual machines. The source excerpt doesn't explain the sample, the calculation method, or how the figure varies by workload or organization 1.

Are virtual machines more secure than containers for AI agents? The source names stronger execution isolation as a factor in virtualization demand but doesn't define a threat model or claim VMs are always more secure 1. Ask vendors for architecture, threat-model, testing, and operational evidence before assuming either way.

What should teams test before deploying AI agents on VMs? Isolation behavior, credential and network boundaries, startup and recovery time, resource use, accelerator access, observability, patching, and incident response. These are recommended evaluation areas — the source itself reports no comparative test results 1.

How common are virtual machines in production applications? The CNCF and Linux Foundation Research finding reported by InfoQ says VMs host an average of 53% of production applications 1.

Sources

1 "CNCF Research Shows Virtual Machines Remain Central as AI Workloads Evolve," InfoQ AI, ML & Data Engineering, Nov. 24, 2026. https://www.infoq.com/news/2026/11/cncf-vm-ai-workloads/

Questions

Do AI workloads require virtual machines instead of containers?
No. The research reports that AI and agentic workloads are increasing demand for virtualization where stronger execution isolation is needed, but it does not recommend VMs for every AI workload or compare them with containers [1].
What does the 53% VM figure mean?
The research reports that virtual machines host an average of 53% of production applications [1]. The supplied source does not explain the sample, calculation method, or whether the figure varies by workload or organization.
Are virtual machines more secure than containers for AI agents?
The source says stronger execution isolation is contributing to virtualization demand, but it does not define the threat model or establish that VMs are always more secure. Buyers should request architecture, threat-model, testing, and operational evidence [1].
What should teams test before deploying AI agents on VMs?
Test isolation behavior, credential and network boundaries, startup and recovery characteristics, resource overhead, accelerator use, observability, patching, and incident response. These are recommended evaluation areas; the supplied research reports no comparative test results [1].
How common are virtual machines in production applications?
The CNCF and Linux Foundation Research finding reported by InfoQ says VMs host an average of 53% of production applications [1].

Sources

  1. CNCF Research Shows Virtual Machines Remain Central as AI Workloads Evolve · InfoQ AI, ML & Data Engineering · Nov 24, 2026

How this article was made: an AI writer persona researched and wrote it from the sources listed above; separate AI passes edited it, checked its claims against those sources and audited it; it was published after passing automated editorial checks, without an individual editor's approval. How the Yelno blog works · Follow Yelno on LinkedIn