Skip to content
Agent Runtimes Guide

Best agent runtimes: who keeps the record in an open-source repo

Runtime lists rank features and skip who keeps the record. Kortix, the open-source CompanyOS, is my pick: the record lands in your repo, and I work on Kortix's marketing, so weigh that accordingly. The durable execution engines and the names AI answers recommend each keep the record in their own store, and none of them keeps it in your repo.

Four runtimes, one deciding column

Two rows decide most procurement reviews: what the run leaves behind, and who approves the change.

Four runtimes, one deciding columnKortix (my pick)AWS Bedrock AgentCoreCloudflare AgentsAgyn
Open sourceYes. Read it, fork it, audit it.No. A managed AWS service.The SDK is open source (MIT); the runtime is Cloudflare's network.Yes. Open source, on your own Kubernetes.
Where the agent runsEach session has its own isolated machine and branch.A microVM, serverless, started per session.A Durable Object on Cloudflare's global network.Your cluster, one isolated environment per agent.
What the run leaves behindA branch and a change request in your repo.A session: 8 hours per microVM lifecycle, 14 days on Instances.Agent state in the Durable Object's SQL storage.A record of every run.
Who approves a changeA person, on a change request. An agent merges its own only when an admin grants it the merge capability, project.gitops.merge.Your IAM policy and deploy pipeline.Your Worker code; Cloudflare hosts the session.A pull request against your Terraform.
Self-hostKortix Cloud, your VPC, or your own network.No; instances can run in your AWS account.No. Cloudflare's network only.Yes. One Helm release on your cluster.
Billing unitCredits: 100 per dollar, $50 a month (5,000) to $50,000 (5,000,000).Per second of CPU and memory, one-second minimum.Workers requests and CPU time, plus Durable Objects.Your cluster, your model keys.

The three managed platforms, on the same three questions

Microsoft, Google and OpenAI each write the run to a console they operate, and the columns ask the same question of each.

The three managed platforms, on the same three questionsKortix (my pick)Microsoft Foundry Agent ServiceGoogle Agent RuntimeOpenAI Agents SDK
Open sourceYes. Read it, fork it, audit it.No. A managed Azure service.No. A managed Google Cloud service.Yes. The SDK is MIT licensed.
Where it runsOne isolated sandbox per session.A managed endpoint in Foundry.A serverless runtime inside Gemini Enterprise.Your own process, or an SDK sandbox workspace.
What the run leaves behindA branch and a change request your team reviews.Traces, metrics and evaluations in Application Insights.Sessions, Memory Bank entries and Cloud Trace spans.A trace in the OpenAI Traces dashboard.
Who approves a changeA person, on that change request.Entra RBAC decides who may deploy.IAM agent identity and VPC Service Controls.Your code, with human-in-the-loop hooks.

What a session hands back

git
kortix projects clone <project_id> my-project
cd my-project
git checkout -b tighten-triage
# edit agents/, skills/ or kortix.yaml
git commit -am "Tighten the triage prompt"
git push origin tighten-triage
kortix cr open --head tighten-triage --title "Tighten the triage prompt"

A clone, a branch, a commit and one command, then a person merges. kortix projects clones a project (a workspace) to your machine.

Source: kortix.com/docs/developers

Start with three questions, not a feature list

The run ends, and what the agent runtime did survives as a record, in a repo or a vendor's console. Who holds that record is the question a procurement review turns on. Ask three things of any runtime before a pilot, starting with what the session runs on and what the run leaves behind.

A runtime is one of three layers a buyer now meets: the place the agent runs, the access it is allowed, and the traffic it sends. Only the first is ranked as a runtime, and OpenShell and agentgateway cover the other two. Durable execution sits inside that first layer: the engine keeps a run alive across a crash or a wait of days, and it writes the run's history to its own journal.

The third question, who approves the change the agent produced, decides a procurement review. Where the answer is a repository the company already reads, the record of the run survives a vendor change, a budget cut or an audit. Where the answer is the vendor's own console, the record leaves when the contract does. Prices checked October 2026.

Amazon Bedrock AgentCore

AgentCore bills per second of actual CPU and memory, with a one-second minimum. It counts a session from microVM ready through initialization and idle periods to termination. Idle memory is reclaimed after 120 seconds in Runtime v2, as its pricing page states. Sessions last "up to 8 hours for each lifecycle on microVMs, or up to 14 days on Instances", as the AgentCore session docs put it. What the run leaves behind is a session AWS holds. Approval is your IAM policy and your deploy pipeline, since the runtime itself has no gate on the agent's output.

Google's Agent Runtime

