
SWE-Agent - AI Code Repair Agent
An open-source AI agent that navigates code repositories, edits files, and runs tests to autonomously resolve GitHub issues, achieving state-of-the-art performance on SWE-bench.
- Autonomous Issue Resolution
- Agent-Computer Interface
- Benchmark Dominance
- Multi-LLM Integration


What is SWE-Agent?
SWE-Agent is an open-source AI software engineering agent that autonomously resolves GitHub issues from start to finish. It intelligently navigates entire codebases, edits files, and executes tests using a specialized Agent-Computer Interface. Designed for engineering and DevOps teams aiming to automate bug fixes and accelerate development, SWE-Agent’s key differentiator is its state-of-the-art performance on the SWE-bench benchmark, proving its capability to handle complex, real-world software engineering tasks far beyond simple code generation.
Key Features & Benefits
Autonomous Issue Resolution
Agents independently navigate codebases, edit files, and execute tests to resolve GitHub issues end-to-end without human intervention.
Agent-Computer Interface
Specialized tools provide agents with file navigation, editing capabilities, and shell access for comprehensive repository interaction.
Benchmark Dominance
Achieves 12.29% issue resolution rate on SWE-bench, outperforming all existing models in real-world software engineering tasks.
Multi-LLM Integration
Supports configuration with various large language models for flexible and optimized performance across coding tasks.
Use Cases
Autonomous GitHub Issue Resolution
SWE-Agent can autonomously take a GitHub issue, navigate the repository, and generate a pull request to fix the bug without human intervention.
"We pull things back to the management layer, where I just assign a bug report and the bot tries to fix it completely autonomously."
Assign Tasks via Workplace Integrations
SWE-Agent integrates with issue trackers and messaging platforms (e.g., Asana, Slack) to accept assignments and report back completion status automatically.
"These new agentic coding tools… operate like the manager of an engineering team, assigning issues through workplace systems like Asana or Slack and checking in when a solution has been reached."
Automated Debugging of Misnamed File Bugs
In a real-world example, SWE-Agent rapidly identified a misnamed file error in a GitHub repository and corrected the code path to resolve the issue.
"It correctly determined that the root cause of the bug was a line that pointed to the wrong location for a file, then navigated through the project… and amended the code so that everything ran properly."