
SWE-agent
AI agent that autonomously fixes GitHub issues and finds vulnerabilities
About SWE-agent
SWE-agent enables language models like GPT-4o and Claude Sonnet 4 to autonomously use tools for fixing GitHub repository issues, finding cybersecurity vulnerabilities, and performing custom software engineering tasks. While many AI coding assistants require developers to translate AI suggestions into action, SWE-agent gives models direct agency to read codebases, run commands, edit files, and verify fixes independently. Created by researchers from Princeton and Stanford universities, the platform achieves state-of-the-art performance on SWE-bench, the leading benchmark for autonomous software engineering. In February 2025, SWE-agent set new records on both SWE-bench full and verified benchmarks using Claude 3.7.
SWE-agent operates by giving language models a specialized environment where they can interact with Git repositories through carefully designed tools and commands. The system begins by analyzing a GitHub issue, understanding the problem description and expected behavior through the language model's reasoning capabilities. Next, the agent explores the codebase using tools like file reading, directory traversal, and code search to locate relevant files and understand existing implementations. Once context is gathered, the agent formulates a fix strategy, considering factors like backwards compatibility, test coverage, and code style consistency.
- •State-of-the-Art SWE-bench Performance demonstrates real-world effectiveness through benchmark leadership.
- •Free-Flowing Generalizable Approach gives language models maximum agency to explore repositories and formulate strategies without rigid procedural constraints.
- •Single YAML Configuration provides complete system customization through one accessible file.
- •Research-Grade Transparency ensures teams can understand, modify, and extend every aspect of the system.
- •Multi-Model Support enables experimentation with different language models including GPT-4o, Claude Sonnet 4, and other capable models.
SWE-agent serves research teams and engineering organizations prioritizing transparency and customization over turnkey convenience. It's ideal for companies with specialized development practices, security requirements, or domain-specific codebases that require tool customization rather than one-size-fits-all solutions. Academic researchers studying autonomous software engineering benefit from the system's hackable design and clear documentation, enabling experiments that extend capabilities or investigate agent decision-making patterns.
Pricing
Not published by the vendor
Free and open-source from Princeton and Stanford























































