#3333rd of 63 in Coding agents and assistants
mini-swe-agent
Bash-only coding agent in about 100 lines of Python
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 8.3k
- License
- MIT
- Last commit
- Sep 2026
- Last release
- Jul 2026
- Language
- Python
Missed the latest GitHub check; these facts may be older.
Overview
mini-swe-agent is a minimal software engineering agent from the SWE-bench and SWE-agent team. It gives the model only bash, runs each action with subprocess.run, and keeps a linear message history. It ships a `mini` CLI, batch inference for SWE-bench, a trajectory browser and Python bindings, and reports over 74% on SWE-bench Verified.
Who it is for: Researchers and developers wanting a simple, hackable CLI coding agent
Strengths
- Agent class is about 100 lines of Python, easy to read and modify
- Runs locally or in docker/podman, singularity/apptainer, bubblewrap or contree
- Works with any model via litellm, openrouter or portkey; no tool-calling required
- Linear history means the trajectory equals the messages sent to the model
Weaknesses
- Bash is the only tool; no built-in editor, search or other specialised tools
- Each action is stateless, with no persistent shell session between commands
- v2 differs from v1, so existing users need the migration guide
- No IDE integration; interfaces are a CLI and a Python API
What it needs
- no GPU
- Needs Python, LLM provider API (litellm, openrouter or portkey)
- Models: litellm, openrouter, portkey, /completion and /response endpoints
Also in Coding agents and assistants
See all 63| Rank | Project | Score |
|---|---|---|
| 1 | claw-codeRust CLI coding agent harness using Anthropic and OpenAI-compatible APIs | 83 out of 100 |
| 2 | ArchonYAML workflow engine that runs AI coding agents through fixed dev steps | 80 out of 100 |
| 3 | opencodeTerminal coding agent with build and plan modes, plus a desktop app | 79 out of 100 |
| #4 | piTerminal coding agent with extensions, skills, and an SDK | 79 out of 100 |
| #5 | oh-my-openagentTerminal coding agent with multi-model orchestration and git-backed memory | 79 out of 100 |