Head to head · Agent harnesses · October 2026 research run
Gemini CLI vs Harness²
Gemini CLI scores 66 (B) on agent readiness against Harness²'s 45 (E), and leads in 6 of 7 scored categories. Harness² leads on payments & pricing. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
Best for Teams with Gemini Code Assist Standard or Enterprise licences, or paid Gemini API or Vertex AI credentials, that want an open-source harness with documented headless output.
Ahead on
- Reliability, 71 against 25
- Schema & documentation, 93 against 54
- Agent ergonomics, 78 against 59
- Security & auth, 67 against 50
- Maintenance & community, 88 against 13
- Transparency & trust, 90 against 49
Also in its favour
- Rated higher by the reviewer agents, 3.5 against 2.5 out of 5
Watch for
Sandboxing is off by default, and the default macOS profile allows network
Harness² E
Best for Researchers who want to reproduce or extend the paper's per-task harness refinement on JobBench, LAB or WorkBuddy-Bench with OpenCode or Codex on Vertex AI.
Ahead on
- Payments & pricing, 60 against 30
Also in its favour
- No key needed to call it
- No incidents deducted, where Gemini CLI loses 7 points for them
Watch for
No hosted API, MCP server or tagged release. It installs from a source checkout only, and harness2 isn't on PyPI
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.
Maintenance & community Gemini CLI +75
Gemini CLI 88
0.66.0 on 2026-10-27 (30). 14 stable releases from 3 August to 1 November (0.54.0, 0.54.4, 0.55.1 and 0.56.0 to 0.66.0), plus weekly previews and nightlies, read from the repository's tags and changelog (20). 583 open issues with priority labels and bot triage, and 252 open pull requests, though some P1 security reports sat unassigned, per the 2 October check (18). A TypeScript SDK (packages/sdk) in the repository and the run-gemini-cli GitHub Action, but no SDK in a second language (10). CI, nightly evals and an Allstar policy (10). 30 + 20 + 18 + 10 + 10 = 88.
Harness² 13
Version 0.1.0 has been in pyproject.toml since the first commit on 8 October 2026, and no tag, GitHub release, PyPI package or changelog entry has ever been published. This run doesn't count an untagged version or commits on main as releases, as for the AgentGate listing, so neither 0.1.0 nor the 17 outside fixes merged on 1 and 2 November set recency (0 of 30; 30 on 18 October). No tags, releases or dated changelog entries (0). Seventeen outside pull requests were merged on 1 and 2 November, the first outside changes on main. Open counts and reply times couldn't be read, since the GitHub pages and API refuse this session and the 18 October counts came from shields.io (struck) (10 of 25). Not on PyPI and no SDK (0). No CI. Dependencies are pinned by version and upstream checkouts by commit, and a ruff configuration is in pyproject.toml (3 of 10). 0 + 0 + 10 + 0 + 3 = 13.
Reliability Gemini CLI +46
Gemini CLI 71
Local-package reading. npm with engines node 20 or newer, plus npx, Homebrew, MacPorts and conda, with stable, preview and nightly channels (20). Public CI with ci.yml and a chained end-to-end workflow in the repository; the 10 most recent Testing CI runs on main all passed per the 2 October check, not re-read on 1 November because GitHub's pages are closed to this session (25). 583 open issues and 252 open pull requests, triaged by bot and by hand with priority labels, though several P1 security reports from 13 September were unassigned, per the 2 October check (18). releases.md says the project follows semver as closely as possible with weekly minors and patch fixes between, but release notes have no breaking-change heading and no commit since 1 August is marked breaking (8). 0.66.0, pre-1.0 (0). 20 + 25 + 18 + 8 + 0 = 71.
Harness² 25
Local-package reading. Not on PyPI (the release feed for harness2 answered 404 on 18 October). It installs from a source checkout with uv pip install -e, with Linux and Python 3.12 stated (the package allows 3.13), plus Node.js 20, the Google Cloud CLI, and Docker, Pandoc and Poppler for some benchmarks (10 of 20). Still no CI workflow in the repository on 10 November. The tests folder now holds 15 test files, up from one, run by nobody in public (5 of 25). On 1 and 2 November the maintainers merged 17 outside pull requests, among them fixes for the reported regressions (the missing .env.example, seeds lost between refinement and grading, resume, incomplete grades scored, judge failures). How many issues and pull requests stay open couldn't be read, since the 18 October counts came from shields.io and are struck (10 of 25). No tags or changelog (0). Version 0.1.0, research code that the README says is not an officially supported Google product (0). 10 + 5 + 10 + 0 + 0 = 25.
Transparency & trust Gemini CLI +41
Gemini CLI 90
Apache-2.0 (30). The terms page maps each sign-in method to its terms and privacy notice, the FAQ states when data trains models and how to opt out, and the telemetry page says what usage statistics leave out, but retention periods sit in the linked Google notices rather than the CLI docs (22). Dated deprecation notices exist. The 19 May 2026 Google blog gives the 18 June 2026 shutdown, and the Code Assist pages give 9 October 2026 for the end of new Standard and Enterprise subscriptions and the January and December 2027 renewal dates. A written release policy, and the Google Cloud terms set the deprecation policy for Gemini products sold there. The README now states the change, but the quota and pricing page beneath the docs banner still advertises the ended tier (15). Telemetry documented with an opt-out, though prompts are logged by default once OpenTelemetry is on (18). 30 + 22 + 15 + 18 = 85.
Harness² 49
Apache-2.0 under Google LLC, with each bundled runner's licence and provenance file and a hash list. The WorkBuddy runners carry Tencent's custom licence, which has an EU territorial limitation (26 of 30). The docs list every host setup contacts and say credentials, generated configuration and run artefacts are not release assets. No privacy statement covers the package, and task data goes to the configured model provider (12 of 30). No deprecation policy or notices for the 0.1.0 research release (0). No telemetry found in the source, and the docs don't say either way. OpenCode's telemetry is turned off only in the WorkBuddy configs (10 of 20). 26 + 12 + 0 + 10 = 48. Re-read from the 10 November clone; unchanged.
Schema & documentation Gemini CLI +39
Gemini CLI 93
Framework reading. settings.schema.json in the repository, and a generated configuration reference with the type, default and restart rule of every key (25). llms.txt at geminicli.com serving the documentation as Markdown (10). Pages say when to use each approval mode and sandbox method and what each sandbox profile allows (15). Approval modes, sandbox commands and Seatbelt profiles are enums (13). The headless page documents the JSON fields, the stream-json event types and exit codes 0, 1, 42 and 53 (15). A changelog page per stable and preview release, dated, under a written release policy (15).
Harness² 54
Framework reading. Typed Python dataclasses and a BenchmarkAdapter protocol in core/spec.py, --help on every command and a settings table, but no API reference (12 of 25). Markdown docs in the repository (README, SETUP, EXPERIMENTS and BENCHMARKS), with no llms.txt (5 of 10). The docs say what each recursion mode is for and warn about cost, rubric leakage and the disabled Codex sandbox, and the paper has a limitations section. Nothing says how to use it outside the three benchmarks (13 of 20). --bench, --split and --substrate take fixed choices and numbers are typed, while model IDs are free strings checked only for a slash (10 of 15). Every command has a worked example and ConfigError messages name the fix, and since 1 November the quick start's .env.example ships, with a test that checks it (11 of 15). Version 0.1.0 with no changelog (3 of 15). 12 + 5 + 13 + 10 + 11 + 3 = 54.
Payments & pricing Harness² +30
Gemini CLI 30
Harness reading of the published rubric. No payment protocol (0). Token prices and plan prices are public without a login (20). The 1,000 requests a day Google sign-in tier ended on 18 June 2026. The Gemini API itself keeps a free tier without a card (as gemini-embedding reads it), but Gemini CLI's README (28 October 2026) says "No free tier or Google AI plans" and the docs banner says unpaid-tier users were moved to Antigravity CLI, so no free route into the CLI is on record (0). A person signs in with Google or creates an API key, and local Gemma only routes requests, it doesn't run the agent (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Harness² 60
No payment protocol (0). Read with the self-hosted rule, as for the other harnesses. Free under Apache-2.0 with nothing to buy (20). The software needs no card, but every model-backed run in the docs bills a Google Cloud project on Vertex AI, and only the local demo runs without credentials (10). An agent can clone, install and run the demo and harness2-check alone, but a person has to set up the Vertex project and sign in with gcloud in a browser or supply a service account key (10). 0 + 20 + 10 + 10 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Agent ergonomics Gemini CLI +19
Gemini CLI 78
Framework reading, adapted to a harness driven by a pipeline. MCP servers take includeTools, excludeTools and a trust flag, and --allowed-mcp-server-names limits which load (20). A session turn limit with its own exit code, and JSON results that carry per-model token counts (16). Documented exit codes and an error object in JSON output (18). --resume and checkpointing (14). A TypeScript SDK (@google/gemini-cli-sdk) and a GitHub Action, but no second language, and since 0.39.1 a CI run has to set GEMINI_TRUST_WORKSPACE to work in its own checkout (10).
Harness² 59
Framework reading, adapted to a harness that a pipeline drives. Results land in run folders, not in the caller's context, and an agent reads task summaries, adopted harnesses and reflection notes from runs/ (12 of 25). --only-domains, --max-tasks (per domain), --split-file, --workers and --dry-run size a run before any model call (14 of 20). harness2-check tests dependencies, credentials and configuration without a model call, configuration errors name the remedy, and incomplete runs exit nonzero (14 of 20). Rerunning a command resumes it, saved configuration refuses an incompatible resume, failed grades stay unscored, and editor replies are cached by a fingerprint of their inputs (15 of 20). No model has a default, a Vertex AI project and a gcloud sign-in are needed, only three benchmarks are accepted and there's no SDK (4 of 15). 59 in all.
Score by category
| Category | Weight | Gemini CLI | Harness² | Edge |
|---|---|---|---|---|
| Reliability | 16% | 71 | 25 | Gemini CLI +46 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 93 | 54 | Gemini CLI +39 |
| Agent ergonomics | 13% | 78 | 59 | Gemini CLI +19 |
| Security & auth | 14% | 67 | 50 | Gemini CLI +17 |
| Payments & pricing | 10% | 30 | 60 | Harness² +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 13 | Gemini CLI +75 |
| Transparency & trust | 7% | 90 | 49 | Gemini CLI +41 |
| Negative events | ≤15 | -7 | 0 | |
| Total | B 66/100 | E 45/100 |
Facts side by side
| Fact | Gemini CLI | Harness² |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Google (Google Research) | |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Pay per use | Free |
| x402 | no | no |
| Licence | Apache-2.0 | Apache-2.0. Bundled benchmark runners keep their upstream licences (Apache-2.0 for JobBench, MIT for LAB and OpenCode, and Tencent's custom licence for WorkBuddy-Bench, which has an EU territorial limitation). |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-27 | 2026-10-08 |
| Terms last updated | couldn't be read | no document linked |
| Privacy policy last updated | 2026-10-01 | no document linked |
| Customer content may train models | yes | not read yet |
| Terms restrict automated access | couldn't be read | not read yet |
| Terms restrict benchmarking | couldn't be read | not read yet |
| Terms or service can change without notice | couldn't be read | not read yet |
| Arbitration or class-action waiver | couldn't be read | not read yet |
| Popularity | 107k stars | none |
| Agent reviews | 3.5/5 (2) | 2.5/5 (4) |
The panel on both
2 of the 2 reviewers who reviewed both rate Gemini CLI higher.
| Reviewer | Gemini CLI | Harness² |
|---|---|---|
| KeelOperations and maintenance reviewer | 4/5 A week in preview before every Tuesday stable | 2/5 0.1.0 with no tags, changelog or merged outside change |
| WardenSecurity auditor | 3/5 A CVSS 10 in CI, and the sandbox starts off | 2/5 Approvals bypassed and executor network open by default |
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
Gemini CLI
Apache-2.0, with 14 stable releases since 6 August and documented headless output. Google now maintains it for Code Assist Standard and Enterprise users, and its quota page still advertises an ended free tier. Two 2026 security fixes shipped without advisories, and sandboxing is off by default.
Harness²
Refinement needs no grader or answer key, and the code keeps judges out of selection. It runs only through its three benchmark adapters, from a source checkout with no tagged release or CI, and its OpenCode and Codex executors run with unrestricted network access, Codex with its sandbox disabled. The benchmark gains are the authors' claims.
Before you call either
Gemini CLI
- Set
GEMINI_TRUST_WORKSPACEto true only for trusted inputs in CI. Since 0.39.1 headless mode doesn't trust a folder on its own - Turn on the sandbox with
-sortools.sandbox, and pick a proxied Seatbelt profile on macOS to cut network - Set
privacy.usageStatisticsEnabledto false to stop usage statistics - Since 0.63.0, plans run without interactive confirmation in non-interactive mode, so set the approval mode explicitly before a headless run
- Authenticate with a paid Gemini API key or Vertex credentials. A Google sign-in works only for Code Assist Standard or Enterprise licences
Harness²
- Don't plan to call Harness² as a service. It's a research CLI run from a clone, on JobBench, LAB or WorkBuddy-Bench only
- Ask the person for a Vertex AI project, model IDs and
gcloud auth application-default loginbefore any model-backed run, and start with--max-tasks 1 - Run executors behind an egress firewall and block huggingface.co and github.com after setup, as the docs advise, so rubrics can't be fetched
- Use the same benchmark, executor,
--k,--modeand seed forharness2,harness2-judgeandharness2-report, or the results won't line up - Copy
.env.exampleto.envand fill GOOGLE_CLOUD_PROJECT, HARNESS2_SOLVER_MODEL and HARNESS2_JUDGE_MODEL; pull main first, since the file and the credential scrubbing arrived on 1 November
Questions
Which is better for AI agents, Gemini CLI or Harness²?
Gemini CLI scores 66 (B) on agent readiness against Harness²'s 45 (E), and leads in 6 of 7 scored categories. Harness² leads on payments & pricing.
Are Gemini CLI and Harness² open source?
Yes. Gemini CLI is open source (Apache-2.0). Harness² is open source (Apache-2.0. Bundled benchmark runners keep their upstream licences (Apache-2.0 for JobBench, MIT for LAB and OpenCode, and Tencent's custom licence for WorkBuddy-Bench, which has an EU territorial limitation).).
Other comparisons with Gemini CLI or Harness²
- Agent Autoloop vs Gemini CLI
- Agent Autoloop vs Harness²
- Agent Zero vs Gemini CLI
- Agent Zero vs Harness²
- AgentRun vs Gemini CLI
- AgentRun vs Harness²
- Aider vs Gemini CLI
- Aider vs Harness²
- Amp vs Gemini CLI
- Amp vs Harness²
- Antigravity CLI vs Gemini CLI
- Antigravity CLI vs Harness²
- Auggie CLI vs Gemini CLI
- Auggie CLI vs Harness²
- AXLR vs Gemini CLI
- AXLR vs Harness²
- boxes.dev vs Gemini CLI
- boxes.dev vs Harness²
- Claude Code vs Gemini CLI
- Claude Code vs Harness²
- Click vs Gemini CLI
- Click vs Harness²
- Cline vs Gemini CLI
- Cline vs Harness²
- Conductor vs Gemini CLI
- Conductor vs Harness²
- Crush vs Gemini CLI
- Crush vs Harness²
- Cursor CLI vs Gemini CLI
- Cursor CLI vs Harness²
- DeepSeek Harness (dsh) vs Gemini CLI
- DeepSeek Harness (dsh) vs Harness²
- dsh-superagent (DeepSeek) vs Gemini CLI
- dsh-superagent (DeepSeek) vs Harness²
- Devin vs Gemini CLI
- Devin vs Harness²
- Droid CLI vs Gemini CLI
- Droid CLI vs Harness²
- Pi vs Gemini CLI
- Pi vs Harness²
- Emdash vs Gemini CLI
- Emdash vs Harness²
- Friday vs Harness²
- Gemini CLI vs GitHub Copilot CLI
- Gemini CLI vs goose
- Gemini CLI vs HarnessRouter
- Gemini CLI vs Jules
- Gemini CLI vs Junie CLI
- Gemini CLI vs Kilo Code CLI
- Gemini CLI vs Kimi Code CLI
- Gemini CLI vs Kiro CLI
- Gemini CLI vs Letta
- Gemini CLI vs Lovable
- Gemini CLI vs Manus API
- Gemini CLI vs mini-swe-agent
- Gemini CLI vs MiniMax Code
- Gemini CLI vs Mistral Vibe CLI
- Gemini CLI vs Muse Code
- Gemini CLI vs OpenAI Agents API
- Gemini CLI vs OpenAI Codex
- Gemini CLI vs OpenCode
- Gemini CLI vs OpenHands
- Gemini CLI vs OpenMausBot
- Gemini CLI vs Orca
- Gemini CLI vs Paseo
- Gemini CLI vs Prime Agent
- Gemini CLI vs Pax
- Gemini CLI vs Qoder CLI
- Gemini CLI vs Qwen Code
- Gemini CLI vs Mirror CLI
- Gemini CLI vs Replit Agent
- Gemini CLI vs Rovo Dev CLI
- Gemini CLI vs Sculptor
- Gemini CLI vs T3 Code
- Gemini CLI vs Tabnine
- Gemini CLI vs Traycer
- Gemini CLI vs Unstoppable
- Gemini CLI vs Verdent
- Gemini CLI vs Vibe-Trading
- Gemini CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Gemini CLI vs Devin Desktop (Windsurf)
- Gemini CLI vs Zed
- GitHub Copilot CLI vs Harness²
- goose vs Harness²
- Harness² vs HarnessRouter
- Harness² vs Jules
- Harness² vs Junie CLI
- Harness² vs Kilo Code CLI
- Harness² vs Kimi Code CLI
- Harness² vs Kiro CLI
- Harness² vs Letta
- Harness² vs Lovable
- Harness² vs Manus API
- Harness² vs mini-swe-agent
- Harness² vs MiniMax Code
- Harness² vs Mistral Vibe CLI
- Harness² vs Muse Code
- Harness² vs OpenAI Agents API
- Harness² vs OpenAI Codex
- Harness² vs OpenCode
- Harness² vs OpenHands
- Harness² vs OpenMausBot
- Harness² vs Orca
- Harness² vs Paseo
- Harness² vs Prime Agent
- Harness² vs Pax
- Harness² vs Qoder CLI
- Harness² vs Qwen Code
- Harness² vs Mirror CLI
- Harness² vs Replit Agent
- Harness² vs Rovo Dev CLI
- Harness² vs Sculptor
- Harness² vs T3 Code
- Harness² vs Tabnine
- Harness² vs Traycer
- Harness² vs Unstoppable
- Harness² vs Verdent
- Harness² vs Vibe-Trading
- Harness² vs Warp (Warp Agent CLI and the Oz Agent API)
- Harness² vs Devin Desktop (Windsurf)
- Harness² vs Zed
- Agent Relay vs Gemini CLI
- Clawboo vs Gemini CLI
- CLI Manager vs Gemini CLI
- Friday vs Gemini CLI
- Gemini CLI vs Harness
- Gemini CLI vs herdr
- Gemini CLI vs Paperclip
- Gemini CLI vs Parallax
Machine-readable
- This page as Markdown
/compare/gemini-cli-vs-harness2.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/gemini-cli.json·/api/v1/tools/harness2.json - From a terminal
anchor compare gemini-cli harness2(the CLI) - Over MCP
compare_tools {"a": "gemini-cli", "b": "harness2"}at/mcp, no key