SWE-agent

An open-source AI agent that autonomously browses and edits a GitHub repository to successfully fix real software bugs, turning an LLM into a software engineer.

AI AgentBug FixingGitHub AutomationOpen Source AICode RepairAutonomous Coding
Pricing · Free

SWE-agent Introduction

SWE-agent is a groundbreaking open-source project that elevates a large language model from a code suggester to a fully autonomous bug-fixing agent. By providing the model with a controlled environment to navigate files, search code, and make edits, SWE-agent can resolve real-world GitHub issues without human intervention. This points toward a future where much of the routine maintenance and debugging of software can be reliably automated.

Key Features

  • Takes a GitHub issue and works autonomously to find and fix the underlying bug
  • Browses the repository, reads files, and navigates the codebase to locate the problem
  • Edits the code and can verify its fix by running tests in a sandbox
  • Operates as a command-line agent that can be run on any public repo
  • Represents a significant step toward fully autonomous software maintenance
SWE-agent hero image