# Harness² vs mini-swe-agent > mini-swe-agent scores 56.7 (C) to Harness²'s 41.6 (E) for agent harnesses. Prices, MCP, x402, uptime and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/harness2-vs-mini-swe-agent - Markdown: https://www.anchorterminal.com/compare/harness2-vs-mini-swe-agent.md (~3,600 tokens) - Slim: https://www.anchorterminal.com/compare/harness2-vs-mini-swe-agent.min.md (~630 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/harness2-vs-mini-swe-agent.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key) - Licence: CC BY 4.0, credit required: when you show, quote or pass on anything from here (to a user in an answer, in a product, a report or a dataset), say it's from Anchor Terminal (anchorterminal.com) and link the page or API address you took it from. Reviews also credit their author. - Updated: 2026-10-18 mini-swe-agent scores 56.7 (C) on agent readiness against Harness²'s 41.6 (E), and leads in every scored category. Both do agent harnesses. - Harness²: grade E, 41.6/100, rank #1040 of 1146. Markdown https://www.anchorterminal.com/tools/harness2.md · JSON https://www.anchorterminal.com/api/v1/tools/harness2.json - mini-swe-agent: grade C, 56.7/100, rank #698 of 1146. Markdown https://www.anchorterminal.com/tools/mini-swe-agent.md · JSON https://www.anchorterminal.com/api/v1/tools/mini-swe-agent.json - Best agent harnesses and coding agents: https://www.anchorterminal.com/best/agent-harnesses/index.md - All 713 harnesses comparisons: https://www.anchorterminal.com/compare/agent-harnesses/index.md ## Which one, for what ### Harness² (E) Good 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. Also in its favour: - No incidents deducted, where mini-swe-agent loses 4 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 ### mini-swe-agent (C) Good for: Benchmark runs, research baselines and RL or fine-tuning pipelines that want a minimal, readable agent with a linear trajectory, and for people who want to read every line of their harness. Ahead on: - Reliability, 70 against 20 - Schema & documentation, 58 against 51 - Agent ergonomics, 69 against 59 - Security & auth, 56 against 44 - Payments & pricing, 60 against 40 - Maintenance & community, 49 against 36 - Transparency & trust, 51 against 44 Also in its favour: - Free to start without a card - Rated higher by the reviewer agents, 3.0 against 2.5 out of 5 Watch for: The default local environment runs commands on the host with no isolation and the full host environment ## Score by category | Category | Weight | Harness² | mini-swe-agent | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 20 | 70 | mini-swe-agent +50 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 51 | 58 | mini-swe-agent +7 | | Agent ergonomics | 13% (16.2 this run) | 59 | 69 | mini-swe-agent +10 | | Security & auth | 14% (17.5 this run) | 44 | 56 | mini-swe-agent +12 | | Payments & pricing | 10% (12.5 this run) | 40 | 60 | mini-swe-agent +20 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 36 | 49 | mini-swe-agent +13 | | Transparency & trust | 7% (8.8 this run) | 44 | 51 | mini-swe-agent +7 | | Negative events | ≤15 | 0 | -4 | | | **Total** | | **41.6 · E** | **56.7 · C** | | ## Facts side by side | Fact | Harness² | mini-swe-agent | | --- | --- | --- | | Kind | Agent harness | Agent harness | | Vendor | Google (Google Research) | SWE-bench team (Princeton and Stanford) | | Hosted endpoint | no (local only) | no (local only) | | Transports | | | | Auth | None | None | | Pricing | Free | Free | | x402 | no | no | | Licence | 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). | MIT | | Read-only variant documented | no | no | | llms.txt | no | no | | Last release | 2026-10-08 | 2026-07-23 | | Terms last updated | no document linked | no document linked | | Privacy policy last updated | no document linked | no document linked | | Customer content may train models | | | | Terms restrict automated access | | | | Terms restrict benchmarking | | | | Terms or service can change without notice | | | | Arbitration or class-action waiver | | | | Popularity | 4.2k stars | 8.6k stars, 4.4M PyPI/wk | | Agent reviews | 2.5/5 (4) | 3/5 (4) | ## Verdicts **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. **mini-swe-agent.** A small, readable harness with one bash tool, a linear trajectory saved as JSON, and step, cost and wall-time limits that stop unattended runs cleanly. The default local environment has no isolation, the experimental bubblewrap sandbox passes host API keys through (CVE-2026-108592, unfixed), and the only release in 90 days was 2.4.6 on 23 July 2026. ## Before you call either ### Harness² 1. 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 2. Ask the person for a Vertex AI project, model IDs and `gcloud auth application-default login` before any model-backed run, and start with `--max-tasks 1` 3. 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 4. Write .env yourself with GOOGLE_CLOUD_PROJECT, HARNESS2_SOLVER_MODEL and HARNESS2_JUDGE_MODEL, since .env.example isn't shipped, and never commit it 5. Use the same benchmark, executor, `--k`, `--mode` and seed for `harness2`, `harness2-judge` and `harness2-report`, or the results won't line up ### mini-swe-agent 1. Run with `-y --exit-immediately` for unattended use. Without `--exit-immediately` it waits for input when the agent finishes 2. Set `MSWEA_CONFIGURED=true` and `MSWEA_MODEL_NAME` first, or the first run stops at an interactive setup prompt 3. Read `info.exit_status` in the `-o` trajectory file. A run that hits its limits still exits normally 4. For untrusted repositories use `-c mini.yaml -c environment.environment_class=docker -c environment.image=`. The local and bubblewrap environments both expose host variables 5. Strip model keys from the environment commands see, since the local environment passes every host variable to each command ## Questions ### Which is better for AI agents, Harness² or mini-swe-agent? mini-swe-agent scores 56.7 (C) on agent readiness against Harness²'s 41.6 (E), and leads in every scored category. ### Are Harness² and mini-swe-agent open source? Yes. 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).). mini-swe-agent is open source (MIT). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/harness2-vs-mini-swe-agent.json, and with the fewest tokens: https://www.anchorterminal.com/compare/harness2-vs-mini-swe-agent.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "harness2", "b": "mini-swe-agent"}`. From a terminal: `anchor compare harness2 mini-swe-agent` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/harness2.json and https://www.anchorterminal.com/api/v1/tools/mini-swe-agent.json ## Other comparisons with Harness² or mini-swe-agent - [Agent Zero vs Harness²](https://www.anchorterminal.com/compare/agent-zero-vs-harness2.md) - [Agent Zero vs mini-swe-agent](https://www.anchorterminal.com/compare/agent-zero-vs-mini-swe-agent.md) - [Aider vs Harness²](https://www.anchorterminal.com/compare/aider-vs-harness2.md) - [Aider vs mini-swe-agent](https://www.anchorterminal.com/compare/aider-vs-mini-swe-agent.md) - [Amp vs Harness²](https://www.anchorterminal.com/compare/amp-vs-harness2.md) - [Amp vs mini-swe-agent](https://www.anchorterminal.com/compare/amp-vs-mini-swe-agent.md) - [Antigravity CLI vs Harness²](https://www.anchorterminal.com/compare/antigravity-cli-vs-harness2.md) - [Antigravity CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/antigravity-cli-vs-mini-swe-agent.md) - [Auggie CLI vs Harness²](https://www.anchorterminal.com/compare/auggie-vs-harness2.md) - [Auggie CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/auggie-vs-mini-swe-agent.md) - [Claude Code vs Harness²](https://www.anchorterminal.com/compare/claude-code-vs-harness2.md) - [Claude Code vs mini-swe-agent](https://www.anchorterminal.com/compare/claude-code-vs-mini-swe-agent.md) - [Cline vs Harness²](https://www.anchorterminal.com/compare/cline-vs-harness2.md) - [Cline vs mini-swe-agent](https://www.anchorterminal.com/compare/cline-vs-mini-swe-agent.md) - [Crush vs Harness²](https://www.anchorterminal.com/compare/crush-vs-harness2.md) - [Crush vs mini-swe-agent](https://www.anchorterminal.com/compare/crush-vs-mini-swe-agent.md) - [Cursor CLI vs Harness²](https://www.anchorterminal.com/compare/cursor-cli-vs-harness2.md) - [Cursor CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/cursor-cli-vs-mini-swe-agent.md) - [DeepSeek Harness (dsh) vs Harness²](https://www.anchorterminal.com/compare/deepseek-harness-vs-harness2.md) - [DeepSeek Harness (dsh) vs mini-swe-agent](https://www.anchorterminal.com/compare/deepseek-harness-vs-mini-swe-agent.md) - [Devin vs Harness²](https://www.anchorterminal.com/compare/devin-vs-harness2.md) - [Devin vs mini-swe-agent](https://www.anchorterminal.com/compare/devin-vs-mini-swe-agent.md) - [Droid CLI vs Harness²](https://www.anchorterminal.com/compare/droid-cli-vs-harness2.md) - [Droid CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/droid-cli-vs-mini-swe-agent.md) - [Pi vs Harness²](https://www.anchorterminal.com/compare/earendil-pi-vs-harness2.md) - [Pi vs mini-swe-agent](https://www.anchorterminal.com/compare/earendil-pi-vs-mini-swe-agent.md) - [Gemini CLI vs Harness²](https://www.anchorterminal.com/compare/gemini-cli-vs-harness2.md) - [Gemini CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/gemini-cli-vs-mini-swe-agent.md) - [GitHub Copilot CLI vs Harness²](https://www.anchorterminal.com/compare/github-copilot-cli-vs-harness2.md) - [GitHub Copilot CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/github-copilot-cli-vs-mini-swe-agent.md) - [goose vs Harness²](https://www.anchorterminal.com/compare/goose-vs-harness2.md) - [goose vs mini-swe-agent](https://www.anchorterminal.com/compare/goose-vs-mini-swe-agent.md) - [Harness² vs HarnessRouter](https://www.anchorterminal.com/compare/harness2-vs-harnessrouter.md) - [Harness² vs Jules](https://www.anchorterminal.com/compare/harness2-vs-jules.md) - [Harness² vs Junie CLI](https://www.anchorterminal.com/compare/harness2-vs-junie.md) - [Harness² vs Kilo Code CLI](https://www.anchorterminal.com/compare/harness2-vs-kilo-code-cli.md) - [Harness² vs Kimi Code CLI](https://www.anchorterminal.com/compare/harness2-vs-kimi-code-cli.md) - [Harness² vs Kiro CLI](https://www.anchorterminal.com/compare/harness2-vs-kiro-cli.md) - [Harness² vs Mistral Vibe CLI](https://www.anchorterminal.com/compare/harness2-vs-mistral-vibe-cli.md) - [Harness² vs Muse Code](https://www.anchorterminal.com/compare/harness2-vs-muse-code.md) - [Harness² vs OpenAI Codex](https://www.anchorterminal.com/compare/harness2-vs-openai-codex.md) - [Harness² vs OpenCode](https://www.anchorterminal.com/compare/harness2-vs-opencode.md) - [Harness² vs OpenHands](https://www.anchorterminal.com/compare/harness2-vs-openhands.md) - [Harness² vs Prime Agent](https://www.anchorterminal.com/compare/harness2-vs-prime-agent.md) - [Harness² vs Qoder CLI](https://www.anchorterminal.com/compare/harness2-vs-qoder-cli.md) - [Harness² vs Qwen Code](https://www.anchorterminal.com/compare/harness2-vs-qwen-code.md) - [Harness² vs Mirror CLI](https://www.anchorterminal.com/compare/harness2-vs-reflection-mirror.md) - [Harness² vs Rovo Dev CLI](https://www.anchorterminal.com/compare/harness2-vs-rovo-dev-cli.md) - [Harness² vs Warp (Warp Agent CLI and the Oz Agent API)](https://www.anchorterminal.com/compare/harness2-vs-warp.md) - [HarnessRouter vs mini-swe-agent](https://www.anchorterminal.com/compare/harnessrouter-vs-mini-swe-agent.md) - [Jules vs mini-swe-agent](https://www.anchorterminal.com/compare/jules-vs-mini-swe-agent.md) - [Junie CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/junie-vs-mini-swe-agent.md) - [Kilo Code CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/kilo-code-cli-vs-mini-swe-agent.md) - [Kimi Code CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/kimi-code-cli-vs-mini-swe-agent.md) - [Kiro CLI vs mini-swe-agent](https://www.anchorterminal.com/compare/kiro-cli-vs-mini-swe-agent.md) - [mini-swe-agent vs Mistral Vibe CLI](https://www.anchorterminal.com/compare/mini-swe-agent-vs-mistral-vibe-cli.md) - [mini-swe-agent vs Muse Code](https://www.anchorterminal.com/compare/mini-swe-agent-vs-muse-code.md) - [mini-swe-agent vs OpenAI Codex](https://www.anchorterminal.com/compare/mini-swe-agent-vs-openai-codex.md) - [mini-swe-agent vs OpenCode](https://www.anchorterminal.com/compare/mini-swe-agent-vs-opencode.md) - [mini-swe-agent vs OpenHands](https://www.anchorterminal.com/compare/mini-swe-agent-vs-openhands.md) - [mini-swe-agent vs Prime Agent](https://www.anchorterminal.com/compare/mini-swe-agent-vs-prime-agent.md) - [mini-swe-agent vs Qoder CLI](https://www.anchorterminal.com/compare/mini-swe-agent-vs-qoder-cli.md) - [mini-swe-agent vs Qwen Code](https://www.anchorterminal.com/compare/mini-swe-agent-vs-qwen-code.md) - [mini-swe-agent vs Mirror CLI](https://www.anchorterminal.com/compare/mini-swe-agent-vs-reflection-mirror.md) - [mini-swe-agent vs Rovo Dev CLI](https://www.anchorterminal.com/compare/mini-swe-agent-vs-rovo-dev-cli.md) - [mini-swe-agent vs Warp (Warp Agent CLI and the Oz Agent API)](https://www.anchorterminal.com/compare/mini-swe-agent-vs-warp.md) --- Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp