Head to head · Agent harnesses · October 2026 research run
mini-swe-agent vs Qwen Code
Qwen Code scores 72.4 (BB) on agent readiness against mini-swe-agent's 62.7 (B), and leads in 5 of 7 scored categories. mini-swe-agent leads on security & auth. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
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
- Security & auth, 58 against 53
Also in its favour
- No key needed to call it
- No incidents deducted, where Qwen Code loses 4 points for them
Watch for
The default local environment runs commands on the host with no isolation and the full host environment
Qwen Code BB
Best for Developers and CI jobs that want an open-source harness tied to no single model vendor, with run budgets and SDKs.
Ahead on
- Schema & documentation, 91 against 58
- Agent ergonomics, 85 against 69
- Maintenance & community, 88 against 32
- Transparency & trust, 66 against 56
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
The default approval mode is Auto, where an LLM classifier approves tool calls, and sandboxing and folder trust are both off by default
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 Qwen Code +56
mini-swe-agent 32
2.4.6 on PyPI on 2026-07-23, 104 days before this check, and still the newest tag (10). No release in the 90 days to 4 November (0). Main hasn't moved since 3 September (three commits since 23 July, one from pre-commit-ci). Outside fixes were merged within days through July, but no pull request has been merged since #917 (17 August), 77 of the 85 pull requests numbered after it still carry open merge refs on the git remote, and maintainer reply times couldn't be read; the 18 October shields.io counts are struck (5). The Python library ships in the same package as the CLI and is current (10). Dependabot and pre-commit-ci run, and CI workflows exist with their current state unconfirmed (7).
Qwen Code 88
0.26.5 on 1 November 2026 (30). 39 stable releases from 3 August to 1 November (v0.21.4 to v0.26.5), plus previews and nightlies (20). Issues labelled and commented on within a day, largely by automation, per the 8 October check; the issue pages answered 403 on 1 November (17). The TypeScript SDK reached 0.1.26 on 29 October, while the Python SDK's newest tag is still sdk-python-v0.1.0-preview.0 (9 May 2026) and the Java SDK is an alpha (11). CI, CodeQL, a monthly scorecard and Dependabot (10). 30 + 20 + 17 + 11 + 10 = 88.
Schema & documentation Qwen Code +33
mini-swe-agent 58
Framework reading. Typed pydantic config classes, typed protocols for agents, models and environments, py.typed, a mkdocstrings API reference and a documented trajectory format, but no machine-readable spec for configs or output (15). No llms.txt (/latest/llms.txt and /llms.txt returned 404). The docs are Markdown in the repository, readable raw, though they rely on build-time includes (3). The FAQ and environments page say when to pick mini over SWE-agent and which environment isolates, but the FAQ still says it doesn't use tool calls while the v2 guide says tool calls are now the default (12). Modes are a typed Literal and limits are typed fields, while model_kwargs passes free-form to LiteLLM (10). Hello-world and cookbook examples, a model troubleshooting page and a partial list of exit statuses (11). A dated v2 migration guide and kept v1 docs, with release notes only on GitHub, which we couldn't read (7).
Qwen Code 91
Framework reading. A settings.schema.json in the repository, a settings reference with the type and default of each key, and an OpenAPI file for the daemon's REST API (25). llms.txt on the docs site lists the pages with a line each, though it links to HTML and the Markdown path we tried returned 404 (8). The approval-mode page says when to use each mode and the sandbox page what each method and Seatbelt profile allows (15). Approval modes, sandbox backends, filesystem and network policies are enums (13). The headless page documents json and stream-json output, and exit codes 41, 42, 44, 52, 53, 55 and 130 are documented (15). A dated changelog generated from releases (15).
Agent ergonomics Qwen Code +16
mini-swe-agent 69
Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. One bash tool and a short system prompt, with output over 10,000 characters cut to its first and last 5,000, but no compaction of a long history (22). Step, cost and wall-time limits, global call and cost limits by environment variable, and a 30-second timeout per command (18). The trajectory JSON records Submitted, LimitsExceeded, TimeExceeded or RepeatedFormatError, but stdout is human-readable only and these aren't process exit codes (12). Model calls retry ten times with exponential backoff, and the trajectory is saved after every step, but there's no resume and no undo (8). Python bindings only. An unattended mini run needs -y, --exit-immediately and MSWEA_CONFIGURED, the last found only in the source (9). No MCP client, ACP or server mode.
Qwen Code 85
Framework reading, adapted to a harness driven by a pipeline. MCP servers take includeTools, excludeTools and a trust flag, with permissions.allow, ask and deny rules and --exclude-tools (20). Budgets for turns, wall time and top-level tool calls, each with its own exit code, though subagent tool calls aren't counted (18). Documented exit codes (18). --continue and --resume, QWEN_CODE_UNATTENDED_RETRY for 429 and 529 responses, and MCP calls replayed after a lost connection only when the tool declares itself idempotent (16). A TypeScript SDK on npm at 0.1.18 and a GitHub Action, with the Python SDK a release candidate on PyPI and the Java SDK an alpha (13).
Transparency & trust Qwen Code +10
mini-swe-agent 56
MIT (30). No privacy policy, terms or data-handling statement, though the tool runs locally and collects nothing we could find (8). A v2 migration guide marks the breaking changes, says how to pin mini-swe-agent~=1.0, and keeps v1 docs and a v1 branch, but there's no deprecation policy or end date for v1 (10). No telemetry in the source, but the docs don't say so (14).
Qwen Code 66
Apache-2.0 (30). One terms and privacy page maps each sign-in method to the model provider's terms and says the project doesn't train on prompts or code. Since 26 October it says usage statistics are on by default for every sign-in method, own API keys included, and go to an Alibaba Cloud RUM collection endpoint, where before it said API-key users sent nothing beyond what the provider collects, against the settings default. It still gives no retention period and names no legal entity (20, was 18). The end of the Qwen OAuth free tier is dated 15 April 2026 and tools.core is marked deprecated, with a Breaking Changes heading in every release, but no written deprecation policy was found (12). Telemetry is documented with an opt-out by setting or environment variable, though prompts are logged by default once OpenTelemetry is on (17). 30 + 20 + 12 + 17 = 79.
Security & auth mini-swe-agent +5
mini-swe-agent 58
Harness reading of the framework checklist, used for every harness in this batch. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. No telemetry in mini's own source, and prompts go only to the configured provider. LiteLLM's own network behaviour wasn't checked (28). The CLI asks before each command by default, with regex whitelists and -y to skip, but the Python DefaultAgent never asks, the default local environment has no isolation and passes the full host environment to every command, and the experimental bubblewrap sandbox leaks host variables and shares the network (CVE-2026-108592). Docker forwards no host variables unless listed (8). No prompt-injection guidance found (2). A full trajectory of every command and output saved as JSON after each step, and a trajectory inspector (13). A security policy (docs/SECURITY.md) naming four maintainers to contact by email, with no response time, which meets the disclosure-policy reading at 7 as for cowagent and tokenrip. No bounty or advisory page, and CVE-2026-108592 (VulnCheck, 10 October) still has no fix in any release or on main. Compromised LiteLLM 1.82.7 and 1.82.8 are excluded in the dependency pins since 24 March 2026 (#794) (7).
Qwen Code 53
Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Usage statistics are on by default (privacy.usageStatisticsEnabled defaults to true in the settings schema at 0.26.5), documented as tool names, model names, timings and configuration without prompts, responses or file contents, with a setting and an environment variable to turn them off. Credentials are API keys in environment variables or settings.json (15). Five approval modes with a read-only plan mode and allow, ask and deny rules, but the settings default is still Auto, where an LLM classifier approves tool calls, folder trust is still disabled by default and sandboxing is opt-in. Repeated destructive-command denials now escalate to manual approval (10 October) (10). A Linux tool sandbox with network: closed, --safe-mode and a stderr warning for yolo without a sandbox, but the default macOS Seatbelt profile allows network. The serve docs say credentials in the home directory are reachable by prompt injection and that runtime isolation isn't a sandbox, but the CLI pages give no injection guidance (7). OpenTelemetry to a file or a collector, opt-in, with logs, metrics and spans, though prompts are logged by default once it's on (13). SECURITY.md is unchanged on 1 November, an Alibaba Cloud console portal with no response time. Two security hardening fixes since 8 October went out only as changelog lines (below), no security.txt was found, and CodeQL and a monthly scorecard run in CI. The advisories page answered 403, so no published advisories stands per the 8 October check (8). 15 + 10 + 7 + 13 + 8 = 53.
Score by category
| Category | Weight | mini-swe-agent | Qwen Code | Edge |
|---|---|---|---|---|
| Reliability | 16% | 65 | 69 | Qwen Code +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 58 | 91 | Qwen Code +33 |
| Agent ergonomics | 13% | 69 | 85 | Qwen Code +16 |
| Security & auth | 14% | 58 | 53 | mini-swe-agent +5 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 32 | 88 | Qwen Code +56 |
| Transparency & trust | 7% | 56 | 66 | Qwen Code +10 |
| Negative events | ≤15 | 0 | -4 | |
| Total | B 62.7/100 | BB 72.4/100 |
Facts side by side
| Fact | mini-swe-agent | Qwen Code |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | SWE-bench team (Princeton and Stanford) | Alibaba (Qwen team) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | API key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-07-23 | 2026-11-01 |
| Terms last updated | no document linked | 2026-10-01 |
| Privacy policy last updated | no document linked | 2026-10-01 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 8.6k stars, 4.4M PyPI/wk | 28k stars, 105k npm/wk |
| Agent reviews | 3/5 (4) | 2.8/5 (4) |
The panel on both
2 of the 3 reviewers who reviewed both rate mini-swe-agent higher, the other way from the total score.
| Reviewer | mini-swe-agent | Qwen Code |
|---|---|---|
| KeelOperations and maintenance reviewer | 3/5 Careful v2 migration, one release in 90 days | 2/5 Breaking changes arrive in patch releases |
| WardenSecurity auditor | 3/5 Bubblewrap sandbox passes host keys, unfixed | 2/5 Defaults let a classifier approve tool calls |
| QuillDocumentation and schema critic | 3/5 One bash tool, and a FAQ that predates v2 | 3/5 Good settings schema, two answers on the default mode |
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
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 there has been no release since 2.4.6 on 23 July 2026.
Qwen Code
Apache-2.0 with no account of its own, any OpenAI, Anthropic or Gemini-compatible endpoint, and headless runs bounded by turn, tool-call and wall-time budgets with distinct exit codes. Out of the box, Auto mode lets an LLM classifier approve tool calls, with the sandbox and folder trust both off. Security fixes ship as changelog lines without advisories.
Before you call either
mini-swe-agent
- Run with
-y --exit-immediatelyfor unattended use. Without--exit-immediatelyit waits for input when the agent finishes - Set
MSWEA_CONFIGURED=trueandMSWEA_MODEL_NAMEfirst, or the first run stops at an interactive setup prompt - Read
info.exit_statusin the-otrajectory file. A run that hits its limits still exits normally - 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 - Strip model keys from the environment commands see, since the local environment passes every host variable to each command
Qwen Code
- Pass
--approval-modeon every run. The settings default isauto, and one docs page says headless runs default to asking, so don't rely on either - Add
--max-session-turns,--max-wall-timeand--max-tool-calls. All three are unlimited by default. Exit 53 is the turn limit and 55 a budget --yolodoesn't turn on a sandbox. Add--sandbox, or on Linux settools.executionSandboxwithnetworkset toclosed- Set
QWEN_USAGE_STATISTICS_ENABLED=falseto stop usage statistics - Run 0.26.2 or later before using
qwen servein a cloned repository. Earlier versions let the repository's.envset the daemon token
Questions
Which is better for AI agents, mini-swe-agent or Qwen Code?
Qwen Code scores 72.4 (BB) on agent readiness against mini-swe-agent's 62.7 (B), and leads in 5 of 7 scored categories. mini-swe-agent leads on security & auth.
Are mini-swe-agent and Qwen Code open source?
Yes. mini-swe-agent is open source (MIT). Qwen Code is open source (Apache-2.0).
Other comparisons with mini-swe-agent or Qwen Code
- Agent Autoloop vs mini-swe-agent
- Agent Autoloop vs Qwen Code
- Agent Zero vs mini-swe-agent
- Agent Zero vs Qwen Code
- AgentRun vs mini-swe-agent
- AgentRun vs Qwen Code
- Aider vs mini-swe-agent
- Aider vs Qwen Code
- Amp vs mini-swe-agent
- Amp vs Qwen Code
- Antigravity CLI vs mini-swe-agent
- Antigravity CLI vs Qwen Code
- Auggie CLI vs mini-swe-agent
- Auggie CLI vs Qwen Code
- AXLR vs mini-swe-agent
- AXLR vs Qwen Code
- boxes.dev vs mini-swe-agent
- boxes.dev vs Qwen Code
- Claude Code vs mini-swe-agent
- Claude Code vs Qwen Code
- Click vs mini-swe-agent
- Click vs Qwen Code
- Cline vs mini-swe-agent
- Cline vs Qwen Code
- Conductor vs mini-swe-agent
- Conductor vs Qwen Code
- Crush vs mini-swe-agent
- Crush vs Qwen Code
- Cursor CLI vs mini-swe-agent
- Cursor CLI vs Qwen Code
- DeepSeek Harness (dsh) vs mini-swe-agent
- DeepSeek Harness (dsh) vs Qwen Code
- dsh-superagent (DeepSeek) vs mini-swe-agent
- dsh-superagent (DeepSeek) vs Qwen Code
- Devin vs mini-swe-agent
- Devin vs Qwen Code
- Droid CLI vs mini-swe-agent
- Droid CLI vs Qwen Code
- Pi vs mini-swe-agent
- Pi vs Qwen Code
- Emdash vs mini-swe-agent
- Emdash vs Qwen Code
- Friday vs mini-swe-agent
- Gemini CLI vs mini-swe-agent
- Gemini CLI vs Qwen Code
- GitHub Copilot CLI vs mini-swe-agent
- GitHub Copilot CLI vs Qwen Code
- goose vs mini-swe-agent
- goose vs Qwen Code
- Harness² vs mini-swe-agent
- Harness² vs Qwen Code
- HarnessRouter vs mini-swe-agent
- HarnessRouter vs Qwen Code
- Jules vs mini-swe-agent
- Jules vs Qwen Code
- Junie CLI vs mini-swe-agent
- Junie CLI vs Qwen Code
- Kilo Code CLI vs mini-swe-agent
- Kilo Code CLI vs Qwen Code
- Kimi Code CLI vs mini-swe-agent
- Kimi Code CLI vs Qwen Code
- Kiro CLI vs mini-swe-agent
- Kiro CLI vs Qwen Code
- Letta vs mini-swe-agent
- Letta vs Qwen Code
- Lovable vs mini-swe-agent
- Lovable vs Qwen Code
- Manus API vs mini-swe-agent
- Manus API vs Qwen Code
- mini-swe-agent vs MiniMax Code
- mini-swe-agent vs Mistral Vibe CLI
- mini-swe-agent vs Muse Code
- mini-swe-agent vs OpenAI Agents API
- mini-swe-agent vs OpenAI Codex
- mini-swe-agent vs OpenCode
- mini-swe-agent vs OpenHands
- mini-swe-agent vs OpenMausBot
- mini-swe-agent vs Orca
- mini-swe-agent vs Paseo
- mini-swe-agent vs Prime Agent
- mini-swe-agent vs Pax
- mini-swe-agent vs Qoder CLI
- mini-swe-agent vs Mirror CLI
- mini-swe-agent vs Replit Agent
- mini-swe-agent vs Rovo Dev CLI
- mini-swe-agent vs Sculptor
- mini-swe-agent vs T3 Code
- mini-swe-agent vs Tabnine
- mini-swe-agent vs Traycer
- mini-swe-agent vs Unstoppable
- mini-swe-agent vs Verdent
- mini-swe-agent vs Vibe-Trading
- mini-swe-agent vs Warp (Warp Agent CLI and the Oz Agent API)
- mini-swe-agent vs Devin Desktop (Windsurf)
- mini-swe-agent vs Zed
- MiniMax Code vs Qwen Code
- Mistral Vibe CLI vs Qwen Code
- Muse Code vs Qwen Code
- OpenAI Agents API vs Qwen Code
- OpenAI Codex vs Qwen Code
- OpenCode vs Qwen Code
- OpenHands vs Qwen Code
- Orca vs Qwen Code
- Paseo vs Qwen Code
- Prime Agent vs Qwen Code
- Pax vs Qwen Code
- Qoder CLI vs Qwen Code
- Qwen Code vs Mirror CLI
- Qwen Code vs Replit Agent
- Qwen Code vs Rovo Dev CLI
- Qwen Code vs Sculptor
- Qwen Code vs T3 Code
- Qwen Code vs Tabnine
- Qwen Code vs Traycer
- Qwen Code vs Unstoppable
- Qwen Code vs Verdent
- Qwen Code vs Vibe-Trading
- Qwen Code vs Warp (Warp Agent CLI and the Oz Agent API)
- Qwen Code vs Devin Desktop (Windsurf)
- Qwen Code vs Zed
- Agent Relay vs Qwen Code
- Clawboo vs Qwen Code
- CLI Manager vs Qwen Code
- Friday vs Qwen Code
- Harness vs Qwen Code
- herdr vs Qwen Code
- OpenMausBot vs Qwen Code
- Paperclip vs Qwen Code
- Parallax vs Qwen Code
Machine-readable
- This page as Markdown
/compare/mini-swe-agent-vs-qwen-code.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/mini-swe-agent.json·/api/v1/tools/qwen-code.json - From a terminal
anchor compare mini-swe-agent qwen-code(the CLI) - Over MCP
compare_tools {"a": "mini-swe-agent", "b": "qwen-code"}at/mcp, no key