Skip to content

Getting Started

SWE-agent banner SWE-agent banner

We recommend mini-swe-agent instead of SWE-agent

Most of our current development effort is on mini-swe-agent, which has superseded SWE-agent. It matches the performance of SWE-agent, while being much simpler. See the FAQ for more details about the differences.

SWE-agent enables your language model of choice (e.g. GPT-4o or Claude Sonnet 4) to autonomously use tools to fix issues in real GitHub repositories, find cybersecurity vulnerabilities, or perform any custom task.

  • State of the art on SWE-bench among open-source projects
  • Free-flowing & generalizable: Leaves maximal agency to the LM
  • Configurable & fully documented: Governed by a single yaml file
  • Made for research: Simple & hackable by design

SWE-agent is built and maintained by researchers from Princeton University and Stanford University.

📣 News

✍️ Doc updates

SWE-agent has been superseded by mini-swe-agent.

mini-swe-agent is simpler & more flexible while still being as performant.

See the FAQ for more details about why you should switch.
SWE-agent is now in maintenance-only mode.

Check out mini-swe-agent