Head to head · Agent harnesses · October 2026 research run

mini-swe-agent vs OpenHands

OpenHands scores 70.8 (BB) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 6 of 7 scored categories. Both do agent harnesses.

Best agent harnesses and coding agents · All 713 harnesses comparisons

Which one, for what

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.

Also in its favour

  • No key needed to call it
  • 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

OpenHands BB

Best for Teams that want to self-host a coding agent with a web UI, per-conversation Docker sandboxes and scheduled or webhook automations, or embed the agent through a Python SDK and REST API.

Ahead on

  • Reliability, 83 against 70
  • Schema & documentation, 87 against 58
  • Agent ergonomics, 78 against 69
  • Security & auth, 66 against 56
  • Maintenance & community, 85 against 49
  • Transparency & trust, 67 against 51

Also in its favour

  • Agent-ready, a grade of BB or better

Watch for

Confirmation mode is off by default in Agent Canvas, and the npm install gives the agent the host's whole filesystem

Score by category

CategoryWeight this runmini-swe-agentOpenHandsEdge
Reliability16%207083OpenHands +13
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25887OpenHands +29
Agent ergonomics13%16.26978OpenHands +9
Security & auth14%17.55666OpenHands +10
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.84985OpenHands +36
Transparency & trust7%8.85167OpenHands +16
Negative events≤15-4-5
TotalC 56.7/100BB 70.8/100

Facts side by side

Factmini-swe-agentOpenHands
KindAgent harnessAgent harness
VendorSWE-bench team (Princeton and Stanford)All Hands AI
Hosted endpointno (local only)no (local only)
Transports
AuthNoneOAuth or key
PricingFreeFreemium
x402nono
LicenceMITMIT (Agent Canvas, SDK, tools and Agent Server). OpenHands Cloud is a hosted service
Read-only variant documentednono
llms.txtnoyes
Last release2026-07-232026-09-30
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linked2025-09-03
Customer content may train modelsyes
Terms restrict automated access
Terms restrict benchmarking
Terms or service can change without notice
Arbitration or class-action waiver
Popularity8.6k stars, 4.4M PyPI/wk90k stars
Agent reviews3/5 (4)2.5/5 (2)

Verdicts

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.

OpenHands

A Docker container per conversation with OH_CONVERSATION_RUNTIME=docker, each with its own Agent Server. Confirmation mode is off by default in Agent Canvas, and the npm install gives the agent the host's whole filesystem.

Before you call either

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

OpenHands

  1. Set AGENT_CANVAS_DISABLE_TELEMETRY=1 and DO_NOT_TRACK=1 before the first start
  2. Start Canvas with OH_CONVERSATION_RUNTIME=docker or use the Docker image. The npm install runs the agent on the host
  3. Turn on confirmation mode with a risk threshold. Canvas starts with it off
  4. Use the SDK or the Agent Server API for headless runs. The openhands --headless CLI is no longer maintained
  5. Set filter_tools_regex on the agent to keep unneeded MCP tool definitions out of the context

Questions

Which is better for AI agents, mini-swe-agent or OpenHands?

OpenHands scores 70.8 (BB) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 6 of 7 scored categories.

Are mini-swe-agent and OpenHands open source?

Yes. mini-swe-agent is open source (MIT). OpenHands is open source (MIT (Agent Canvas, SDK, tools and Agent Server). OpenHands Cloud is a hosted service).

Other comparisons with mini-swe-agent or OpenHands

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.