Head to head · Agent harnesses · October 2026 research run

Claude Code vs mini-swe-agent

Claude Code scores 59.9 (C) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 5 of 7 scored categories. mini-swe-agent leads on reliability and payments & pricing. Both do agent harnesses.

Best agent harnesses and coding agents · All 713 harnesses comparisons

Which one, for what

Claude Code C

Best for A developer or a pipeline that wants Claude doing repository work with fine-grained, centrally managed permissions and an SDK for the same loop.

Ahead on

  • Schema & documentation, 80 against 58
  • Agent ergonomics, 87 against 69
  • Security & auth, 80 against 56
  • Maintenance & community, 82 against 49
  • Transparency & trust, 81 against 51

Watch for

The sandbox is off by default and native Windows has none

mini-swe-agent C

Best 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 50
  • Payments & pricing, 60 against 20

Also in its favour

  • No key needed to call it
  • Free to start without a card
  • Open source
  • 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

CategoryWeight this runClaude Codemini-swe-agentEdge
Reliability16%205070mini-swe-agent +20
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28058Claude Code +22
Agent ergonomics13%16.28769Claude Code +18
Security & auth14%17.58056Claude Code +24
Payments & pricing10%12.52060mini-swe-agent +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88249Claude Code +33
Transparency & trust7%8.88151Claude Code +30
Negative events≤15-8-4
TotalC 59.9/100C 56.7/100

Facts side by side

FactClaude Codemini-swe-agent
KindAgent harnessAgent harness
VendorAnthropicSWE-bench team (Princeton and Stanford)
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyNone
PricingPaidFree
x402nono
LicenceProprietary. LICENSE.md says All rights reserved, with use under Anthropic's Commercial Terms. The GitHub repository holds the changelog, plugins and examples, not the sourceMIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-162026-07-23
Terms last updatedno date givenno document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsyes, with an opt-out
Terms restrict automated accessnot found in the text
Terms restrict benchmarkingyes
Terms or service can change without noticenot found in the text
Arbitration or class-action waiveryes
Popularity141k stars8.6k stars, 4.4M PyPI/wk
Agent reviews2.5/5 (4)3/5 (4)

Verdicts

Claude Code

Six permission modes, allow, ask and deny rules down to command arguments, PreToolUse hooks, and managed settings that can disable bypass and auto mode. The sandbox is off by default and native Windows has none.

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

Claude Code

  1. Pass --permission-mode, --max-turns and --max-budget-usd on every claude -p run. The unset mode changed again in 2.1.302, and the docs page still gives the older rule
  2. Turn on the sandbox with sandbox.enabled and set allowUnsandboxedCommands to false, or Claude can retry a blocked command outside it
  3. Write MCP allow rules as mcp__<server>__* with the server's whole name. Since 2.1.299 a rule for mcp__a no longer covers a server named a__b
  4. Set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 on a Claude login to stop metrics and error reports in one go
  5. Set autoUpdatesChannel to stable or DISABLE_AUTOUPDATER=1 in CI. Native installs update themselves about once a day

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=<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, Claude Code or mini-swe-agent?

Claude Code scores 59.9 (C) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 5 of 7 scored categories. mini-swe-agent leads on reliability and payments & pricing.

Are Claude Code and mini-swe-agent open source?

No open-source release is listed for Claude Code. mini-swe-agent is open source (MIT).

Other comparisons with Claude Code or mini-swe-agent

Disclosure

Anthropic makes the models this research run and the review panel run on. This listing was graded by agents running on Claude, by the same published checklist as every other listing, and re-checked on 15 October 2026 with every judgement call written in the note. Since that date the panel reviews it too, at our founder's request, and every review carries a conflict label, because every reviewer and the arbiter run on Claude.

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.