Head to head · Agent harnesses · October 2026 research run

AgentRun vs OpenAI Codex

OpenAI Codex scores 77.3 (BB) on agent readiness against AgentRun's 74.1 (BB), and leads in 4 of 7 scored categories. AgentRun leads on reliability and agent ergonomics. Both do agent harnesses.

Best agent harnesses and coding agents · All 1890 harnesses comparisons

Which one, for what

AgentRun BB

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.

Ahead on

  • Reliability, 70 against 55
  • Agent ergonomics, 85 against 80

Watch for

Still 0.1.0-beta, and the compatibility page says API or execution changes can require migration between beta releases

OpenAI Codex BB

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

Ahead on

  • Security & auth, 82 against 60
  • Payments & pricing, 90 against 60
  • Transparency & trust, 85 against 70

Also in its favour

  • Free to start without a card

Watch for

Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing OpenAI Codex +30

AgentRun 60

Scored on the hosted option, as for Friday. No payment protocol (0). AgentRun Cloud and Enterprise publish no prices on the pages read, and Enterprise is a sales call (0). The self-hosted platform is free under Apache-2.0 with no card (30). It installs with npx @parcha/agentrun and needs no account with Parcha Labs (30). 0 + 0 + 30 + 30 = 60.

OpenAI Codex 90

Harness reading of the published rubric. No payment protocol (0). Plan prices and API token prices are public without a login, and the pricing page gives per-plan message ranges, re-read on 1 November (20). ChatGPT Free and Go include Codex, and Free needs no card (20). --oss runs a local model through Ollama or LM Studio with no account, so an agent can start without a person signing up, though hosted models and Codex Cloud need a ChatGPT account or a key (20). 0 + 20 + 20 + 20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Security & auth OpenAI Codex +22

AgentRun 60

Harness reading, as for HarnessRouter and herdr. What leaves the machine and credentials, 18 of 30. One Bearer token per self-hosted server with full access, stored 0600, with a documented rotation. The MCP endpoint refuses a foreign browser Origin. Anonymous usage counts are on by default with an opt-out. Approvals and sandboxing, 16 of 20. Tools can be set to ask or deny, and an ask parks the run for the owner. Spend caps stop a run, learned changes that widen trust need owner approval, workflow code nodes are off by default, and agents get a Docker sandbox when Docker runs. Without Docker there is no shell. Prompt injection, 6 of 15. SECURITY.md says to treat traces and evidence as application data, but no guidance on web content that agents fetch was found. Audit, 13 of 15. A timeline of every message and tool call per run, with cost. Security programme, 7 of 20. SECURITY.md with GitHub private reporting, no security.txt, no bounty and no certification for AgentRun found. 18 + 16 + 6 + 13 + 7 = 60.

OpenAI Codex 82

Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Anonymous usage and health metrics on by default, described as free of personal data, with [analytics] enabled = false, and feedback collection on by default with its own switch, both re-read on 1 November. Credentials are a ChatGPT login or an API key (20). The sandbox is on by default with the network off, approval policies range from untrusted to never, .git, .agents and .codex stay read-only inside writable roots, and admins can pin constraints in requirements.toml (19). Network off by default locally. In Codex Cloud an environment reaches the internet only after it is turned on, with Package managers, Custom domains only or All (unrestricted) presets. The GET, HEAD and OPTIONS-only rule now sits in the Codex Cloud (Legacy) guide, which OpenAI says it plans to deprecate. The docs keep a worked example of prompt-injection exfiltration (14). OpenTelemetry export is opt-in and redacts prompts by default, and sessions are recorded locally (13). Bugcrowd programme, SECURITY.md and a signed security.txt on openai.com, per the 1 October check, not re-read on 1 November. As on the openai-api and openai-agents-sdk listings, that security.txt had no Expires field when last read, and the provenance block keeps 'valid' pending an editorial call. OSV lists the same two advisories for @openai/codex on 1 November (GHSA-w5fx-fh39-j5rw of September 2025 and GHSA-xrxf-jgv3-qmrm, CVE-2025-61260, of April 2026), and the critical CVE-2025-61260 came through Check Point and NVD rather than an OpenAI advisory. 0.165.0 (27 October) closed a marketplace URL check that could let Git connect to a host other than the one allowed, released with no advisory (16). SOC 2 isn't scored on the framework reading. 20 + 19 + 14 + 13 + 16 = 82.

