Best of · Agent frameworks

Best agent harnesses and coding agents

The 10 highest-scoring of 63 agent harnesses and coding agents on the Anchor benchmark, with a pick for each need and where each one falls short. Scores come from public evidence, re-checked as vendors change.

  • 63 ranked
  • 11 agent-ready
  • 5 hosted endpoints
  • Updated 23 November 2026

Top three

Picks by need

Worked out from the scores, prices and facts, so they change when the research does.

Highest score overall

OpenAI Codex BB

BB, 77.3/100 on the benchmark.

Also OpenAI Agents API, BB, 75.2/100.

Reliability

OpenHands BB

90/100 on reliability, against 55 for the overall leader.

Schema & documentation

Gemini CLI B

93/100 on schema & documentation, against 90 for the overall leader.

Agent ergonomics

Claude Code C

91/100 on agent ergonomics, against 80 for the overall leader.

Security & auth

OpenAI Agents API BB

87/100 on security & auth, against 82 for the overall leader.

Maintenance & community

AgentRun BB

88/100 on maintenance & community, against 87 for the overall leader.

Transparency & trust

Gemini CLI B

90/100 on transparency & trust, against 85 for the overall leader.

A hosted MCP endpoint

boxes.dev D

remote MCP server, nothing to install.

Self-hosting under an open licence

AXLR BB

self-hosted, Apache-2 licence.

Also OpenHands, self-hosted, MIT licence.

The review panel's favourite

MiniMax Code B

3.5/5 from 4 panel reviews.

The shortlist

#ToolGradeBest forPriceWhere
1 OpenAI Codex
OpenAI
BB 77.3 Teams that want an open-source harness with safe defaults for unattended runs and an optional hosted agent. $20 / mo Local
2 OpenAI Agents API
OpenAI
BB 75.2 Teams that want OpenAI to run the agent loop, with sandboxes, MCP tools and subagents, and are fine with a beta API, US-only data residency and no Zero Data Retention. Pay per use Hosted
3 goose
Agentic AI Foundation (originally Block)
BB 75 People and pipelines that want one agent across many model providers or local models, with recipes for repeatable jobs and a desktop app for non-engineers. Free · OSS Local
4 AXLR
Underpass AI
BB 74.3 A program or bot that needs one governed execution at a time, with a policy, a budget, a sandbox profile and correlation ids it sets itself and a result object it reads back, on a machine it controls, with the model on OpenRouter, a local server or a native Anthropic or OpenAI key. Free · OSS Local
5 OpenHands
All Hands AI
BB 74.1 Teams that want to self-host a coding agent with a web UI, per-conversation Docker sandboxes and scheduled or webhook automations, or embed the agent through a Python SDK and REST API. Freemium Local
6 AgentRun
Parcha Labs, Inc.
BB 74.1 Teams that want to run several Claude Code, Codex, pi or OpenCode agents on their own infrastructure with recovery, spend caps and learned workflows, driven by API or MCP. Freemium Local
7 OpenCode
Anomaly
BB 72.6 Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones. $10 / mo Local
8 Qwen Code
Alibaba (Qwen team)
BB 72.4 Developers and CI jobs that want an open-source harness tied to no single model vendor, with run budgets and SDKs. Free · OSS Local
9 Kilo Code CLI
Kilo Code Inc.
BB 71.2 Developers who want an open-source terminal agent with per-tool permission rules, an optional sandbox and a choice of provider, and the same engine in VS Code and JetBrains. $19 / mo Local
10 herdr
herdr
BB 71.1 A developer who runs several coding agents in terminals, locally or over SSH, and wants one agent to start, prompt and wait on others. Free · OSS Local

53 more are ranked in the full table.

How to choose

  1. Approval defaults and rulesCheck which actions ask for approval by default and whether command rules can pre-approve some, since an unattended run depends on those rules being right.
  2. Sandbox and network defaultsCheck what the sandbox blocks and whether network access is off by default, since a harness that can reach the internet can send repository contents off the machine.
  3. Clean stop in headless runsCheck whether a headless run stops by itself when the task is done, since a loop that keeps going spends money and edits files after the work is finished.
  4. Telemetry and data leaving the machineList what telemetry and prompts are sent to the vendor, since code from a private repository may leave the machine with each model call.

How the benchmark tests this category. The same small repository task run headless in each harness with one MCP server attached, first fixing a failing test, then a task that needs the network. We check what it asks before acting, what the sandbox blocks, whether the run stops on its own, what it costs and what leaves the machine.

Each one in detail

#1

OpenAI Codex

BB 77.3/100

OpenAI's coding agent for software development tasks.

Verdict Sandbox on by default on macOS, Linux and Windows, with the network off and .git and .codex read-only. Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes.