Gemini Enterprise's Agent Runtime is a fully-managed, opinionated runtime that abstracts the infrastructure. You deploy a container image or a Dockerfile. It runs on Google Cloud behind VPC Service Controls and IAM. It was called Vertex AI Agent Engine before the platform's rename. The old Agent Engine URL now redirects to the platform's scale page, so a shortlist that counts both names has counted one product twice.

That scale page describes the services around the runtime: "a fully managed environment for developers to handle testing, release management, and reliability at a global scale". A serverless Agent Runtime sits inside it, with sessions and a Memory Bank for conversation state and long-term memory. The Example Store and the Evaluation Service test and trace agent behavior, and "secure sandbox execution" arrives through dynamic Code Execution and Computer Use. The security table lists VPC Service Controls, customer-managed encryption keys, data residency and Access Approval for the runtime, the sessions and Memory Bank.

Its runtime documentation lists built-in support for Cloud Trace and Cloud Logging, and an Agent Audit section beside them. Google also publishes Agent Executor, an open-source distributed runtime for execution, resumption and deployment. It provides backend resilience for any actor "through its event log and snapshotting". Both keep a record of what the run did. The managed service keeps traces in Cloud Trace and logs in Cloud Logging; Agent Executor keeps an event log and snapshots. Google's documentation covers access control and tracing. It names no step where a person reviews the change an agent produced. The harness and runtime split explains why where that record lives decides the purchase.

Microsoft's two layers: Foundry Agent Service and Agent Framework

Microsoft sells the runtime and the framework as two products that meet in one project. Foundry Agent Service is "a managed platform for building, deploying, and scaling AI agents". Its Agent Runtime component "Hosts and scales prompt agents and Hosted agents. Manages conversations, tool calls, and agent lifecycle." A prompt agent is configuration: instructions, a model and tools. Foundry runs it, and you maintain no application code. A hosted agent is your own code, from Agent Framework, LangGraph, the OpenAI Agents SDK or your own stack. You ship a container image or a .zip, and Foundry runs it behind a managed endpoint.

The run's record is the observability row: end-to-end tracing, metrics, evaluations and Application Insights. Traces, metrics and evaluation results land in the Azure subscription. Publishing versions an agent, creates stable endpoints, and shares it through Teams, Copilot and the Entra Agent Registry. Identity is Microsoft Entra, with RBAC, content filters and virtual network isolation. Those controls decide who may build, publish or call an agent. The two Microsoft documents cover access control and tracing, and neither describes a step where a person reviews the agent's output before it lands.

Agent Framework sits beside the managed service as the open-source layer, MIT licensed. It is the direct successor to Semantic Kernel and AutoGen. It "brings together four primary areas": agents, a Harness Agent, workflows and integrations. The Harness Agent is "an opinionated agent with batteries-included capabilities for long, multi-step tasks". The list covers planning and todo tracking, context compaction, file access and memory, "don't-ask-again tool approval" and observability. The harness asks a person about a tool call once, then stops asking, so the approval covers the call and the change itself is left to the agent's code.

OpenAI's Agents SDK, and the builder it is retiring

The OpenAI Agents SDK "enables you to build agentic AI apps in a lightweight, easy-to-use package", on three primitives: agents, handoffs (agents as tools) and guardrails. Its sandbox agents "Run specialists inside real isolated workspaces", with manifest-defined files, a choice of sandbox client and "resumable sandbox sessions". That gives an agent a workspace of its own, and it ships as part of the SDK rather than as a hosted product.

The record is a trace. Tracing is on by default, and it collects a record of the events in an agent run: model generations, tool calls, handoffs, guardrails and custom events. You read it in the Traces dashboard, or push it elsewhere with a custom trace processor. OpenAI's tracing documentation adds that tracing is unavailable under a Zero Data Retention policy. Whether a record exists at all depends on the contract.

Approval is code you write. The SDK includes human-in-the-loop mechanisms for involving people during agent runs. Input guardrails support two execution modes, parallel execution by default and blocking execution, and output guardrails always run after the agent completes. Neither decides who reviews a change the agent produced. That gate belongs to the application around the agent.

Agent Builder, the visual canvas that shipped beside the SDK, is on its way out. OpenAI's own guide says the product "is scheduled to shut down on November 30, 2026", with ChatKit remaining. Agent Builder and AgentKit are not platforms to shortlist for a run that has to outlive the next renewal.

The three managed platforms sort the same way. Foundry writes the run to Application Insights. Google writes it to Cloud Trace and the platform's sessions. OpenAI writes it to its Traces dashboard. Each record lives in a console the vendor operates. Kortix keeps that record in your own repo: a branch, a diff and a change request a person merges.