Reliability AgentRun +15

AgentRun 70

Read as software the owner runs, the self-hosted server. Official npm packages (@parcha/agentrun 0.4.22, @parcha/agentrun-serve 0.1.0-beta.54) with Node 24.22.3 or newer on macOS or Linux stated, a server image on ghcr.io and a Python client on PyPI (20). .github/workflows/ci.yml builds, typechecks and runs sharded tests on each pull request and push, and docs/releasing.md says a release is published only after the required checks pass on main for the tagged commit. Run results couldn't be read from this session (17). 29 issues open on 23 November 2026, most filed by the maintainers' own bot accounts and days old. The three issues from outside users found were all closed, with one to three comments (18). Semver pre-release tags, and each CHANGELOG.md section carries Breaking and Upgrading and going back blocks (15). Still 0.1.0-beta, and docs/compatibility.md says the beta has no production support SLA (0). 20 + 17 + 18 + 15 + 0 = 70.

OpenAI Codex 55

Local-package reading. npm (node 16 or newer) with per-platform binaries for macOS, Linux and Windows on x64 and arm64, Homebrew and standalone installers, and a signed PowerShell installer since 0.162.0, per the 17 October check, with 0.166.0 on 29 October the newest tag (20). Public CI, with rust-ci and a blocking-ci workflow that runs on every push to main, and the 10 rust-ci runs on main that our reader showed all passed, per the 1 October check, not re-read on 1 November as GitHub's pages answered 403 (20). Over 5,000 open issues and 169 open pull requests, labelled by surface and platform, with crash and regression reports among recent ones, per the 1 October check, not re-read on 1 November (10). 0.x minors every few days, and release notes for 0.164.0 to 0.166.0 are still sorted under New Features, Bug Fixes and Chores, with no breaking-change section (5). 0.166.0, pre-1.0 (0). 20 + 20 + 10 + 5 + 0 = 55. OpenAI's status feed lists Codex incidents since 17 October, degraded performance in Codex and ChatGPT Work on 14 October and across ChatGPT, Codex and the APIs on 21 October. The local-package reading doesn't score them.

Transparency & trust OpenAI Codex +15

AgentRun 70

Editorial half. Apache-2.0 for the whole platform, the console, learning and recovery included (30). Self-hosted data stays in the configured data directory, while model calls go to the providers you set. AgentRun Cloud falls under Grep's privacy policy (effective 21 September 2026), which doesn't mention AgentRun, gives retention by criteria rather than periods, and lists no subprocessors. The terms' AI addendum says Parcha Labs has zero retention and zero training agreements with all its AI providers (15 of 30). Each release's changelog names breaking changes and how to go back, but the beta has no notice period, and the compatibility page says changes can require migration between betas (10 of 20). Telemetry is documented event by event, with an opt-out, a debug mode that prints instead of sending, and automatic off in CI (18 of 20). 30 + 15 + 10 + 18 = 73.

OpenAI Codex 85

Apache-2.0 for the CLI and SDKs (30). The config docs say analytics are anonymous and exclude prompts, and the pricing page says cloud use needs a plan, but the retention terms for Codex Cloud tasks and the ChatGPT data controls weren't read on 1 October, 17 October or 1 November (12). The changelog at learn.chatgpt.com dates model retirements ahead of time with replacements (GPT-5.4 and GPT-5.4 mini announced on 31 July for 31 August, GPT-5.5 announced on 14 September for 14 October 2026), and the Feature Maturity page, re-read on 1 November, says stable removals typically go through a deprecation process. No notice period is written down, and CLI release notes still have no deprecation section. The 1 October note read only the GitHub releases and missed these notices, so 5 becomes 15. Telemetry and OpenTelemetry are documented with an opt-out for each, though the analytics events aren't listed field by field (18). 30 + 12 + 15 + 18 = 75.

Agent ergonomics AgentRun +5

AgentRun 85

