Skip to content
AgentOpen-source agent

SWE-agent

Open-source agent that lets a language model autonomously fix GitHub issues

SWE-agent is an open-source agent for coding. It is available on CLI, Self-hosted, Linux and macOS.

Pricing
Open source
Platforms
CLI, Self-hosted, Linux
GitHub stars
20.9K
Last commit
Language
Python
License
MIT

Similar agents

About SWE-agent

SWE-agent gives a language model a set of command-line tools inside a code repository so it can read files, edit code, and run commands on its own until a task is finished. Its behaviour is controlled by a single YAML configuration file, which makes it straightforward to change prompts, tool sets, and model choices without touching the core code.

The project was built largely for research and benchmarking. It reports strong results on SWE-bench, and it can also be pointed at custom tasks such as capture-the-flag security challenges through a separate EnIGMA mode. The maintainers now steer most of their effort toward mini-SWE-agent, a much smaller successor, and recommend it for new work.

The code is Python under an MIT license and can be run from source or tried in a GitHub Codespace, which suits researchers and engineers who want to study or extend autonomous coding agents.

What it does

Model-agnostic tool use
Works with any language model that can call tools, such as GPT-4o or Claude Sonnet.
YAML-driven configuration
Agent behaviour, prompts and available tools are set in one documented config file.
GitHub issue fixing
Attempts to resolve real issues in public GitHub repositories autonomously.
Custom task support
Can be adapted to arbitrary tasks beyond software bug fixing.
SWE-bench benchmarking
Includes batch mode for running evaluations on the SWE-bench benchmark.
Browser-based trial
Can be tried in a GitHub Codespace without a local installation.

Good for

  • Testing how well a language model resolves real GitHub issues
  • Benchmarking autonomous coding agents on SWE-bench
  • Prototyping custom agent tasks in a configurable framework
  • Running capture-the-flag security challenges via the EnIGMA mode

Pricing

Open source

Free and open source under MIT; you pay for your own model API usage.

Prices change. Check swe-agent.com before you buy.

SWE-agent FAQ

What license is SWE-agent released under?

It is released under the MIT license.

Is SWE-agent still actively developed?

Most current development has moved to mini-SWE-agent, which the maintainers now recommend instead.

Can I try SWE-agent without installing it?

Yes, it can be opened in a GitHub Codespace from the repository.

Is SWE-agent free?

Yes. SWE-agent is open source, so you can use and self-host it for free.

What are the best alternatives to SWE-agent?

The closest alternatives to SWE-agent are aideml, agenc-core, blinky, devika and VSCode Extension.

Where this comes from

  • Description: written from the project's README and the project's website.