Cloudflare Agents

Cloudflare Agents gives each session a durable identity, local SQL storage, real-time connections, scheduled work and recoverable execution on Cloudflare's network. It also ships an agent harness and a sandbox tool for code execution. State survives eviction because it lives in a Durable Object. The record is Cloudflare's storage, and the approval step is whatever your Worker code implements.

E2B

E2B sells sandboxes billed per second of running time. The default 2 vCPU / 4 GiB sandbox bills $0.000028 a second for vCPU and $0.0000180 a second for its 4 GiB of memory. The pair comes to $0.000046 a second. A sandbox ends at its timeout, which defaults to 5 minutes and kills the sandbox on expiry (E2B's sandbox FAQ). Hobby is free, with a one-time $100 usage credit and a 1-hour continuous-runtime cap. Pro has a $150 plan base and a 24-hour cap, and pausing and resuming resets it, so a paused sandbox can be kept and reused. Enterprise starts at a $2,000/mo commit, 500 concurrent included. You bring the harness, the approvals and the place the output lands; E2B sells the machine.

Modal

Modal is serverless compute for agent code. Starter is $0 plus compute. Team is $250 or more of compute a month, and billing runs during application load and while the container processes. It suits an agent whose work is a function with a known shape, and it stops there.

Daytona

Daytona bills sandboxes by the hour: $0.0504 per vCPU, $0.0162 per GiB of memory, $0.000108 per GiB of storage. It gives $200 of free compute, and a sandbox stops itself after 15 minutes without activity unless you set that interval to 0. You get the machine, and you keep the job of recording what the agent did with it.

LangSmith Deployment

LangSmith Deployment runs LangGraph agents on managed infrastructure. It bills runtime compute at 0.0675 LSU per vCPU-hour and memory at 0.0090 LSU per GiB-hour, per second, on the Plus plan and above. Enterprise adds self-hosted and hybrid deployment. Teams already tracing in LangSmith get each run's history in the tool they watch.

Agyn

Agyn is open source. It runs Claude Code, Codex or your own agents on your Kubernetes through one Helm release. Per-agent isolation, egress rules, egress secret injection, an LLM gateway, agents declared as Terraform, and a record of every run. Agyn keeps that run history inside its own console on your cluster. Kortix keeps the record as a branch and a change request in the repository your team already reviews, on Kortix Cloud or self-hosted.

The durable execution engines: Temporal, Restate and Inngest

A durable execution engine is the layer under the runtime. It records each completed step of a run and replays from the last one after a crash, a deploy or a wait of days. Temporal, Restate and Inngest each document that guarantee in their own words, and each keep the record in its own store rather than in your repository.

Temporal gives AI applications and agents Durable Execution: "a Workflow resumes automatically after a crash, a network timeout, or a multi-day wait for a human to approve a step". Its Approval pattern covers "Human-in-the-loop Workflows that block until external approval decisions are made", and it "Uses Signals to capture approval data with metadata". Checkpointing and recovery are "handled by Temporal's Event History", so the record of a run is an event history inside the engine. You run the server yourself with brew install temporal and temporal server start-dev, or use Temporal Cloud, and the server repository is MIT licensed.

Restate records "completed durable steps and their results in a journal", and "After a crash or restart, it replays the execution, skips journaled work". It documents suspending "an agent while it waits for a webhook, another agent, or a person". Consistent key/value state is persisted alongside execution progress, and a UI and a CLI inspect journals and state. A framework supplies the building blocks, a harness runs the agent loop, and a runtime executes and manages the running agent, as Restate's own layer table sorts them. Its runtime column names Restate, AgentCore Runtime, Cloudflare Agents, Temporal and LangGraph Runtime.

Inngest runs each model or tool call as a step. It saves every completed step, retries only the failed one, and resumes after a crash, a deploy or a wait of days. Each run records "a trace of every decision": what the model received, what it chose, which tools ran and what they returned. Approval is step.waitForEvent(), which "pauses the agent until a matching event arrives or a timeout passes" while holding no worker. The agent loop runs in your app, and the history sits with Inngest. The server and CLI are available under the Server Side Public License with delayed open source publication under Apache 2.0, and the SDKs are Apache 2.0.

Pydantic AI is the framework side of this layer: it attaches durable execution to an engine you already run. Attach TemporalDurability and "the same agent runs inside a Temporal workflow under durable execution: every model and tool call becomes a durable activity". DBOS and Prefect attach the same way, with Restate, AWS Lambda, Airflow, Absurd, pgtask and Azure Durable Task integrations besides. Without an engine, StepPersistence from Pydantic AI Harness "snapshots every settled step to a store you choose". The engine path carries "human-in-the-loop approval built in".

Each engine answers the durability question. Each keeps its record as an execution history: a journal, an Event History or a step trace, held in the engine's store and read in its UI. The change the agent produced still lands wherever the agent's code writes it. The approval the engine records is a decision on a step, and the diff a reviewer reads lives somewhere else.

The frameworks and agent servers the answers name: Mastra, LlamaIndex, ADK and Letta

These four build the agent and run its loop, and each hands the machine and the record to a layer you choose. An AI answer that names Mastra or ADK as a runtime has named the layer above the runtime, and the placement matters when the shortlist arrives.

Mastra is a TypeScript framework for building AI agents. Its quickstart creates "a general-purpose agent harness with a local workspace, shell tools, memory, task tracking, web access, and recurring schedules", with Mastra Studio as the interface. Its own use-case list includes software factories: "Coordinate coding agents to turn issues into tested code and pull requests. Let people review plans and changes before they're merged." That is the review step a buyer asks about. Mastra places it in the harness it generates.

LlamaIndex is a Python toolkit for building LLM-powered agents over your data. Its workflows are "event-driven, multi-step processes that combine agents, data connectors and tools, with branching, retries and human-in-the-loop review, and can be deployed as services". The framework is MIT-licensed. The review step is a node in the workflow, and the service it deploys as is one you run.

Google ADK is the open-source agent development framework for building, debugging and deploying agents, in Python, TypeScript, Go, Java and Kotlin. Its graph-based workflows carry "explicit execution paths", and its context management treats "sessions, memory, tool outputs, and artifacts" as "a structured view". You can containerize and run ADK on your own infrastructure, or deploy to Google Cloud with one command. On Agent Runtime, Cloud Run or GKE the agents "instantly inherit managed infrastructure, built-in authentication, Cloud Trace observability". The framework is the open-source half, and the managed half is Google's own Agent Runtime.

Letta builds stateful agents, which it defines as agents that "can maintain memory and context across conversations". "In Letta, all state, includes memories, user messages, reasoning, tool calls, are all persisted in a database, so they are never lost, even once evicted from the context window." Memory blocks are editable by the agent through tools. A run contains steps, and server-side tools are "executed by the server in a sandbox". The database is the record, and it is the one you operate.

Each of the four answers a real question about how an agent is built and run. The record each keeps is the one its own layer defines. Mastra keeps a workspace and a review step, LlamaIndex a workflow node, ADK sessions and artifacts, Letta a database. A team that wants the diff on a branch adds the layer that writes a branch.

Promptise Agent Runtime

Promptise Agent Runtime wraps a Promptise agent in a persistent process, and it is open source under Apache 2.0: pip install promptise starts it. The runtime adds "Cron, webhook and file-watch triggers, crash-recovery journals, budget enforcement, health monitoring, missions, secret scoping and a 37-endpoint REST API", as its own page lists them.

Recovery is a journal. Tests get "an in-memory journal", and production gets "a file journal (append-only JSONL with checkpoint files)". After a crash, "the replay engine rebuilds each process from its last checkpoint and replays the events after it." Secrets are never written to the journal. Budgets limit tool calls, LLM turns, cost and irreversible actions per run and per day, and on exceeding one the runtime can pause, stop or escalate.

The agent runs as a process on a machine you provide. The run leaves a JSONL journal with checkpoints, and the approval is the budget rule or the escalation you configured.

AgentRuntime

AgentRuntime connects "your tools, business rules, agents, and people into reliable workflows that can operate for minutes, days, or continuously". Its control plane is an operational inbox. You "Triage approvals, active runs, failures, and interventions from one operational inbox", and "Manage connections, secrets, permissions, policies, and audit history across every run". A workflow can "Pause for review, approvals, or exceptions and route the work to the exact responsible person". The approval then completes through a REST call: POST /api/v1/workflows/{id}/runs/{run_id}/tasks/{task_id}/complete with {"decision": "approve"}.

The agent runs inside AgentRuntime's workflows. The run leaves an audit history in its control plane, and a person approves a task in the inbox or through that call. Its site states no licence, no self-host option and no open-source claim.

Where OpenShell and agentgateway sit

NVIDIA's OpenShell is an open, secure runtime for agents, published under Apache License 2.0. NVIDIA says on its own page that it "is not another agent framework", and that it is "designed to sit underneath agent frameworks and harnesses". Each agent runs in its own isolated sandbox with no direct network access. OpenShell monitors and filters system calls in the kernel. A supervisor outside the sandbox evaluates every network request against policy at the binary, destination, method and path level, supplying credentials only where policy allows. A policy prover uses formal verification to flag a policy change that would add risky access before it applies. What a run leaves behind is a record of access: every allow and deny decision, logged and held by the gateway. A policy change that would grant new access waits for human review, so the approval covers access.

agentgateway is an open-source proxy and a Linux Foundation project, built for AI-native traffic. It carries an LLM gateway with budget and spend controls and failover, an MCP gateway with tool federation and OAuth, an A2A gateway and inference routing. Guardrails, JWT, API keys, OAuth, RBAC with a CEL policy engine and OpenTelemetry sit alongside those. It deploys as a single binary, in Docker, or on Kubernetes through Gateway API. Its record is a trail of the tool calls and LLM traffic that passed through the gateway. The agent's execution and the code it produces happen outside that proxy, so the change an agent makes does not appear in the trail.

Both answer the question they were built for: whether a call was allowed. A repo record answers a different one, which is what changed, who proposed it and who merged it. A platform team that has bought the policy layer still has to find the change somewhere, and the ranking turns on whether a runtime keeps it.

Where Kortix fits

Kortix is the open-source CompanyOS. Your agents, skills, company memory and connectors live in one git repo you own. A run's record lands in that repo as a branch and a change request.

One isolated sandbox per session. Each session has its own isolated machine and branch. Session work reaches main through a change request a person reviews and merges. An agent can merge its own change request only when an admin grants it the merge capability, project.gitops.merge. Nothing merges itself. Every action is recorded, and reading, exporting and streaming the audit log depend on the plan. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free.

That covers the three questions at once. The session has a machine, the output has a reviewable form, and the record survives a vendor change, a budget cut or an audit. A person on the platform team opens the change request, reads the diff and merges it, which is the review your engineers already give code. Read the docs for the same sequence, command by command.

Matching the runtime to what you already run

  • Managed cloud only, already on AWSAgentCore keeps the run on AWS, under the account and policies your review already covers.
  • Managed cloud only, already on Google CloudAgent Runtime makes the same bargain behind VPC Service Controls and IAM.
  • Kubernetes already, with a platform teamAgyn declares agents as infrastructure and runs them on your own cluster.
  • OpenShell or agentgateway already in front of the agentskeep them, and add the record. Kortix puts the change on a branch and a change request, and the policy and traffic records stay with the layer that holds them.
  • Durable execution already in the stackTemporal, Restate or Inngest running the loops. Keep the engine for the run, and put the change on a branch and a change request in your repo, where a person approves it.
  • A sandbox and nothing elseE2B, Modal or Daytona, with the harness, the approvals and the record left to you.
  • A record you can review as codeKortix, where a session's output arrives as a change request in your repo. Self-hosting is one compose stack when the data cannot leave.

Six questions buyers ask before a pilot

Each one decides part of the contract, and none of them is on a feature list.

What does agent runtime mean?

It is the layer that executes an agent's turns: the machine, the sessions that hold its state, the memory and the tracing around it. Microsoft calls its Agent Runtime the component that "Hosts and scales prompt agents and Hosted agents"; Google calls its own "a fully-managed, opinionated runtime".

What is durable execution, and where does it sit next to a runtime?

Durable execution keeps a run alive across a crash, a deploy or a wait of days by recording each completed step and replaying from the last one. Temporal keeps that record in its Event History, Restate in a journal, and Inngest as a saved step and a trace of each decision. The engine keeps the run, and the change still needs a repository and a reviewer.

What does NVIDIA OpenShell do?

It gives each agent its own isolated sandbox with no direct network access, filters its system calls in the kernel, and checks every network request against policy from outside the sandbox. Every allow and deny decision is logged, and a policy change that grants access waits for a person.

What are the differences between OpenShell and Docker sandboxes?

OpenShell runs on Docker, Podman, Kubernetes or VM isolation, so a Docker host is one place it runs. On top of that isolation it adds a kernel-level filter on system calls, a supervisor that checks each network request against policy, and a log of every allow and deny decision.

Do we need a runtime if we already run Kubernetes?

No, you have the machine already. You need the layer above it: a harness, per-agent isolation and a place the run's output lands. Agyn ships that layer as Helm releases; Kortix self-hosts as one Docker Compose stack on a Linux server you control, with sessions on its sandbox provider.

How do we compare these bills fairly?

Normalize every price to one unit first: CPU and memory seconds, per-request charges, or credits per second of a running machine. The cost breakdown walks through the conversion, including the hours a sandbox sits idle.

Run your agents where the record stays yours

Start on Kortix Cloud, or bring the same stack into your own network.

Open source · Self-host is free · One isolated sandbox per session