mini-swe-agent
mini-swe-agent.com
A roughly 100-line open-source AI software engineering agent from the SWE-bench team that uses only bash.
- GitHub stars
- 10,073
- License
- MIT
- Language
- Python
- Pricing
- Open source
- Published
- Nov 9, 2026
Next steps
- Octomind
Both tools are listed under AI Code Assistant, AI Agent, and coding-agent.
- GG Coder
Both tools are listed under AI Code Assistant, AI Agent, and coding-agent.
- Wavefunction
Both tools are listed under AI Code Assistant, AI Agent, and coding-agent.
- Strix
- Pi
- Daily Stock Analysis (DSA)
What it does
mini-swe-agent (MIT, about 9.4k GitHub stars) is the minimal successor to SWE-agent. The agent class is about 100 lines of Python, it has no tools other than bash, and every step simply appends to a linear message history, which makes debugging and fine-tuning easy. The project reports over 74% on SWE-bench Verified, supports local, docker/podman, singularity/apptainer and bubblewrap environments, and works with any model through litellm, OpenRouter or Portkey.
Use cases
- Solve GitHub issues with a minimal bash-only coding agent
- Run reproducible coding-agent benchmarks such as SWE-bench in docker or podman sandboxes
- Study or fine-tune on clean, linear agent trajectories
Frequently asked questions
- Who built mini-swe-agent?
- The Princeton and Stanford team behind SWE-bench and SWE-agent.
- Which models does it support?
- Any model via litellm, OpenRouter, Portkey and similar providers.
- Is it free?
- Yes. It is MIT licensed on GitHub; you pay only for the model API you use.