THE INDEPENDENT RECORD · AGENTIC AI AS A SERVICE AboutStandardsContact
GAASAGENTIC AI · AS A SERVICE
INDEPENDENT · SINCE 2026
UPDATED DAILY
NO HYPE · NO PAY-TO-PLAY
PER-TASK PRICING NOW STANDARD ● NEW BENCHMARK: 71% TASK COMPLETION ● ENTERPRISE PILOTS UP 4X ● RUNTIME FUNDING ACCELERATES ● "AGENTS ARE THE NEW SEATS" ● MARGINS UNDER PRESSURE ● THE INDEPENDENT RECORD ON GAAS
Infrastructure

The Agent Runtime: Why "Where Agents Run" Is Becoming Its Own Infrastructure Category

An agent runtime is the layer that actually executes an agent's loop: it holds state across steps, calls tools, recovers from crashes, enforces budgets, and survives the hours a real task takes. For years this lived inside application code or got bolted onto a framework. It's now splitting off into its own category, the way the container runtime separated from the app a decade ago. If you sell agents as a service, the runtime is the part that decides whether your margins and your reliability hold up at scale, and it's the layer most teams underestimate until it breaks in production.

By M. Hale · May 27, 2026 · 15 min read

Table of Contents

What an Agent Runtime Actually Is

Strip away the marketing and an agent is a loop. The model proposes an action, something executes that action, the result feeds back in, and the loop runs again until the task is done or the budget is gone. The agent runtime is whatever runs that loop in production: the process, the state store, the scheduler, and the plumbing that connects the model to its tools and keeps the whole thing alive between steps.

That sounds simple, and for a demo it is. You can write the loop in forty lines of Python. The problem is that a serious agent task isn't a single request that returns in two seconds. It might call eleven tools, wait on a human approval, retry a flaky API three times, and run for nine minutes or nine hours. Somewhere in there your container gets recycled, a tool times out, the model returns malformed JSON, and a cost ceiling trips. A request/response web stack has no answer for any of that, because it was built on the assumption that work is short, stateless, and idempotent. Agent work is none of those things.

So the runtime is the answer to a specific question: when an autonomous process has to persist across many model calls, survive infrastructure failures, and stay within a budget, where does it live and what keeps it honest? The category exists because that question turned out to be hard enough to need dedicated tooling rather than glue code.

Why It's Splitting Off From the Framework

Here's the distinction that trips people up. A framework like the ones covered in the agent orchestration framework landscape is about authoring: it gives you abstractions for defining a graph of steps, wiring up tools, and composing prompts. The runtime is about execution: it's what takes that definition and actually runs it reliably at three in the morning when nobody's watching.

For the first wave of agent products these were the same thing. You imported a framework, called .run(), and the framework's in-process loop was your runtime. That works until it doesn't. The breaking point usually arrives the first time a long-running agent dies mid-task and there's no way to resume it, or the first time you need to run ten thousand concurrent agents and discover the framework was never built to be a server. Teams then start pulling the execution concerns out into a separate layer, and once you've done that, you've built a runtime whether you meant to or not.

This is a familiar pattern in infrastructure. Web apps used to embed their own process management until process managers became a category. Containers used to be welded to a single orchestrator until the container runtime got standardized underneath. The runtime separates from the thing it runs because execution has its own set of cross-cutting concerns (durability, isolation, scheduling, observability) that don't belong in application logic and shouldn't be reinvented per project. The architectural pressure pushing the agent runtime apart from the framework is the same pressure, and a16z's writing on the emerging AI agent infrastructure stack tracks this layer hardening into something buyers pay for separately.

The practical takeaway: "which framework" and "which runtime" are becoming two different procurement decisions. Conflating them is how teams end up locked into a framework's execution model long after they've outgrown it. The platform-vs-framework strategic choice deserves to be made deliberately, not inherited by accident.

The Five Jobs a Real Runtime Has to Do

A runtime earns the name by handling five things that the naive forty-line loop ignores.

Durable execution and state

The headline job. When the agent is three tools deep into a workflow and the machine reboots, a real runtime resumes from where it stopped rather than starting over or, worse, leaving a half-finished task in an unknown state. This is the domain of durable execution engines, which checkpoint progress so the agent's loop can be replayed deterministically after a failure. The hard part isn't saving state, it's saving it in a way that side effects (the emails already sent, the records already written) don't get duplicated on replay. Tie this to proper state management for stateful agents and you have the backbone of anything that runs longer than a single request.

Tool calling that doesn't fall over