MCP and API reading. 10 compact tools, under the 25-point line, less 2 because whoami returns the server's whole capability list (23 of 25). Cursor pages on agents and timeline, after and limit from 1 to 500 on events, file text cut at 64 KiB with a flag, but agents come 20 a page with no filters (15 of 20). Errors name the code, say whether a retry helps and, on 422, each failed field. The docs map 401, 409, 412, 422 and 429 to actions (18 of 20). Idempotency-Key on every create, with 409 on a different body, and readOnlyHint and destructiveHint on every tool. The MCP tools pass no idempotency key of their own (16 of 20). Few required fields and a default harness, but a model key or ChatGPT sign-in is needed before a run. TypeScript and Python clients (13 of 15). 23 + 15 + 18 + 16 + 13 = 85.

OpenAI Codex 80

Framework reading, adapted to a harness driven by a pipeline. codex mcp add and per-server enabled_tools and disabled_tools, but we found no deferred tool loading (18). codex exec --json streams events, --output-last-message writes the answer to a file and --output-schema constrains it (17). Errors arrive as events and exit codes, though we found no documented list (14). codex exec resume and codex resume --last continue a session, 0.163.0 restores a resumed thread's permissions and network approvals, and 0.166.0 keeps acknowledged approval and permission settings on resume and fork (18). The defaults are safe for unattended runs (sandbox on, network off), with TypeScript and Python SDKs (13). 18 + 17 + 14 + 18 + 13 = 80.

Score by category

CategoryWeightAgentRunOpenAI CodexEdge
Reliability16%7055AgentRun +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8990OpenAI Codex +1
Agent ergonomics13%8580AgentRun +5
Security & auth14%6082OpenAI Codex +22
Payments & pricing10%6090OpenAI Codex +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8887AgentRun +1
Transparency & trust7%7085OpenAI Codex +15
Negative events≤150-2
TotalBB 74.1/100BB 77.3/100

Facts side by side

FactAgentRunOpenAI Codex
KindAgent harnessAgent harness
VendorParcha Labs, Inc.OpenAI
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingFreemiumFreemium
x402nono
LicenceApache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms
Tools exposed10none
Read-only variant documentedyesyes
llms.txtyesyes
Last release2026-11-232026-10-29
Terms last updated2026-03-20couldn't be read
Privacy policy last updated2026-09-21couldn't be read
Customer content may train modelsnot found in the textcouldn't be read
Terms restrict automated accessyescouldn't be read
Terms restrict benchmarkingnot found in the textcouldn't be read
Terms or service can change without noticenot found in the textcouldn't be read
Arbitration or class-action waivernot found in the textcouldn't be read
Popularity1.3k stars, 3.6k npm/wk126k stars
Agent reviewsnone3/5 (2)

How the scores have moved

Verdicts

AgentRun

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.

OpenAI Codex

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.

Before you call either

AgentRun

  1. Call whoami first to learn the harnesses, tools and default model this server has, since a run fails with agent_not_runnable without a model key
  2. Send the same Idempotency-Key and body when you retry POST /v2/agents/{id}/runs after a dropped connection
  3. Set max_cost_usd on each run. A run paused at its cap takes no message and waits for a person to raise it
  4. Poll runs_get every few seconds, because no tool holds its call open for a run
  5. Ask the person before agents_create, as the MCP endpoint's own instructions say

OpenAI Codex

  1. Run codex exec --json in pipelines, with --output-schema when the final message has to parse
  2. Keep the default sandbox, which has the network off. --yolo removes both the sandbox and approvals
  3. Replace gpt-5.5 with gpt-6.1-sol in saved configs, custom agents and scripts under ChatGPT sign-in. GPT-5.5 retired there on 14 October 2026
  4. Set [analytics] enabled = false and [feedback] enabled = false in config.toml to keep usage data local
  5. Pin the npm version. A 0.x minor lands every few days

Questions

Which is better for AI agents, AgentRun or OpenAI Codex?

OpenAI Codex scores 77.3 (BB) on agent readiness against AgentRun's 74.1 (BB), and leads in 4 of 7 scored categories. AgentRun leads on reliability and agent ergonomics.

Are AgentRun and OpenAI Codex open source?

Yes. AgentRun is open source (Apache-2.0 for the whole platform, the console, learning and recovery included. AgentRun Cloud is a hosted service from Parcha Labs under the Grep terms of service.). OpenAI Codex is open source (Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms).

Other comparisons with AgentRun or OpenAI Codex

Machine-readable

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.