← all repositories
SWE-agent/SWE-agent

SOTA Bug-Fixing Agent Recommends Its Own Replacement

SWE-agent gives language models a toolbox to autonomously patch GitHub issues, hunt CTF flags, or tackle custom coding tasks.

★20.8k stars Python AgentsCoding Assistants
SWE-agent
Velocity · 7d
+7.4
★ / day
Trend
↘cooling
star history

What it does

SWE-agent is a research framework from Princeton and Stanford that turns a language model into an autonomous operator. Hand it a GitHub issue and it will attempt to edit code, run tests, and submit a fix. It can also pivot to offensive-security CTF challenges or other custom tasks, all driven by a single yaml configuration file.

The interesting bit

The project claims state-of-the-art marks on SWE-bench among open-source entries, yet the authors now openly tell users to migrate to mini-SWE-agent—a successor that allegedly matches the performance in far less code. Academic projects rarely publish their own obsolescence so cheerfully.

Key highlights

  • SOTA on SWE-bench among open-source projects, per the maintainers.
  • Designed to leave maximal agency to the LM rather than hard-coding workflows.
  • Behavior is governed by a single yaml file, making experiments easy to tweak and reproduce.
  • Includes an offensive-security mode, EnIGMA, for CTF-style challenges.
  • Backed by a NeurIPS 2024 paper and maintained by Princeton/Stanford researchers.

Caveats

  • The maintainers explicitly state that SWE-agent has been superseded by mini-SWE-agent, which is simpler and equally performant; new projects should probably start there.
  • The EnIGMA cybersecurity mode currently requires pinning to the older v0.7 branch while the team updates it for v1.0.

Verdict

A solid reference implementation for researchers building LM agents or benchmarking automated software engineering, but impatient practitioners should skip straight to the recommended mini-SWE-agent successor.

Frequently asked

What is SWE-agent/SWE-agent?
SWE-agent gives language models a toolbox to autonomously patch GitHub issues, hunt CTF flags, or tackle custom coding tasks.
Is SWE-agent open source?
Yes — SWE-agent/SWE-agent is open source, released under the MIT license.
What language is SWE-agent written in?
SWE-agent/SWE-agent is primarily written in Python.
How popular is SWE-agent?
SWE-agent/SWE-agent has 20.8k stars on GitHub and is currently cooling off.
Where can I find SWE-agent?
SWE-agent/SWE-agent is on GitHub at https://github.com/SWE-agent/SWE-agent.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.