The runtime is where tool calls actually happen, which makes it responsible for what happens when they fail. A model that asks to call an API doesn't know the API is rate-limited or returning 500s. The runtime does, and it's where tool-calling reliability lives: validating arguments before execution, retrying with backoff, and feeding failures back to the model in a form it can recover from instead of crashing the loop. This is also the integration point for the MCP standard, which standardizes how tools describe themselves so the runtime can invoke them without bespoke wiring per tool.

Isolation and security

An autonomous process running arbitrary tool calls and sometimes executing model-generated code is a security surface, full stop. The runtime is where agent sandboxing belongs: the boundary that keeps a misbehaving or hijacked agent from touching things it shouldn't. This matters double in a GaaS setting, where one runtime may execute agents for many customers and a leak across that boundary is a breach. Identity also lives near here, since the runtime has to act as someone when it calls a tool, which connects to the broader identity-and-auth infrastructure for agents.

Budget and policy enforcement

Every step of the loop spends money on tokens and compute. A runtime that can't see or cap that spend is a runaway bill waiting to happen. The runtime is the natural enforcement point for token budgets, step limits, and policy: stop at $4 of spend, don't exceed 30 tool calls, never call this tool without human sign-off. This is also where human-in-the-loop checkpoints get implemented, because pausing a running agent to wait for approval is fundamentally a runtime capability, not an application one.

Observability

You cannot operate what you cannot see, and an agent's reasoning is opaque by default. The runtime is positioned to emit the trace of every step (which model call, which tool, which result, how many tokens, how long) because it's the only layer that sees all of it. A serious runtime ships this telemetry as a first-class feature, feeding the observability stack for agent infrastructure rather than leaving you to reconstruct what happened from logs after a customer complains.

How This Maps to the GaaS Business Model

For anyone selling agents as a service, the runtime isn't an architecture detail, it's a P&L line. Here's why it deserves more attention than it usually gets.

Per-outcome and per-task pricing only works if your cost per outcome is predictable. The runtime is where that predictability is won or lost. Without budget enforcement, a single hard task can burn ten times its expected token cost and quietly eat the margin on a hundred easy ones. Without durable execution, a crashed long-running task either gets re-run from scratch (double the cost) or fails and triggers a refund (negative margin). The runtime is the layer that converts "we charge per outcome" from a pricing slide into a business that survives contact with real workloads.

Reliability is also a sales argument, not just an engineering nicety. Buyers of agentic services are increasingly asking the questions they'd ask of any vendor: what's your uptime, what happens when a task fails halfway, can you show me what the agent did. Those answers all live in the runtime. McKinsey's research on moving generative AI from pilots to production-grade systems keeps landing on the same point: the gap between a demo and a deployable product is mostly operational, and the runtime is where the operational rubber meets the road.

There's a multi-tenancy angle too. If you run agents for many customers, the runtime is what lets you pack them efficiently onto shared infrastructure without one tenant's runaway agent starving another's. That efficiency is a direct input to your unit economics, which is why the runtime shows up so heavily in any honest accounting of the GaaS infrastructure cost stack.

Build, Buy, or Bolt-On: The Decision Most Teams Get Wrong

Almost everyone starts by bolting execution onto their framework, and for an early product that's correct. Building a durable execution engine, a sandbox, and a budgeting layer before you have customers is a great way to ship nothing. The mistake isn't starting there. The mistake is staying there too long and then trying to retrofit durability and isolation into a codebase that assumed neither.

The honest decision tree looks roughly like this. If your agents are short, stateless, and low-volume, your framework's in-process loop is your runtime and you should leave it alone. If your agents run long, hold state, or run at meaningful concurrency, you need a real runtime, and your choice is between adopting a durable-execution platform and wiring agent semantics on top of it, or buying a purpose-built agent runtime that bundles the five jobs above. Building the whole thing yourself is justified only when your isolation or compliance requirements are so specific that nothing off the shelf fits, and even then you're usually building on top of a durable execution primitive rather than from bare metal.

The trap worth naming: a managed runtime that's easy on day one can lock you into one provider's execution model, one set of tool conventions, and one billing meter. That's the same lock-in risk that makes people careful about building multi-model agents without vendor lock-in, just moved down a layer. Cheap and fast today can be expensive to leave in two years. Weigh that before the runtime quietly becomes load-bearing.

What to Look For When You Evaluate One

If you're shopping for an agent runtime rather than building, a few questions cut through the pitch faster than any feature list.

