AI coding harness comparison: 16 agents, every cell checked
Updated Fact-checked
Codex CLI, Antigravity CLI and GitHub Copilot CLI all document a native Windows sandbox. The supported Windows builds and the actions each sandbox covers differ. This AI coding harness comparison covers 16 agents by model access, accounts, permissions and operating system. Rows named CLI describe the terminal client. A “?” marks a feature the vendor does not document.
Models and sign-in#
| Harness | Who makes it | License | Models | Sign in with a subscription | Local models |
|---|---|---|---|---|---|
| Claude Code | Anthropic | Proprietary | Claude only (Anthropic, Bedrock, Vertex, Foundry) | Claude plans, or an Anthropic Console account | No official support |
| Codex CLI | OpenAI | Apache-2.0 | OpenAI and compatible providers configured in config.toml |
ChatGPT sign-in or an OpenAI API key | --oss with Ollama or LM Studio |
| OpenCode | Anomaly Innovations (the SST team) | MIT | Any provider | ChatGPT, GitHub Copilot, GitLab Duo; not Claude plans | Yes: Ollama, LM Studio, llama.cpp |
| GitHub Copilot CLI | GitHub (Microsoft) | Proprietary | Copilot’s models (Claude, GPT and others), plus your own OpenAI-compatible, Azure or Anthropic keys | Copilot plans | Yes: Ollama, vLLM, Foundry Local |
| Cursor CLI | Cursor | Proprietary | Models available to your Cursor account | Browser login or a Cursor API key for automation | ? |
| Antigravity CLI | Google’s terms; no open-source license | Gemini plus a fixed list including Claude models | Google account (Free, Pro, Ultra), or an API key | Not in the CLI (the SDK only) | |
| Gemini CLI | Apache-2.0 | Gemini only | Gemini Code Assist Standard or Enterprise only, since June 2026 | ? | |
| DeepSeek Harness | DeepSeek | MIT | DeepSeek, plus Anthropic, OpenAI, Kimi, GLM and custom endpoints | DeepSeek account | Through a custom endpoint to a self-hosted server |
| Aider | Paul Gauthier | Apache-2.0 | Any provider | No (a Copilot token workaround is documented) | Yes: Ollama, LM Studio, any OpenAI-compatible server |
| goose | Agentic AI Foundation (Linux Foundation); started by Block | Apache-2.0 | Any provider | Direct ChatGPT Plus/Pro browser sign-in on CLI and desktop, or a separately authenticated ACP agent | Yes: Ollama |
| Cline | Cline Bot Inc. | Apache-2.0 | Any provider | Cline usage billing, ClinePass or supported provider sign-in. The extension offers ChatGPT sign-in | Yes: Ollama, LM Studio |
| Pi | Mario Zechner | MIT | Any provider | Yes, with /login (Copilot documented) |
Yes: llama.cpp built in; Ollama, LM Studio, vLLM by config |
| Hermes Agent | Nous Research | MIT | Any provider | ChatGPT; Claude Max with extra usage only; Copilot through a plugin; Nous Portal | Yes: Ollama, LM Studio, llama.cpp, vLLM |
| Kilo Code | Anaconda, since July 2026 | MIT (agent repository) | Any provider, through Kilo Gateway or your own keys | ChatGPT plans; Kilo’s own plans; not Claude plans | Ollama or LM Studio. Desktop 1.0 can also import GGUF models |
| IBM Bob | IBM | Proprietary | Routes each task between Claude, Mistral and IBM’s Granite models | IBM account; Bob plans per instance | Yes: self-hosted, on-premises and air-gapped since October 2026 |
| Contenox Harness | Contenox | Apache-2.0 | Most major providers by API key, plus OpenAI-compatible servers | ChatGPT. Optional unofficial sign-ins for Copilot and the external Claude Code agent | Yes: built-in Local AI on Windows x64, Ollama, vLLM |
Claude Code supports subscriptions through its own account flow. For other software, Anthropic lists Console API keys, cloud credentials and linked billing. In Contenox Harness, Anthropic is a key-based backend. The Claude subscription option belongs to the separately installed Claude Code agent and requires enabling Allow unofficial sign-ins. Anthropic account guidance · Contenox Harness Claude setup.
Windows, permissions and sandbox#
The permission column describes what the client approves. The sandbox column describes operating-system isolation. For example, Copilot CLI can ask before a command even with its local sandbox switched off. GitHub’s sandbox setup.
| Harness | Windows native | Permission model | OS sandbox | Interface |
|---|---|---|---|---|
| Claude Code | Yes | Allow, ask and deny rules. Eligible interactive sessions can start in Auto | macOS, Linux, WSL2; not native Windows | Terminal, VS Code, JetBrains, desktop, web, mobile |
| Codex CLI | Yes | Sandbox mode plus approval policy. --approve-for-me sends approval requests to a reviewer |
macOS, Linux, native Windows | Terminal |
| OpenCode | Yes, desktop and CLI | Allow, ask or deny by action and resource | Tool permissions documented; use an isolated environment for OS-level containment | Terminal, desktop, IDE, web and mobile |
| GitHub Copilot CLI | Yes | Asks by default. Allow and deny rules and Assisted approval are available | Opt in with /sandbox enable on macOS, Linux or a supported Windows 11 build |
Terminal |
| Cursor CLI | Yes | Allow and deny rules; --force skips approvals |
macOS, Linux; on Windows only inside WSL2 | Terminal |
| Antigravity CLI | Yes | Modes (auto, plan, default, accept-edits); allow, ask and deny rules |
Linux, macOS, native Windows (Windows 11 24H2 with a 2026 update) | Terminal and compatible editors through ACP |
| Gemini CLI | Yes | Approval modes default, auto_edit, plan, yolo; trusted folders |
macOS, Linux (containers), native Windows | Terminal, VS Code companion |
| DeepSeek Harness | ? | Presets: workspace-write (asks before risky actions) or danger-full-access |
Linux, macOS; Windows partial | Web UI on localhost, CLI, ACP |
| Aider | Yes | Confirms actions; --yes-always approves all |
None | Terminal, experimental browser UI |
| goose | Yes | Four modes; the default, Completely Autonomous, never asks | None (the experimental macOS sandbox was removed) | Desktop app, CLI |
| Cline | Yes | Asks by default; auto-approve per category; YOLO | None locally | VS Code, JetBrains, CLI, desktop app, cloud agents |
| Pi | Yes | None by design; extensions can add approval gates | None; the docs recommend a container or VM | Terminal, SDK |
| Hermes Agent | Yes | smart (a model judges risk, the default), manual or off |
None on the host; Docker, SSH or cloud backends isolate commands | Terminal, desktop app, editors through ACP, messaging apps |
| Kilo Code | Yes | Allow, ask or deny per tool, ask by default | macOS, Linux; not Windows | VS Code, JetBrains, CLI, desktop app, cloud |
| IBM Bob | Yes | ? | ? | Bob IDE, Bob-Shell in the terminal, IBM-managed or on-premises |
| Contenox Harness | Yes, Windows first | Visible rules: Allow, Ask me first or Block for reads, edits and commands | Native Windows: writes limited to the project folder | Desktop app. Contenox Runtime provides contenox-runtime for scripts and CI. |
Roo Code shut down on 15 May 2026. Its repository is archived. Alongside the CLI products in the table, Codex, GitHub Copilot and Cursor each have desktop and cloud options. The cloud features and their account requirements differ. Codex access · Copilot clients · Cursor clients · Roo’s closure notice.
Three status notes. DeepSeek Harness is a developer preview: DeepSeek warns of breaking changes and says it hasn’t been security audited. Aider still works, but its last release was in February 2026, and before that August 2025. OpenAI proposed 12 November as a transition date for its model contract with Cursor. Its current help page still says the end date awaits confirmation and describes how to use an OpenAI key or the Codex extension inside the editor. OpenAI’s Cursor FAQ.
A field observation: a model vendor can also become the harness vendor. The LinkedIn post “OpenAI is rapidly consuming the application layer” listed Codex, the Atlas browser, the Sora app and a companion product, and drew the conclusion that building an AI product on a provider that keeps shipping its customers’ ideas is a risk of its own, on top of lock-in and privacy. The Cursor notice is one concrete form of it: a harness that depends on one provider’s models can lose them by contract, not by outage. Harnesses that take any provider, in the first table, carry that risk per model rather than for the whole tool.
Is there a harness leaderboard?#
Not one that ranks all of these. The closest:
- Terminal-Bench 2.0 lists agent and model separately, and its open submission files let you compare harnesses on the same model. For Claude Opus 4.6: about 63% in Terminus 2 (the benchmark’s own minimal agent), about 60% in GitHub Copilot CLI, about 74% in KRAFTON AI’s Terminus-KIRA. The submissions are public.
- Terminal-Bench 4.0, the current version, mostly lists each vendor’s model in its own harness. As of 7 November 2026, Claude Code with Opus 5.5 leads at 64.8%, followed by Claude Code with Sonnet 5.5 at 61.8% and Codex with GPT-6 Astra at 58.2%. That compares model-and-harness pairs, not harnesses.
- “How good is your harness?”, a paper at an ICML 2026 workshop, separated harness from model on Terminal-Bench 2.0 and found that picking the best harness gains about as much as picking the best model, and that some harnesses suit some models better than others. The source code shows the same tuning: Aider’s
model-settings.ymlsets the edit format per model, and Codex ships separate system-prompt files for individual GPT models, such asgpt_5_codex_prompt.md.
None of the open-source, any-model harnesses (OpenCode, Kilo Code, Cline, Pi) has an official Terminal-Bench 4.0 entry, so “OpenCode vs Claude Code” on a benchmark has no current, like-for-like answer. Run both on one real task in your repo instead. What the benchmarks measure, and how much to trust them, is in AI coding benchmarks.
Which one for whom#
- You pay for Claude Pro or Max: Claude Code. It’s the only harness that uses that plan directly, and it’s built alongside the models.
- If you pay for ChatGPT, Codex CLI uses your ChatGPT account and includes a native Windows sandbox. The same CLI can run a separate Ollama or LM Studio model with
--oss. - You work at a bank, an insurer or anywhere code can’t leave the building: IBM Bob. It went generally available in April 2026 and runs on-premises or air-gapped since October, with task routing between Claude, Mistral and Granite. It’s priced per instance, with paid add-ons for Java, IBM i, Z and DevSecOps.
- You pay for Copilot at work: Copilot CLI, or OpenCode with your Copilot sign-in if you want an open-source harness on the same plan.
- For open-source clients with multiple providers, OpenCode has terminal, desktop, web and mobile clients. Cline and Kilo Code also offer editor integrations. Check the relevant client’s permission settings and sandbox support before running it on a project.
- You want to run local models: Codex, OpenCode, Copilot CLI, Pi and Hermes Agent all document Ollama. Pi has llama.cpp built in.
- Mainly on DeepSeek: DeepSeek Harness, if a developer preview is acceptable; otherwise OpenCode or Kilo Code with a DeepSeek key. DeepSeek is cheap enough to change the math: one month of a solo developer’s use on the DeepSeek API was 23,815 requests and 7.86 billion tokens.
- You want a tiny harness you can read and change: Pi. It never asks before acting, so run it in a container.
- You want an agent in Slack, Telegram or email, not just code: Hermes Agent.
- You’re on Windows and want a sandbox: Codex natively, Antigravity CLI on a current Windows 11, or Copilot CLI with its local sandbox enabled. Claude Code and Cursor need WSL2 for theirs.
- “Best harness for vibe coding”: the one with the least setup between you and a running app: Claude Code or Codex with the subscription you have, or a desktop app if the terminal is in your way. Keep a sandbox or tight permissions on, because vibe coding means you aren’t reading every command.
Contenox Harness#
Contenox Harness is an Apache-2.0 desktop app for Windows x64, Apple silicon Macs and Linux x64. Its built-in agent can use ChatGPT, API keys or a local model. For an external Claude Code session, open Agents and choose the account route explained in the provider guide. Permissions shows the rules for your workspace. Claude setup · Contenox Harness downloads.
Windows x64 builds from 1.0.22 include native Local AI: detect your hardware, get a model recommendation, download it and run it from the app. A local model inventory handles further downloads, choosing your chat model and removing model files. You can also connect an existing Ollama server. See local setup and model management, or download Contenox Harness.
Related guides#
What is an AI coding harness?: harness vs agent vs model, and harness engineeringWhat is an AI coding harness? Harness vs agent vs modelWhat is an AI coding harness? The program around the model: loop, tools, context, permissions. How it differs from the model, and why it changes the results.
Best AI coding agents: ranked by what they’re best atBest AI coding agents 2026: ranking and comparisonThe best AI coding agents in November 2026, ranked by stated criteria: benchmark results, model choice, Windows support and cost model, with a pick for each need.
Open source AI coding agents: every license, checkedOpen source AI coding agents in 2026: every license checkedEvery notable open source AI coding agent with its license, interface and models, checked November 2026, plus what open source does and doesn't get you.
AI coding agents on Windows: what works natively and what needs WSLAI coding agents on Windows: native or WSL, agent by agentWhich AI coding agent runs natively on Windows and which needs WSL: install commands, shell, sandbox and config path for each, plus the Windows traps that bite.
YOLO mode: what each tool’s skip-all switch turns offYOLO mode in Claude Code, Codex, Copilot and CursorYOLO mode turns off a coding agent's approval prompts. The exact flag in Claude Code, Codex, Copilot, Cursor and OpenCode, what each one turns off, and what's left.
Open source AI agentsOpen source AI agents: the best in 2026, every license checkedThe open source AI agents worth running in 2026: goose, OpenCode, Hermes Agent, Agent Zero, OpenHands and more, with license, interface and maintainer checked.
vs CursorCursor alternative: what to use instead, and when to stayLooking for a Cursor alternative? The usual reasons people leave, which settings help first, the main options by need, and who is better off staying with Cursor.