Frameworks

DigitalOcean Introduces MicroVMs to Power Secure and Scalable AI Agent Infrastructure

AI agents run code in bursts and then wait. DigitalOcean MicroVMs give each session its own isolated VM that pauses when idle and resumes with its state intact.

DigitalOcean MicroVMs for secure and scalable AI agent infrastructure
DigitalOcean MicroVMs give each AI agent session its own isolated, pausable virtual machine.

DigitalOcean has introduced MicroVMs in private preview. They are isolated virtual machines that pause when idle and resume exactly where they left off.

A virtual machine (VM) is a computer that runs as software. A MicroVM is a very light one. DigitalOcean says it is meant for AI agents and other jobs that need fast, safe, throwaway computers.

Why AI agents need a different kind of computer

An AI agent uses computing power in an unusual way. In one session it may write and run code, call a model, and then wait for a tool or a person. It needs real power in short bursts, and a strong wall around the code it just wrote, so one agent's mistake cannot reach the host or other customers.

The same pattern shows up in other work too:

  • Sandboxes for untrusted or generated code.
  • Per-user environments that you create on demand and throw away.
  • Short jobs such as CI/CD runners and preview environments.

Why old options fall short

  • Always-on servers: you pay for idle time when work happens only a few minutes an hour.
  • Containers: they start fast and pack tightly, but they share a kernel with neighbors. DigitalOcean says that is more trust than you want to give to code an agent just wrote. The kernel is the core part of an operating system.
  • Doing it yourself: you can add pausing, snapshots, fast starts, and isolation, but that means running your own virtualization platform.

What are DigitalOcean MicroVMs?

A MicroVM runs your container image in its own VM, with its own kernel, isolated from other workloads on the host. You bring a public or private image from DigitalOcean Container Registry, choose a size, and reach the workload through an authenticated HTTPS endpoint.

They run on the open-source Firecracker technology. That gives each VM a real hardware-based wall instead of a shared kernel.

Pause when idle, resume where you left off

A MicroVM pauses by itself after a timeout you set. On the next request, it resumes with its memory, files, and running processes exactly as they were. It uses compute only while it is running.

Checkpoints skip the setup cost

Boot a MicroVM once and let it load its runtime, tools, and models. Then save a checkpoint of that warmed-up state. New MicroVMs can start from it, so you do not rebuild the setup every time.

DigitalOcean describes it as a disposable machine: it starts fast, keeps state across a pause, and shuts down cleanly when the session ends. DigitalOcean runs the fleet, the isolation, and the life cycle.

Where MicroVMs fit

  • Coding and eval workspaces: a hardware-isolated MicroVM for each task, where an agent writes, runs, and tests code, then discards the environment.
  • Long-running agent workflows: jobs that last hours, pause while waiting for a model or a person, then resume.
  • Parallel reinforcement learning: many identical environments side by side, reset in under a second for the next episode.
  • Throwaway data: a temporary Postgres or scratch store per agent. Writes survive a pause and are cleared when the session ends.
  • Per-tenant tools and MCP servers: each customer's tools run in their own VM, so one tenant cannot reach another. MCP is a standard way for AI agents to use tools.
  • Untrusted or generated code: plugin sandboxes, security analysis, and evaluation jobs, each in its own VM.
  • Short-lived jobs: CI/CD runners, pull request previews, and ETL steps that run, finish, and stop.

The common idea is many isolated environments that start on demand, work in bursts, and are cheap to throw away.

Already powering Managed Agents

DigitalOcean says MicroVMs already run every agent session in DigitalOcean Managed Agents, which is in public preview. Its Harness Runtime uses MicroVMs to isolate agent-written code, pause a session the moment it goes idle, and resume it in under a second with files and state intact.

DigitalOcean names OpenHands, Qencode, and Amplitude as teams building on Managed Agents.

Managed Agents or MicroVMs?

  • Managed Agents: a hosted platform. You bring an agent, and DigitalOcean runs the runtime, tool access, and scaling.
  • MicroVMs: the layer underneath, for teams that want to build and control their own execution layer, agent platform, sandbox product, or code-execution service.

How to get access

MicroVMs are in an invite-only private preview. You request access from DigitalOcean. Check the DigitalOcean documentation for the latest details, since the company has not shared pricing in this announcement.

What It Means for Developers

MicroVMs matter most to people who build agent platforms or run untrusted code, but the ideas help anyone using AI agents.

What It Means for Backend Developers

  • Each user or agent session can get its own isolated environment, which helps keep customer data apart.
  • Pause and resume means long jobs do not need an always-on server, and state survives a pause.
  • Checkpoints can cut start-up time because you reuse a warmed-up environment.
  • Access is by invitation, so plan for a wait and check pricing before you design around it.

What It Means for DevOps Engineers

  • A managed VM layer means you do not have to build your own virtualization platform for sandboxes.
  • CI/CD runners and pull request previews can run in short-lived VMs that stop when finished.
  • Because each MicroVM has its own kernel, the security boundary is stronger than a container sharing a kernel with its neighbors.
  • For another agent-focused infrastructure launch, see our story on Cloudflare's Kitesurf browser engine for AI agents.

What It Means for Software Developers

  • Coding agents that run and test their own code can do it inside a throwaway VM instead of your machine or a shared host.
  • Agents that run for hours can wait for a model or a person without losing their place.
  • Costs matter for agents too. Read our story on Amazon Bedrock smart routing for one way to control model spending.

Bottom line

DigitalOcean MicroVMs offer isolated, pausable, disposable VMs for AI agents and other bursty work. They are built on Firecracker and already power DigitalOcean's own Managed Agents.

They are still in invite-only preview, so treat the details as early. If you build agent platforms, it is worth requesting access.

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author