SWE-agent
Autonomous coding agent that takes GitHub issues and fixes them using LLMs, achieving state-of-the-art results on SWE-bench.
SWE-agent is an open-source autonomous coding agent that takes GitHub issues as input and produces pull request fixes using large language models. It achieves state-of-the-art results on the SWE-bench benchmark and provides a configurable agent-computer interface (ACI) for optimizing how LLMs interact with development environments.
Quick answer
What is SWE-agent?
SWE-agent is one of the most important projects in the autonomous coding agent space. It demonstrated that LLMs can autonomously fix real-world GitHub issues, and its agent-computer interface design influenced how many subsequent agents structure their tool interactions.
SWE-agent is an open-source autonomous coding agent that takes GitHub issues as input and produces pull request fixes. It uses an agent-computer interface (ACI) that defines how the LLM interacts with the development environment — file navigation, code search, editing, and testing. The agent operates autonomously, requiring no human intervention from issue to PR.
Fit check
When to use it
Good fit if
- Researchers benchmarking autonomous coding agent capabilities
- Teams studying how LLMs interact with real-world development environments
- Developers building autonomous issue-fixing pipelines for GitHub repositories
Not a fit if
- Developers who need interactive, conversational coding assistance
- Teams looking for a production-ready CI/CD integration for automated bug fixing
First test
How to evaluate it before committing
Keep the first test small enough that you can inspect the source, understand the permissions, and compare the result with nearby OpenAgent resources.
Workflows
Common ways to evaluate it
Autonomous bug fixing research
Use SWE-agent to study how well LLMs can understand bugs, navigate codebases, and produce correct fixes without human guidance.
Agent design experimentation
Experiment with different ACI configurations to understand how tool design affects agent performance on coding tasks.
Issue triage and fixing pipelines
Build pipelines that automatically attempt to fix incoming GitHub issues and submit PRs for human review.
Compare
How it 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.
| Resource | Category | License | Stars |
|---|---|---|---|
| Aider | Agents | Apache-2.0 | 45,400 |
| AutoGen | Agents | CC-BY-4.0 | 58,400 |
| Claude Code | Agents | Proprietary | 127,000 |
FAQ
Questions search visitors ask
Is SWE-agent open source?
Yes. SWE-agent is released under the MIT license, making it fully open source for inspection, modification, and redistribution.
Who should use SWE-agent?
Researchers studying autonomous coding agents, teams building automated bug-fixing pipelines, and developers interested in agent-computer interface design.
How does SWE-agent compare to other coding agents?
SWE-agent is unique in its focus on autonomous issue fixing and benchmark performance. Unlike interactive tools like Aider or Claude Code, it's designed to operate without human intervention.