Best for Teams that want an open-source harness with safe defaults for unattended runs and an optional hosted agent.

Strengths

  • Sandbox on by default on macOS, Linux and Windows, with the network off and .git and .codex read-only
  • Apache-2.0, with public CI and a JSON Schema for config.toml
  • codex exec --json, --output-schema and exec resume for pipelines, plus TypeScript and Python SDKs

Weaknesses

  • Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes
  • Anonymous usage metrics and feedback collection on by default
  • Over 5,000 open issues (1 October count)

Price $20 / moAuth OAuth or keyx402 NoLocal

Full assessment

#2

OpenAI Agents API

BB 75.2/100

The OpenAI Agents API runs OpenAI's managed Codex harness as a hosted service. One call creates a session with a model, tools, MCP servers, subagents and an OpenAI-hosted or self-hosted sandbox, and OpenAI runs the loop.

Verdict OpenAI's hosted agent runtime, the Codex harness behind one session call, with MCP, functions, web search, computer use, subagents and sandboxes on OpenAI or your own infrastructure. Documentation, errors and SDKs are thorough. It's still public beta, can't use Zero Data Retention and keeps data in the United States only.

Best for Teams that want OpenAI to run the agent loop, with sandboxes, MCP tools and subagents, and are fine with a beta API, US-only data residency and no Zero Data Retention.

Strengths

  • One session call configures the model, tools, MCP servers, subagents and the sandbox, and OpenAI runs and recovers the loop
  • Sandboxes on OpenAI or self-hosted, with guides for ten providers including E2B, Daytona, Modal, Cloudflare and Vercel
  • An errors guide with codes per status and turn, Retry-After and a check-before-retry procedure

Weaknesses

  • Public beta since 10 September 2026 behind the agents=v1 beta header, with no GA date
  • Not eligible for Zero Data Retention, and data residency is United States only
  • No idempotency key for session or turn requests; retries depend on checking state first

Price Pay per useAuth API keyx402 NoHosted

Full assessment · Against #1, OpenAI Codex

#3

goose

BB 75/100

Open-source general-purpose agent written in Rust, with a desktop app, a CLI and an embeddable server.

Verdict Telemetry off until the user opts in, with the collected fields listed. Autonomous mode, which approves every tool call, is the default.

Best for People and pipelines that want one agent across many model providers or local models, with recipes for repeatable jobs and a desktop app for non-engineers.

Strengths

  • Telemetry off until the user opts in, with the collected fields listed
  • Four permission modes, per-tool always, ask or never rules, and an extension allowlist an administrator can host
  • Headless goose run with --output-format json or stream-json, --max-turns and recipes with typed parameters, retries and success checks

Weaknesses

  • Autonomous mode, which approves every tool call, is the default
  • No sandbox, and prompt-injection detection and adversary mode are off by default
  • No privacy policy on goose-docs.ai, and the usage-data page doesn't say where data goes or how long it's kept

Price Free · OSSAuth Nonex402 NoLocal

Full assessment · Against #1, OpenAI Codex

#4

AXLR

BB 74.3/100

Open-source Go execution engine for agentic work from Underpass AI. A console with work modes and approval cards, an mTLS HTTP, gRPC and MCP service, a JSON worker and a Go library, with KMP memory and MADE procedures over MCP.

Verdict A pre-1.0 Go harness with an unusually complete service contract, mutual TLS with principal roles, required idempotency keys, a policy, budget and sandbox per execution, and a result object a program can read. The console's defaults after setup are autonomy on and no sandbox, the project has one maintainer and no outside users yet, and releases carry no notes.

Best for A program or bot that needs one governed execution at a time, with a policy, a budget, a sandbox profile and correlation ids it sets itself and a result object it reads back, on a machine it controls, with the model on OpenRouter, a local server or a native Anthropic or OpenAI key.

Strengths

  • mTLS HTTP, gRPC and MCP service with four principal roles, Idempotency-Key required on turns, approvals and direct calls, and expected_revision on decisions
  • A policy (observe, propose, act-with-approval, act-within-policy), a budget in seconds, requests, tool calls and dollars, and a bubblewrap or container sandbox with an enforced egress allow list, each per execution
  • axlr-tui --exec --json runs one task headless and ends with a result object; exit 0 done, 3 waiting for a decision, 1 error

Weaknesses

  • The setup assistant turns autonomy on and leaves the exec sandbox off, so after setup the model's commands run with the person's rights, bar the destructive list
  • Pre-1.0 with one maintainer, 0 stars and 10 open issues, all the founder's own trackers; releases have empty notes and there is no changelog
  • The service needs KMP and MADE as remote gRPC services, a client CA and a principals file before a first session, and has no work modes, plugins or forged-tool setting yet

