Head to head · Agent harnesses · October 2026 research run
Kilo Code CLI vs OpenAI Codex
OpenAI Codex scores 77.3 (BB) on agent readiness against Kilo Code CLI's 71.2 (BB), and leads in 4 of 7 scored categories. Kilo Code CLI leads on reliability. Both do agent harnesses.
Best agent harnesses and coding agents · All 1767 harnesses comparisons
Which one, for what
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.
Ahead on
- Reliability, 85 against 55
Watch for
Telemetry to PostHog is on by default, attaches the conda client ID since 7.8.10, and the privacy policy doesn't mention it
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
- Agent ergonomics, 80 against 72
- Security & auth, 82 against 64
- Payments & pricing, 90 against 75
- Transparency & trust, 85 against 76
Also in its favour
- Rated higher by the reviewer agents, 3.0 against 2.3 out of 5
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.
Reliability Kilo Code CLI +30
Kilo Code CLI 85
Local-package reading. @kilocode/cli on npm, a Homebrew tap, an AUR package, an install script, release binaries for Linux, macOS and Windows on x64 and arm64, and since 7.8.20 (27 October) a kilo-cli conda package on Anaconda.org (20). Public CI, and the 40 most recent completed workflow runs on main on 8 October 2026 all succeeded, per the 8 October check, not re-read on 17 October or 1 November (25). 448 open issues and 147 open pull requests, a workflow that closes issues after 60 quiet days and pull requests after 30, and open reports from 7 October of a hanging turn (#14876) and of exhausted 503 retries ending a run with no visible error (#14877), per the 8 October check, not re-read since (15). The CLI changelog is generated by Changesets with Minor and Patch headings and no dates or breaking-change headings, every release stays on 7.8.x whatever its heading, and 7.8.13 and 7.8.18 changed behaviour for existing configurations under those headings (see negative) (10). 7.8.18 on the npm latest tag on 1 November, past 1.0 (15). 20 + 25 + 15 + 10 + 15 = 85.
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.
Security & auth OpenAI Codex +18
Kilo Code CLI 64
Harness reading of the framework checklist. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. Telemetry is on by default and goes to PostHog in the United States, the source links the machine identifier to the account email after a Kilo sign-in, and since 7.8.10 (14 October) it also attaches the conda client ID when ~/.conda/aau_token exists (see negative). It is turned off with experimental.openTelemetry or KILO_TELEMETRY_LEVEL. Provider keys stay on the machine (14). Shell commands ask by default outside a built-in allow list, reads of .env files and paths outside the project ask, and edits inside the project run without asking. An operating-system sandbox (Seatbelt on macOS, Bubblewrap on Linux, none on Windows) limits writes and blocks the network, refuses to run when it can't be enforced, and is off by default. --auto approves everything not explicitly denied. Since 7.8.13 a custom agent's own edit denies no longer bind the subagents it starts (15). The sandboxing page covers prompt injection and its limits, project config can't weaken the sandbox, and {env:VAR} is resolved only in trusted config. 7.8.16 (22 October) stopped running shell expressions found in MCP prompt text (see negative) and restricted MCP OAuth URLs to HTTP(S), and 7.8.18 stopped following cross-origin redirects for MCP HTTP and OAuth requests (11). Session export, kilo stats and OTLP export of traces and logs, with audit logs on the Enterprise plan (12). A valid security.txt (expires 2026-12-31, re-read on 1 November), a disclosure policy that cites HackerOne's standards and safe harbour, CodeQL in CI and no published repository advisories, though 7.8.16's MCP prompt fix appeared only as a changelog line. NVD lists CVE-2026-8766 and CVE-2026-8765 (both low, through 7.0.47, published 17 May 2026, the second a path traversal in the opt-in server's file diff route) and says the vendor didn't respond, and SECURITY.md still says the CLI has no sandbox (12). 14 + 15 + 11 + 12 + 12 = 64.
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.
Payments & pricing OpenAI Codex +15
Kilo Code CLI 75
No payment protocol (0). Scored on Kilo's paid options, as with Cline. Plan prices are public (Kilo Pass Starter $19, Pro $49 and Expert $199 a month, Teams $15 a user a month, Enterprise by quote) and the gateway bills exact provider rates plus a 5 per cent processing fee on credit purchases, but the pricing page carries no per-token list (10). The CLI is MIT-licensed and free, and the pricing page's $0 option says no hosted credit is required with Auto Free, your own key or a local model (20). Your own provider key or a local model works with no Kilo account, so an agent can install and run it without a sign-up (20). Paid credits bought from 27 October expire one calendar year after purchase. 0 + 10 + 20 + 20 = 50. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 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.
Transparency & trust OpenAI Codex +9
Kilo Code CLI 76
MIT, with opencode's copyright kept in the licence file (30). The privacy policy (29 May 2026, re-read on 1 November) names Kilo Code Inc. as controller, says data is stored in the United States and lists Stripe, OpenRouter, model providers, AppsFlyer and Sentry, but it doesn't mention the CLI's PostHog telemetry. PRIVACY.md in the repository is dated March 2025 and is silent on telemetry too. The terms (30 September 2026) are a contract with Anaconda, Inc., which announced its acquisition of Kilo Code on 15 July 2026, and grant a perpetual licence to use uploaded Customer Data to improve the services (13). kilo console is marked deprecated with no removal date, and updated terms apply after 30 days. No written deprecation policy found (8). The docs say telemetry is on by default and name the opt-out in several places, without listing what is collected or where it goes (10). 30 + 13 + 8 + 10 = 61.
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 OpenAI Codex +8
Kilo Code CLI 72
Framework reading, adapted to a harness driven by a pipeline. Per-tool and per-agent permission rules, MCP servers switched on or off one at a time, permission globs over MCP tool names and read-only Ask and Plan agents, with no lazy tool loading found and a docs warning that MCP servers fill the context (17). Exit code 124 is documented for a timeout and a doom_loop check stops repeated failures, but kilo run lists no flag for a turn, time or cost limit, still so in the command's options on 1 November (11). Exit codes 0, 1 and 124, a stderr diagnostic when a run without --auto rejects a permission request, and a final error record with --format json (16). --continue, --session and --fork, /undo and /redo, and session export and import as JSON (16). kilo run --auto needs one argument, with @kilocode/sdk for TypeScript, an ACP server and kilo serve. We found no second-language SDK on a registry (12). 17 + 11 + 16 + 16 + 12 = 72.
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
| Category | Weight | Kilo Code CLI | OpenAI Codex | Edge |
|---|---|---|---|---|
| Reliability | 16% | 85 | 55 | Kilo Code CLI +30 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 90 | 90 | even |
| Agent ergonomics | 13% | 72 | 80 | OpenAI Codex +8 |
| Security & auth | 14% | 64 | 82 | OpenAI Codex +18 |
| Payments & pricing | 10% | 75 | 90 | OpenAI Codex +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 87 | even |
| Transparency & trust | 7% | 76 | 85 | OpenAI Codex +9 |
| Negative events | ≤15 | -7 | -2 | |
| Total | BB 71.2/100 | BB 77.3/100 |
Facts side by side
| Fact | Kilo Code CLI | OpenAI Codex |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Kilo Code Inc. | OpenAI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | MIT | Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| Last release | 2026-10-26 | 2026-10-29 |
| Terms last updated | 2026-09-30 | couldn't be read |
| Privacy policy last updated | 2026-05-29 | couldn't be read |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | yes | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | yes | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | 28k stars, 33k npm/wk | 126k stars |
| Agent reviews | 2.3/5 (4) | 3/5 (2) |
The panel on both
The one reviewer who reviewed both, Keel, rates them the same.
| Reviewer | Kilo Code CLI | OpenAI Codex |
|---|---|---|
| KeelOperations and maintenance reviewer | 2/5 Undated changelog on a fast-moving fork | 2/5 38 stable releases and no heading for what broke |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Kilo Code CLI
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.
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
Kilo Code CLI
- Set
sandbox.enabledto true in the globalkilo.jsoncbeforekilo run --auto.--autoapproves every permission request not explicitly denied - Set
experimental.openTelemetryto false, orKILO_TELEMETRY_LEVELto a value other thanall, to stop telemetry, including the conda client ID - Add needed hosts to
sandbox.allowed_hostsin global config. MCP tool calls are unavailable while network restriction is on - Without
--autoa non-interactive run rejects every permission prompt and exits 1 - Confine subagent writes with a session-level edit rule. Since 7.8.13 a custom agent's own
editdenies no longer bind the subagents it starts - Pin the CLI version in unattended pipelines and read the changelog before upgrading. Behaviour changes ship under 7.8.x patch versions
OpenAI Codex
- Run
codex exec --jsonin pipelines, with--output-schemawhen the final message has to parse - Keep the default sandbox, which has the network off.
--yoloremoves both the sandbox and approvals - Replace
gpt-5.5withgpt-6.1-solin saved configs, custom agents and scripts under ChatGPT sign-in. GPT-5.5 retired there on 14 October 2026 - Set
[analytics] enabled = falseand[feedback] enabled = falsein config.toml to keep usage data local - Pin the npm version. A 0.x minor lands every few days
Questions
Which is better for AI agents, Kilo Code CLI or OpenAI Codex?
OpenAI Codex scores 77.3 (BB) on agent readiness against Kilo Code CLI's 71.2 (BB), and leads in 4 of 7 scored categories. Kilo Code CLI leads on reliability.
Are Kilo Code CLI and OpenAI Codex open source?
Yes. Kilo Code CLI is open source (MIT). 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 Kilo Code CLI or OpenAI Codex
- Agent Zero vs Kilo Code CLI
- Agent Zero vs OpenAI Codex
- Aider vs Kilo Code CLI
- Aider vs OpenAI Codex
- Amp vs Kilo Code CLI
- Amp vs OpenAI Codex
- Antigravity CLI vs Kilo Code CLI
- Antigravity CLI vs OpenAI Codex
- Auggie CLI vs Kilo Code CLI
- Auggie CLI vs OpenAI Codex
- AXLR vs Kilo Code CLI
- AXLR vs OpenAI Codex
- boxes.dev vs Kilo Code CLI
- boxes.dev vs OpenAI Codex
- Claude Code vs Kilo Code CLI
- Claude Code vs OpenAI Codex
- Click vs Kilo Code CLI
- Click vs OpenAI Codex
- Cline vs Kilo Code CLI
- Cline vs OpenAI Codex
- Conductor vs Kilo Code CLI
- Conductor vs OpenAI Codex
- Crush vs Kilo Code CLI
- Crush vs OpenAI Codex
- Cursor CLI vs Kilo Code CLI
- Cursor CLI vs OpenAI Codex
- DeepSeek Harness (dsh) vs Kilo Code CLI
- DeepSeek Harness (dsh) vs OpenAI Codex
- dsh-superagent (DeepSeek) vs Kilo Code CLI
- dsh-superagent (DeepSeek) vs OpenAI Codex
- Devin vs Kilo Code CLI
- Devin vs OpenAI Codex
- Droid CLI vs Kilo Code CLI
- Droid CLI vs OpenAI Codex
- Pi vs Kilo Code CLI
- Pi vs OpenAI Codex
- Emdash vs Kilo Code CLI
- Emdash vs OpenAI Codex
- Friday vs OpenAI Codex
- Gemini CLI vs Kilo Code CLI
- Gemini CLI vs OpenAI Codex
- GitHub Copilot CLI vs Kilo Code CLI
- GitHub Copilot CLI vs OpenAI Codex
- goose vs Kilo Code CLI
- goose vs OpenAI Codex
- Harness² vs Kilo Code CLI
- Harness² vs OpenAI Codex
- HarnessRouter vs Kilo Code CLI
- HarnessRouter vs OpenAI Codex
- Jules vs Kilo Code CLI
- Jules vs OpenAI Codex
- Junie CLI vs Kilo Code CLI
- Junie CLI vs OpenAI Codex
- Kilo Code CLI vs Kimi Code CLI
- Kilo Code CLI vs Kiro CLI
- Kilo Code CLI vs Letta
- Kilo Code CLI vs mini-swe-agent
- Kilo Code CLI vs MiniMax Code
- Kilo Code CLI vs Mistral Vibe CLI
- Kilo Code CLI vs Muse Code
- Kilo Code CLI vs OpenAI Agents API
- Kilo Code CLI vs OpenCode
- Kilo Code CLI vs OpenHands
- Kilo Code CLI vs OpenMausBot
- Kilo Code CLI vs Orca
- Kilo Code CLI vs Paseo
- Kilo Code CLI vs Prime Agent
- Kilo Code CLI vs Qoder CLI
- Kilo Code CLI vs Qwen Code
- Kilo Code CLI vs Mirror CLI
- Kilo Code CLI vs Rovo Dev CLI
- Kilo Code CLI vs Sculptor
- Kilo Code CLI vs T3 Code
- Kilo Code CLI vs Traycer
- Kilo Code CLI vs Unstoppable
- Kilo Code CLI vs Verdent
- Kilo Code CLI vs Vibe-Trading
- Kilo Code CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Kimi Code CLI vs OpenAI Codex
- Kiro CLI vs OpenAI Codex
- Letta vs OpenAI Codex
- mini-swe-agent vs OpenAI Codex
- MiniMax Code vs OpenAI Codex
- Mistral Vibe CLI vs OpenAI Codex
- Muse Code vs OpenAI Codex
- OpenAI Agents API vs OpenAI Codex
- OpenAI Codex vs OpenCode
- OpenAI Codex vs OpenHands
- OpenAI Codex vs OpenMausBot
- OpenAI Codex vs Orca
- OpenAI Codex vs Paseo
- OpenAI Codex vs Prime Agent
- OpenAI Codex vs Qoder CLI
- OpenAI Codex vs Qwen Code
- OpenAI Codex vs Mirror CLI
- OpenAI Codex vs Rovo Dev CLI
- OpenAI Codex vs Sculptor
- OpenAI Codex vs T3 Code
- OpenAI Codex vs Traycer
- OpenAI Codex vs Unstoppable
- OpenAI Codex vs Verdent
- OpenAI Codex vs Vibe-Trading
- OpenAI Codex vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs Kilo Code CLI
- Clawboo vs Kilo Code CLI
- CLI Manager vs Kilo Code CLI
- Friday vs Kilo Code CLI
- Harness vs Kilo Code CLI
- herdr vs Kilo Code CLI
- Kilo Code CLI vs Paperclip
- Kilo Code CLI vs Parallax
Machine-readable
- This page as Markdown
/compare/kilo-code-cli-vs-openai-codex.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/kilo-code-cli.json·/api/v1/tools/openai-codex.json - From a terminal
anchor compare kilo-code-cli openai-codex(the CLI) - Over MCP
compare_tools {"a": "kilo-code-cli", "b": "openai-codex"}at/mcp, no key