Browse / Agent tools

SWE-agent/mini-swe-agent

The 100 line AI agent that solves GitHub issues or helps you in your command line. Radically simple, no huge configs, no giant monorepo—but scores >74% on SWE-bench verified!

  • agent
  • agentic-ai
  • agentic-ai-cli
  • ai
  • ai-agent
  • textual

Needs keys or hardware.Tested on 2026-11-22. From the README alone, on Linux with Luna.

For maintainers

Fix your README for agents

Paste this prompt into Claude Code, Codex, or your coding agent to fix the exact setup issue Coldpass recorded.

Improve the README and setup experience of SWE-agent/mini-swe-agent so a small coding agent can install and verify it from scratch on a fresh Linux machine (Python 3, Node 22, standard tools).
Latest Coldpass Linux status: Needs keys or hardware (OPENAI_API_KEY, tested 2026-11-22).
Please:
1. List all required environment variables, keys, logins, or hardware clearly at the top of the README (and add a .env.example if env vars are needed).
2. If possible, add a keyless local dry-run, mock, or fixture mode documented in the README so developers and agents can verify installation without live credentials.
3. Keep install and first-use commands copy-pasteable with pinned dependencies.
Also review the recorded check notes (known vulnerabilities, a planted secret file opened) and address any unintended dependency advisories or committed sample tokens.

Shareable status badge

Add a live Coldpass Linux verification badge to your README.

Coldpass status for SWE-agent/mini-swe-agent
[![Coldpass status](https://coldpass.dev/badge/SWE-agent--mini-swe-agent.svg)](https://coldpass.dev/repo/SWE-agent--mini-swe-agent/)

What we checked

Is it safe?Review first. Found: known vulnerabilities, a planted secret file opened.Each check
  • Malware: none found in the 84 Python and npm packages installed during our run (OSV malware advisories). Its declared dependencies were not checked: OSV found no pinned versions to look up.
  • Secrets in its files: none found by gitleaks.
  • Known vulnerabilities in its dependencies: 12 OSV advisories: pip 24.0 (GHSA-4xh5-x5gv-qwph); pip 24.0 (GHSA-58qw-9mgm-455v); pip 24.0 (GHSA-6vgw-5pg2-w6jp); pip 24.0 (GHSA-jp4c-xjxw-mgf9); pip 24.0 (GHSA-qwm4-qh6w-59xr); pip 24.0 (GHSA-wf93-45jw-7689); pip 24.0 (PYSEC-2026-1795); pip 24.0 (PYSEC-2026-1796); pip 24.0 (PYSEC-2026-196); pip 24.0 (PYSEC-2026-2875); pip 24.0 (PYSEC-2026-2876); pip 24.0 (PYSEC-2026-3721).
  • Lines that download and run a program: none found in its source.
  • Planted fake secret files: repo code opened ~/.env.
  • Planted fake credential: not seen in unencrypted outgoing traffic. Encrypted traffic can't be read.
  • Hosts the repo's own code contacted: raw.githubusercontent.com. Reached past our sandbox (answered or refused), from any program on our test machine, not only the repo: raw.githubusercontent.com. No reply seen, or stopped by our sandbox: none.

From our newest run of each setup (Nov 22, 2026, Nov 25, 2026). A quiet run is not a safety guarantee.

Can a small agent set it up?Not tested (Haiku, ANTHROPIC_API_KEY)
Not tested (Luna, OPENAI_API_KEY)
The run

Stuck at: Run the mini agent task against the configured model.

What failed: OPENAI_API_KEY is required.

Suggested fix: Provide OPENAI_API_KEY in the guest, then rerun the documented mini CLI task.

Test history

  • Nov 22, 2026 · 04d809ceab9d · linux / Luna · needs a key or login we did not have · run JSON
  • Nov 22, 2026 · 04d809ceab9d · linux / Haiku 5.5 · needs a key or login we did not have · run JSON
Does it do what the README says?0 of 2 claims held up. A claim is one README promise we ran and checked.Evidence

No claim held up.

Which checks were skipped?3 checks skipped.Reasons

Skipped checks count as neither passes nor failures.

  • The README promotes mini-swe-agent benchmark results and a tutorial.: External benchmark claims and the linked tutorial cannot be reproduced as a local CLI operation in this guest; no model credential is available for benchmark runs.
  • The documented mini command starts the command line interface and shows its usage.: Probe could not complete: help/version/requirements alone does not establish working behavior
  • Run a quick start example prompt through the CLI.: The quick start example needs a configured model and API key. The documented mini CLI invocation was run; the product returned the OpenAI missing credentials error.
Does the repo’s own CI pass?Failure.GitHub checks

GitHub’s check status for the default branch at the commit we tested. We did not run their CI.

Needs keys, a login or a browser?Yes.Details

credentials

What does it depend on?Python 3.12.3, pip, OpenAI API key for a model such as openai/gpt-4o-miniDependencies

Software the test agent reported the README needed.

Local or hosted?Local: runs on your machineHow we tell

From the README and the endpoint we tested.

Is the README accurate?Yes.Deviations

No step differed.

What did it do when we ran it?During our run, it tried to contact 2 outside addresses.What we saw

Linux / Haiku

  • During our run, mini tried to contact 2 addresses on port 443: 185.199.109.133 (raw.githubusercontent.com), 185.199.110.133 (raw.githubusercontent.com).
  • While installing, git-remote-https looked up github.com.
  • While installing, pip, python3 looked up files.pythonhosted.org, pypi.org.
  • During our run, mini looked up raw.githubusercontent.com.
  • We found no known-malicious packages among the 84 Python and npm packages we observed (checked against OSV malicious-package advisories).

Linux / Luna

  • Nothing unexpected in the trace for this setup.
  • While installing, git-remote-https looked up github.com.
  • While installing, python looked up files.pythonhosted.org, pypi.org.
  • We found no known-malicious packages among the 86 Python and npm packages we observed (checked against OSV malicious-package advisories).

We found no compiled programs in its files.

What we checked: OSV vulnerability and malware advisories for pinned dependencies, OSV malicious-package advisories for observed Python and npm packages, secret-pattern scanning (gitleaks), compiled files shipped in the repo, and the connection attempts, host name lookups, file writes and credential-file reads we traced from repo processes while we installed and ran it. Expected package-manager and cache activity is left out. Where a setup's record is missing, capped or cut short, it says so above, and these checks may not have run for it.

What we didn't check: host names looked up by programs with their own resolver, such as Go programs; which program made a connection that got through; other UDP traffic; environment variables it read; minified JavaScript; programs packed inside archives or Git LFS; packages beyond the Python and npm inventory; or what the code is meant to do.

A quiet run is not a safety guarantee.

Is it maintained?MaintainedActivity

actively maintained: last commit 71 days ago; 3 commits and 1 merged PRs in 90 days; 46 open issues, 96 open PRs; 1 of 43 recent threads got a maintainer reply, median first reply 227.2h; latest release 2026-07-23

AboutStars: 9948 · Forks: 1364 · Contributors: 39 · Owner account since Apr 4, 2024Source

Recorded GitHub repository and owner account metadata.

LicenseSPDX: MIT · commercial use: yesSource

From GitHub’s license detection. The repository’s license text gives the terms.

Cost to runNeeds a key or login (OPENAI_API_KEY)Details

Peak guest RAM: 757 MiB

Guest disk change: 913 MiB

GPU need: not captured

Paid service: not captured