Price Free · OSSAuth OAuth or keyx402 NoLocal

Full assessment · Against #1, OpenAI Codex

#5

OpenHands

BB 74.1/100

Open-source coding agent with a self-hosted web interface, local and remote execution, and scheduled or webhook-driven automation.

Verdict A self-hosted coding agent with a typed SDK, an Agent Server API and a Docker container per conversation on request. Agent Canvas still starts with confirmation off on the host's filesystem, sends an install event before asking consent, and a critical SDK sandbox flaw fixed in October was published by a third party.

Best for Teams that want to self-host a coding agent with a web UI, per-conversation Docker sandboxes and scheduled or webhook automations, or embed the agent through a Python SDK and REST API.

Strengths

  • A Docker container per conversation with OH_CONVERSATION_RUNTIME=docker, each with its own Agent Server
  • Typed Python SDK and an Agent Server REST API with an OpenAPI 3.1 spec, plus a TypeScript client
  • Confirmation policies (always, never, at or above a risk level) with LLM, Invariant and GraySwan risk analysers

Weaknesses

  • Confirmation mode is off by default in Agent Canvas, and the npm install gives the agent the host's whole filesystem
  • One anonymous install event goes to PostHog before the consent prompt, whose opt-in box is pre-ticked
  • CVE-2026-112346 (9.8), an unauthenticated sandbox server in SDK workspaces before 1.52.0, was published by VulnCheck with no OpenHands advisory found

Price FreemiumAuth OAuth or keyx402 NoLocal

Full assessment · Against #1, OpenAI Codex

#6

AgentRun

BB 74.1/100

AgentRun is an open-source platform from Parcha Labs that runs Claude Code, Codex, pi or OpenCode agents with durable runs, a control plane and learned skills. It runs self-hosted or as AgentRun Cloud, with an HTTP API and MCP endpoint.

Verdict A self-hosted AgentRun server gives outside agents one typed /v2 API and a 10-tool MCP endpoint with idempotency keys, a closed error list, spend caps and per-tool approval gates, all under Apache-2.0. It is a two-month-old beta with breaking changes between releases, a single all-powerful server token, and no published price for the hosted Cloud.

Best for Teams that want to run several Claude Code, Codex, pi or OpenCode agents on their own infrastructure with recovery, spend caps and learned workflows, driven by API or MCP.

Strengths

  • Apache-2.0 for the whole platform, the console, learning and recovery included, with Docker, Helm, Railway and Render deployments
  • OpenAPI 3.1 /v2 contract with one error envelope, 26 closed error codes, a retryable flag and Idempotency-Key on every create
  • MCP endpoint of 10 compact tools with read-only and destructive annotations, served by every server at /v2/mcp

Weaknesses

  • Still 0.1.0-beta, and the compatibility page says API or execution changes can require migration between beta releases
  • A self-hosted server has one Bearer token with full access, and no scoped or read-only keys were found
  • AgentRun Cloud publishes no prices, and its privacy policy is Grep's, which does not mention AgentRun and gives no retention periods

Price FreemiumAuth API keyx402 NoLocal

Full assessment · Against #1, OpenAI Codex

#7

OpenCode

BB 72.6/100

Open-source terminal coding agent from Anomaly Innovations, with a TUI, desktop app, IDE and ACP integration, and a headless HTTP server with an OpenAPI spec. Version 2, released in October 2026, is an opt-in upgrade.

Verdict Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.

Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.

Strengths

  • Runs with no key or account on free OpenCode Zen models
  • Allow, ask or deny per tool with glob patterns, with .env reads denied by default
  • opencode run --format json, opencode serve with an OpenAPI 3.1 spec, and a generated TypeScript SDK

Weaknesses

  • Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
  • Updates download and install at startup unless autoupdate is off
  • Keyless runs send prompts to free models, some of which may use them for training

Price $10 / moAuth Nonex402 NoLocal

Full assessment · Against #1, OpenAI Codex

#8

Qwen Code

BB 72.4/100

Open-source coding agent from Alibaba's Qwen team for the terminal, with desktop, browser and editor interfaces. It runs Qwen, OpenAI, Anthropic and Gemini-compatible models or a local one, and runs headless with qwen -p.

Verdict Apache-2.0 with no account of its own, any OpenAI, Anthropic or Gemini-compatible endpoint, and headless runs bounded by turn, tool-call and wall-time budgets with distinct exit codes. Out of the box, Auto mode lets an LLM classifier approve tool calls, with the sandbox and folder trust both off. Security fixes ship as changelog lines without advisories.