Ask what happens to a running agent when the underlying machine dies. If the answer is "it resumes from the last checkpoint," dig into how side effects are handled on replay. If the answer is vague, the durability is thinner than advertised. Ask how isolation works when you run untrusted tool calls or model-generated code, and whether tenants share a sandbox or get their own. Ask where budgets and step limits are enforced, and whether you can set them per task rather than globally. Ask what telemetry comes out of the box and whether it speaks a standard your existing tooling can ingest, because a runtime that only emits to its own dashboard is a future migration headache.

Then ask the question vendors like least: how do I get my agents out. A runtime you can leave is a runtime you can trust. The ones that make migration painful are betting you'll never do the math, and in a category moving this fast, you will.

Insights Most People Overlook

The runtime, not the model, is where your reliability ceiling actually sits. Teams obsess over which model to use and treat execution as plumbing. But a better model running on a flaky loop produces a worse product than a cheaper model on a durable one, because users experience failures and stalls, not benchmark scores. The runtime sets the ceiling on how reliable your agent can be, and the model only determines how close you get to it.

Durable execution engines are quietly eating this category from below. A lot of "agent runtime" capability is really general-purpose durable workflow execution with agent-shaped ergonomics on top. Some of the strongest runtimes aren't agent-native at all, they're battle-tested durable execution platforms that earned their reliability running payments and provisioning workflows for years before agents existed. When you evaluate a shiny agent runtime, ask what durability primitive it's built on. If the answer is "we built our own," be more skeptical, not less.

The runtime is the real lock-in layer, and almost nobody negotiates it. Buyers scrutinize model lock-in and ignore runtime lock-in, but the runtime is stickier. Your agents' state, their checkpointing semantics, their tool conventions, and their telemetry all get shaped by the runtime, and those are far harder to port than swapping a model endpoint. The layer everyone treats as a commodity is the one most likely to trap you.

Multi-tenancy is a security problem disguised as a cost problem. The same packing efficiency that makes GaaS margins work also concentrates risk: one runtime executing many customers' agents means one isolation bug is a cross-customer breach. The teams that win here treat the sandbox boundary as the product's most important security control, not a checkbox. As infrastructure security for autonomous systems gets more scrutiny, the runtime's isolation model will become a thing buyers audit, not assume.

"Agent operating system" pitches are mostly runtime pitches in a bigger costume. A wave of vendors are selling an "agent OS." Strip the framing and most of what they're actually offering is the five runtime jobs plus a marketplace. The OS metaphor oversells it, but it does point at something real: the runtime is becoming the layer everything else plugs into, which is exactly what makes it strategically valuable to own.

Frequently Asked Questions

Is an agent runtime different from an orchestration framework? Yes, and the distinction matters more as you scale. The framework is for authoring (defining the agent's steps, tools, and prompts). The runtime is for execution (running those steps durably, safely, and within budget in production). Early on they're often the same software. At scale they split into separate decisions, and treating them as one is a common source of lock-in.

Do I need a dedicated runtime if my agents are simple? No. If your agents complete in a single short burst, hold no state between steps, and run at low volume, your framework's built-in loop is a perfectly good runtime. The dedicated category earns its keep when agents run long, carry state, run at concurrency, or execute untrusted code. Adopt it when those conditions arrive, not before.

How does the runtime relate to durable execution engines? Closely. Durable execution is arguably the core primitive a serious runtime is built on: the ability to checkpoint a long-running process and resume it after a crash without redoing completed work. Many agent runtimes are essentially durable execution platforms with agent-specific ergonomics layered on. When evaluating a runtime, understanding its durability foundation tells you most of what you need to know about its reliability.

Where do token budgets and cost controls belong? In the runtime. It's the only layer that sees every model call and tool invocation as they happen, which makes it the natural enforcement point for per-task spend caps, step limits, and policy gates. Pushing cost control up into application code means reimplementing it per agent and missing spend that happens below your visibility. This is central to keeping per-outcome pricing profitable.

Does the runtime handle security and isolation, or is that separate? The runtime owns isolation because it's the process that actually executes tool calls and any model-generated code. Sandboxing, the boundary between an agent and the host, and the boundary between tenants in a multi-customer deployment all live at the runtime layer. Identity and auth sit adjacent, since the runtime has to act as a principal when it calls external tools.

Can I avoid vendor lock-in with a managed runtime? Partially, with effort. The key is to ask the exit questions up front: how is agent state exported, how portable are the tool conventions, and does telemetry use open standards. A runtime built on a portable durability primitive and standard observability is far easier to leave than one with proprietary everything. Treat runtime portability as a first-class evaluation criterion, not an afterthought.

References

#agent runtime

More in Infrastructure