talira

SWE-agent

Lets your language model of choice autonomously fix GitHub issues and other tasks with tools

open sourceMITself-hostablefree

SWE-agent is a research agent from Princeton and Stanford that gives a language model such as GPT-4o or Claude tools to work in a real repository: it takes a GitHub issue and tries to fix it on its own, and can also find security vulnerabilities (as EnIGMA) or solve coding challenges. Its whole behaviour is set by a single YAML file, it runs batches against the SWE-bench benchmark, and it's built to be simple and hackable for research. Its makers now recommend their simpler successor, mini-SWE-agent, which matches its performance, and put most of their development there.

Problems it solves

  • have an LLM try to fix a GitHub issue in my repository on its own
  • run a coding agent against SWE-bench to compare models
  • a hackable open source coding agent for research experiments
  • configure a coding agent's tools and prompts from one YAML file
  • use an AI agent to find vulnerabilities in capture-the-flag challenges
  • try an autonomous software engineering agent with whichever model I choose

Features

  • takes a GitHub issue and tries to fix it automatically
  • works with your choice of model, such as GPT-4o or Claude
  • configured by a single YAML file
  • batch mode for benchmarking on SWE-bench
  • EnIGMA mode for offensive cybersecurity challenges

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what SWE-agent does.

  1. mini-SWE-agent The minimal AI software engineering agent: about 100 lines of Python, bash as its only tool
  2. OpenCode The open source coding agent.
  3. OpenHands Open platform for AI software development agents that plan, write and ship code changes end to end
  4. Kilo Code The open source coding agent for building with AI in VS Code, JetBrains, or the CLI
  5. Codewhale Open source terminal coding agent for any model
  6. Codex Lightweight coding agent that runs in your terminal

Compare SWE-agent with the top 3