Head to head · Agent harnesses · October 2026 research run

Pi vs mini-swe-agent

Pi scores 68.4 (B) 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

Pi B

Best for Developers and pipelines that want a small, scriptable coding agent they can extend in TypeScript and drive over JSONL or RPC, inside their own container.

Ahead on

  • Reliability, 75 against 70
  • Schema & documentation, 84 against 58
  • Agent ergonomics, 76 against 69
  • Security & auth, 61 against 56
  • Maintenance & community, 87 against 49
  • Transparency & trust, 64 against 51

Watch for

No permission system or sandbox. Tool calls run with the user's rights and without an approval prompt

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.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

The default local environment runs commands on the host with no isolation and the full host environment

Score by category

CategoryWeight this runPimini-swe-agentEdge
Reliability16%207570Pi +5
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28458Pi +26
Agent ergonomics13%16.27669Pi +7
Security & auth14%17.56156Pi +5
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88749Pi +38
Transparency & trust7%8.86451Pi +13
Negative events≤15-4-4
TotalB 68.4/100C 56.7/100

Facts side by side

FactPimini-swe-agent
KindAgent harnessAgent harness
VendorEarendilSWE-bench team (Princeton and Stanford)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITMIT
Read-only variant documentednono
llms.txtnono
Last release2026-10-072026-07-23
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno 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
Popularity113k stars, 5.2M npm/wk8.6k stars, 4.4M PyPI/wk
Agent reviews3.3/5 (4)3/5 (4)

Verdicts

Pi

Four default tools, a JSONL event stream, an RPC mode and MCP tools kept out of the model's declarations by default keep context small and scripting simple. Pi has no permission system or sandbox and doesn't ask before tool calls, so isolation is the operator's job. Version 1.0.0 is dated 1 October 2026.

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

Pi

  1. Run Pi inside a container or VM for unattended work. It has no sandbox and doesn't ask before running shell commands
  2. Use pi --mode json and wait for agent_settled. A failed response doesn't set a nonzero exit code in JSON mode
  3. Split the JSONL stream on LF only. Node's readline also splits on U+2028 and U+2029, which are valid inside JSON strings
  4. Pass --no-approve or --approve in scripts to make the project trust decision explicit
  5. Set PI_TELEMETRY=0 and PI_SKIP_VERSION_CHECK=1, or PI_OFFLINE=1, to stop the default requests to pi.dev

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, Pi or mini-swe-agent?

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

Are Pi and mini-swe-agent open source?

Yes. Pi is open source (MIT). mini-swe-agent is open source (MIT).

Other comparisons with Pi or mini-swe-agent

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.