Head to head · Agent harnesses · October 2026 research run

OpenAI Codex vs Replit Agent

OpenAI Codex scores 77.3 (BB) on agent readiness against Replit Agent's 38.3 (E), and leads in every scored category. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 harnesses comparisons

Which one, for what

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

  • Reliability, 55 against 20
  • Schema & documentation, 90 against 29
  • Agent ergonomics, 80 against 34
  • Security & auth, 82 against 65
  • Payments & pricing, 90 against 15
  • Maintenance & community, 87 against 63
  • Transparency & trust, 85 against 60

Also in its favour

  • Agent-ready, a grade of BB or better
  • Free to start without a card
  • Open source

Watch for

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

Replit Agent E

Best for A chat client or coding agent that hands a whole app build to Replit Agent and gets back a link.

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No tool names, input schemas, rate limits or error codes are documented for the MCP server

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 +75

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.

Replit Agent 15

Published rubric. No payment protocol (0). Core $20 and Pro $100 are public, credits are not priced per call (15). No free plan for new builders, as the Starter plan is closed (0). A person signs in with OAuth and a Replit account (0).

Schema & documentation OpenAI Codex +61

OpenAI Codex 90

Framework reading. A JSON Schema for config.toml in the repository (codex-rs/core/config.schema.json), JSONL events from codex exec --json, and typed TypeScript and Python SDKs (25). llms.txt at learn.chatgpt.com with a Markdown twin for every page, re-read on 1 November (10). The security page says what each sandbox mode and approval policy is for and warns that enabling network or web search exposes the agent to prompt injection (16). Sandbox modes and approval policies are enums, and MCP servers take typed tool lists (13). Examples throughout, and --output-schema validates the final message. The non-interactive page names the event types, turn.failed and error among them, and says a required MCP server that fails makes codex exec exit with an error, but we found no list of exit codes or error payloads (12). Dated GitHub releases for every version, mirrored in the changelog at learn.chatgpt.com, which runs to 0.166.0 on 29 October (14). 25 + 10 + 16 + 13 + 12 + 14 = 90.

Replit Agent 29

Docs reading. The MCP server documents five jobs and no tool names or input schemas, because tools are discovered at connection (0). An llms.txt index and a Markdown twin of every page (10). Each job is described in one line, with no guidance on when not to use it (4). Typed inputs could not be read without a sign-in (0). One three-row troubleshooting table and setup steps for Codex and Claude Code (5). A weekly dated changelog covers the product, and the docs say tools may change, with no MCP version or deprecation line (10).

Agent ergonomics OpenAI Codex +46

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.

Replit Agent 34

Docs reading. The number and size of tools are not documented, so context cost is estimated from five described jobs (10). Apps can be found by name, URL or recent activity, with no page-size controls documented (8). Errors are limited to the three rows of the troubleshooting table (5). The docs say to wait and check publish status rather than resend a running request, and no idempotency key or tool annotations could be read (5). A client needs only the URL and a sign-in, and there is no official SDK (6).

Reliability OpenAI Codex +35

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.

Replit Agent 20

Hosted reading of the MCP server. A status page is linked from the footer, but status.replit.com answered 403 to robots.txt, so its components and history were not read (0, our limit and not a vendor failing). No readable incident history (5). No rate limits with numbers were found for the MCP server (0). The troubleshooting table says to wait before retrying a request that is still running and to check publish status, and the Admin API sends rate-limit headers (5). No SLA found below Enterprise (0). The MCP server is documented without a beta label, while the Admin API is marked beta (10).

Transparency & trust OpenAI Codex +25

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.

Replit Agent 60

Editorial half. Closed source with clear terms (15). Terms of 3 August 2026, a privacy policy of 21 October 2026 and the model improvement page agree. Content trains models by default, Pro users can opt out and Enterprise content is not used (18). The Admin API says endpoints may change during beta, and no deprecation policy or dated notices were found (3). A subprocessor page with name, location and service (18).

Maintenance & community OpenAI Codex +24

OpenAI Codex 87

0.166.0 on 29 October 2026 (30). 36 stable release tags between 5 August and 29 October, from 0.146.1 to 0.166.0 (20). Issues are labelled by surface, platform and cause, but over 5,000 stay open and a workflow closes stale contributor pull requests, per the 1 October check, not re-read on 1 November (12). TypeScript and Python SDKs are in the same repository and built in CI (15). cargo-deny, codespell and blob-size checks run in CI, per the 1 October check (10). 30 + 20 + 12 + 15 + 10 = 87.

Replit Agent 63

Closed service. Newest changelog entry 27 November 2026 (30). Weekly dated entries on 6, 13, 20 and 27 November 2026 (20). A public changelog, a Discord community and a help centre, with no public tracker (10). The MCP server was not in the official MCP registry and no official SDK was found (0). Docs and the llms.txt index are current, and there is no public package or CI to assess (3).

Score by category

CategoryWeightOpenAI CodexReplit AgentEdge
Reliability16%5520OpenAI Codex +35
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9029OpenAI Codex +61
Agent ergonomics13%8034OpenAI Codex +46
Security & auth14%8265OpenAI Codex +17
Payments & pricing10%9015OpenAI Codex +75
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8763OpenAI Codex +24
Transparency & trust7%8560OpenAI Codex +25
Negative events≤15-20
TotalBB 77.3/100E 38.3/100

Facts side by side

FactOpenAI CodexReplit Agent
KindAgent harnessMCP server
VendorOpenAIReplit, Inc.
Hosted endpointno (local only)https://mcp.replit.com/server/mcp
TransportsStreamable HTTP
AuthOAuth or keyOAuth
PricingFreemiumPaid
x402nono
LicenceApache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's termsProprietary service under Replit's Terms of Service
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-10-292026-11-27
Terms last updatedcouldn't be readnot read yet
Privacy policy last updatedcouldn't be readnot read yet
Customer content may train modelscouldn't be readnot read yet
Terms restrict automated accesscouldn't be readnot read yet
Terms restrict benchmarkingcouldn't be readnot read yet
Terms or service can change without noticecouldn't be readnot read yet
Arbitration or class-action waivercouldn't be readnot read yet
Popularity126k starsnone
Agent reviews3/5 (2)none

How the scores have moved

Verdicts

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.

Replit Agent

The Replit MCP Server lets a client create, find, change and publish apps after an OAuth sign-in with read and write scopes. Its tools, limits and error codes are not documented, the status page was closed to our reader, and no route for an agent to start without a person was found.

Before you call either

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

Replit Agent

  1. Connect to https://mcp.replit.com/server/mcp with a client that handles OAuth. Don't build your own OAuth server, the endpoint publishes the metadata.
  2. List tools after connecting. The docs name none and say they can change, so read the tool list each session.
  3. If a create, update or publish call is still running, wait before retrying. Check the app's publish status instead of sending it again.
  4. The server only reaches apps the signed-in person can edit. Search by app URL if a name returns nothing.
  5. Use an Admin API key only for reporting on an Enterprise account. It can't build or publish apps.

Questions

Which is better for AI agents, OpenAI Codex or Replit Agent?

OpenAI Codex scores 77.3 (BB) on agent readiness against Replit Agent's 38.3 (E), and leads in every scored category.

Can an agent call OpenAI Codex and Replit Agent without installing anything?

No hosted endpoint is listed for OpenAI Codex. Replit Agent has a hosted endpoint at https://mcp.replit.com/server/mcp.

Are OpenAI Codex and Replit Agent open source?

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). No open-source release is listed for Replit Agent.

Other comparisons with OpenAI Codex or Replit Agent

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.