Agent-generated and untrusted code needs VM-level isolation. Wiring that by hand under a long-running workflow usually means owning launch, resume, tokens, retries, and cleanup yourself.
AWS announced on November 25, 2026 a developer preview extension that orchestrates Lambda MicroVMs with Lambda durable functions. Durable functions already support multi-step apps and AI workflows for up to one year with checkpointing and automatic retries. Lambda MicroVMs are a serverless compute primitive with VM-level isolation, near-instant launch/resume, and state preservation for user- or AI-generated code. The extension adds durable operations to run work on MicroVMs and manage lifecycle: run individual tasks in a MicroVM or open a session where tasks share files and memory; the durable function checkpoints progress, retries failures, and refreshes MicroVM tokens. One durable function can orchestrate multiple MicroVMs in parallel, triggered from SQS or EventBridge. An optional worker library inside the MicroVM image receives tasks, heartbeats, and reports results. SDKs: Durable Execution for TypeScript and Python, plus matching MicroVM worker libraries. Preview — not for production; available where durable functions and MicroVMs are offered.
What platform owners should prototype before scaling agent code execution:
- Prefer durable MicroVM sessions for multi-step agent/CI work that must keep filesystem state across tasks
- Trigger factories and scanners from SQS/EventBridge into one durable orchestrator instead of custom VM fleets
- Keep preview workloads non-production until the extension exits preview
Agent sandboxes fail when orchestration is duct tape. Durable Lambda MicroVM ops are how isolated execution joins the same checkpoint/retry model as long AI workflows.