mini-swe-agent
mini-swe-agent is a deliberately minimal AI software-engineering agent from the Princeton and Stanford team behind SWE-bench and SWE-agent. The core agent class is around 100 lines of Python, and the agent has no tools other than bash: it does not even use the model's tool-calling interface, so it works with essentially any model.
It suits researchers who need a simple, transparent baseline for coding-agent experiments and benchmarks, and developers who want a lightweight agent that solves GitHub issues or helps in the terminal. Despite its size, the project reports scores above 74% on SWE-bench Verified, and it is used by organisations including Meta, NVIDIA, IBM, Princeton and Stanford. It runs in local environments as well as Docker or Podman, Singularity/Apptainer and other sandboxes, and supports models through LiteLLM, OpenRouter, Portkey and more. Version 2 is current; a migration guide covers changes from v1.
Getting started: run it without installing via `uvx mini-swe-agent` or `pipx run mini-swe-agent`, or install with `pip install mini-swe-agent`, then configure a model key.
Features
Why choose it
Trade-offs
Compatibility
Quick start
Use cases
How it compares
Alternatives
Comments
No comments yet. Be the first!