openagent @ swe-agent ~ $

cat README.md

SWE-agent

Autonomous coding agent that takes GitHub issues and fixes them using LLMs, achieving state-of-the-art results on SWE-bench.

# 19K Stars · 1.8K Forks · MIT License // verified 2026-05-27
swe-agent/main
$pip install swe-agent
Installing SWE-agent...
SWE-agent ready
$swe-agent --help
Reading swe-agent configuration & environment...
# core strengths

What makes SWE-agent different

Autonomous issue fixing

SWE-agent takes a GitHub issue as input and autonomously produces a fix, from understanding the problem to writing the code and creating a pull request.

This is the end-to-end vision for coding agents: describe a problem and get a fix, with no human intervention required.

Agent-computer interface design

SWE-agent's ACI defines how the agent interacts with the development environment — file navigation, search, editing, and testing — optimized for LLM capabilities.

The ACI design influenced many subsequent coding agents and demonstrates that how an agent interacts with tools matters as much as the model itself.

SWE-bench benchmark leader

Achieves state-of-the-art results on the SWE-bench benchmark, which tests agents on real-world GitHub issues from popular Python repositories.

Benchmark results provide objective evidence of capability and help researchers compare different agent approaches.
# quick start

Your first command

terminal
$pip install swe-agent
# use cases

How developers use SWE-agent

01

Autonomous bug fixing research

Use SWE-agent to study how well LLMs can understand bugs, navigate codebases, and produce correct fixes without human guidance.

02

Agent design experimentation

Experiment with different ACI configurations to understand how tool design affects agent performance on coding tasks.

03

Issue triage and fixing pipelines

Build pipelines that automatically attempt to fix incoming GitHub issues and submit PRs for human review.

# comparison

How SWE-agent compares

Choose SWE-agent for autonomous issue fixing vs interactive coding agents

SWE-agent is designed for autonomous operation: give it an issue and get a fix. Interactive tools like Aider or Claude Code are better for conversational coding sessions.

# faq

Questions

Q: What should I check before using SWE-agent?

Start with one safe workflow for SWE-agent. Inspect official setup instructions, required credentials, execution logs, approval points, and failure recovery before expanding from a sandbox task into production automation.

Q: Is SWE-agent open source?

SWE-agent is listed with MIT based on the official source links in this profile. Re-check the repository, model card, or docs before production use.

Q: Who should evaluate SWE-agent?

SWE-agent is most worth evaluating for researchers benchmarking autonomous coding agent capabilities.