Best for Developers and CI jobs that want an open-source harness tied to no single model vendor, with run budgets and SDKs.

Strengths

  • Apache-2.0, with a release most weeks (39 stable from 3 August to 1 November 2026) and CodeQL and a monthly scorecard in CI
  • Headless qwen -p with json and stream-json output, and exit codes 53 for the turn limit and 55 for a wall-time or tool-call budget
  • Works with any OpenAI, Anthropic or Gemini-compatible endpoint, including a local server, with keys set by environment variable

Weaknesses

  • The default approval mode is Auto, where an LLM classifier approves tool calls, and sandboxing and folder trust are both off by default
  • Usage statistics are on by default for every sign-in method and go to an Alibaba Cloud endpoint
  • SECURITY.md points only to an Alibaba Cloud console portal, and the 27 October serve-token fix shipped with no advisory

Price Free · OSSAuth API keyx402 NoLocal

Full assessment · Against #1, OpenAI Codex

#9

Kilo Code CLI

BB 71.2/100

Open-source coding agent for the terminal, forked from opencode and built from the same repository as Kilo's VS Code and JetBrains extensions. It runs with your own provider key, a local model or the Kilo Gateway.

Verdict Shell commands ask before running by default, and an optional operating-system sandbox blocks writes outside the workspace and outbound network. Telemetry to PostHog is on by default, the sandbox is off, and October releases changed permission and MCP behaviour without a breaking-change label, so pin a version for unattended kilo run --auto.

Best for Developers who want an open-source terminal agent with per-tool permission rules, an optional sandbox and a choice of provider, and the same engine in VS Code and JetBrains.

Strengths

  • Permission rules of allow, ask or deny per tool with glob patterns, and shell commands asking by default outside a built-in allow list
  • A sandbox on macOS and Linux that limits writes, blocks network by default and refuses to run when it can't be enforced
  • Project config can't weaken the sandbox or read environment variables through {env:VAR}

Weaknesses

  • Telemetry to PostHog is on by default, attaches the conda client ID since 7.8.10, and the privacy policy doesn't mention it
  • The sandbox is off by default and unavailable on Windows
  • kilo run lists no flag for a turn, time or cost limit

Price $19 / moAuth OAuth or keyx402 NoLocal

Full assessment · Against #1, OpenAI Codex

#10

herdr

BB 71.1/100

herdr, now called Herdr TUI, is an open-source terminal workspace manager for coding agents such as Claude Code and Codex. Their terminals keep running in a background server that scripts and agents drive through a CLI and socket API.

Verdict Agents inside a herdr pane can split panes, start other coding agents, prompt them and wait on their state through a CLI and a local socket API with a published JSON Schema. It is pre-1.0 local software with no sandbox, and any process in a pane can type into another agent's terminal.

Best for A developer who runs several coding agents in terminals, locally or over SSH, and wants one agent to start, prompt and wait on others.

Strengths

  • herdr api schema --json prints a JSON Schema for every socket request, response, error and event, and the docs are versioned per release
  • agent prompt --wait sends a prompt and waits for the agent to settle in one request, and refuses with agent_blocked when the agent is at an approval dialogue
  • Apache-2.0, with no account and no telemetry found in the source. Version and manifest checks to herdr.dev can each be turned off

Weaknesses

  • Version 0.9.5, not yet 1.0, and the last tagged release is 14 October 2026
  • No sandbox and no permission model inside a session. Any process in a pane can send keys to another agent's pane
  • No SECURITY.md, disclosure policy or security.txt

Price Free · OSSAuth Nonex402 NoLocal

Full assessment

Head to head

All 1890 comparisons in this category

Questions

What are the highest-rated agent harnesses and coding agents for AI agents?

OpenAI Codex has the highest benchmark score of the 63 ranked agent harnesses and coding agents, 77.3 (BB). OpenAI Agents API is second with 75.2 (BB).

How many agent harnesses and coding agents are agent-ready?

11 of the 63 ranked here grade BB or better, the bar for agent-ready on the Anchor benchmark.

Which agent harnesses and coding agents accept x402 payments?

None of the ranked listings here accepts x402 for its main call yet.

How is this list ranked?

By the Anchor benchmark score out of 100, a weighted mean of the scored categories minus deductions for negative events, from public evidence re-checked as vendors change. Listings cannot pay for a place. The latest assessment behind this page is from 23 November 2026.

How this list is made

The order is the Anchor benchmark score, the same number as on each listing and in the top list. Each listing is graded from public evidence against the benchmark checklist, and the picks above are worked out from those grades, prices and facts. No listing pays for its place, and paid audits or listing help never change a score.

Full ranked table · 1890 head-to-head comparisons · Best tools in every category

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.