For most of 2025, a long-running agent had nowhere good to live. A web request dies in seconds. A serverless function dies in minutes. An agent that opens a browser, calls three tools, waits for a human to approve a refund, and finishes the job tomorrow morning fits none of that — so you built the runtime yourself: a container that never sleeps, a queue, a state store, a scheduler, and a lot of glue you didn't want to own.

That gap is the story of this month. Microsoft moved hosted agents in Foundry Agent Service to general availability in early July 2026 — a managed, per-session sandbox that keeps your agent's state and bills you only while it's awake. It's not alone: AWS Bedrock AgentCore went GA last October, Google's Vertex AI Agent Engine has GA sessions and memory, Cloudflare's Durable-Object agents shipped a GA Sandbox SDK in April, and Vercel Sandbox went GA in January. The managed agent runtime is now a category you can buy, not only a thing you assemble.

Here's the whole landscape in one screen, then the one property that should actually decide it.

The runtimes, side by side#

RuntimeIsolationSession limit / idleStatus
Foundry (Microsoft)per-session sandbox, persistent files15-min idle → resume; durable long-run modeGA (Jul 2026)
Bedrock AgentCore (AWS)per-session microVMup to 8 hours; 15-min idleGA (Oct 2025)
Vertex Agent Engine (Google)managed sessions + memory bankmanagedGA
Cloudflare Agentsone durable instance per namepersistent + durable executionSandbox GA (Apr 2026)
Self-host (container/K8s)whatever you buildwhatever you buildalways

The rows look different, but notice what they share: every one gives an agent session its own isolated compute, memory, and filesystem, and bills scale-to-zero — nothing while the session sleeps. That shared shape is the tell. It's the industry agreeing on what an agent runtime is.

The property that bills you: session isolation and duration#

Ignore the logos for a second. The number that decides fit is how long a single session stays alive and how much state it carries between steps.

A managed runtime is built for a workload that is bursty, mostly idle, and occasionally very long — which is exactly what a real agent is. It sits at zero cost, wakes when a user or a schedule pokes it, holds a browser and a working directory and a half-finished plan in memory, maybe pauses for a human approval, and resumes. The runtime's job is to make that session cheap when asleep and instantly warm when poked.

The limits are where they differ, and where you should look first:

If your agent's real unit of work is "run for a few minutes, then sleep for a day," these are the differences that matter — not the marketing. (How the agent waits on that long external call is its own decision — poll, don't rely on a webhook, because an ephemeral session has no inbound endpoint to be called back on.)

The managed agent runtime is the first piece of AI infrastructure that a solo founder can rent instead of build. The thing you stop owning — per-session isolation, state, autoscaling, idle billing — is precisely the thing that used to take a week to get right and a month to make reliable.

Framework lock-in vs runtime lock-in#

A fair worry: does renting the runtime chain you to a vendor's agent framework? On Foundry, no. The runtime is framework-agnostic — Microsoft's overview lists Microsoft Agent Framework, LangGraph, the OpenAI Agents SDK, the Anthropic Agent SDK, the GitHub Copilot SDK, or your own code, behind an OpenAI-compatible Responses protocol.

But be precise about where the lock actually is. You can write the agent in a portable framework and still be tied to the runtime and identity layer — Entra Agent ID on Foundry, IAM on AWS, a region list, a networking model. Leaving later means re-hosting, even if you never rewrite the agent's logic. That's the real switching cost, and it's smaller than a framework rewrite but not zero.

The decision#

Don't pick on the brand. Pick on the session.

The quiet significance isn't that Microsoft shipped one more service. It's that "where does my agent run" stopped being an architecture project and became a line item — and for the solo builder, a line item you can afford is the difference between an agent that ships and one that stays a demo. Model the bill on peak concurrent active sessions, confirm the per-vCPU rate on the live pricing page, and rent the runtime you were about to build.