SWE-agent

SWE-agent

Open-source AI agent that autonomously fixes GitHub issues using your choice of LLM

74/100Safe BetFreeFree

SWE-agent is a landmark research tool, but its maintenance mode makes it a hard sell for new projects. If you need EnIGMA's CTF capabilities or want to study the original architecture, it's worth the setup. For everything else, mini-swe-agent is the smarter default — lighter, simpler, and actively developed. If you need a supported, polished commercial alternative, GitHub Copilot Workspace or Devin are better fits but cost money and offer less transparency.

Verified 6d ago · liveness 74/100 · cite: rightaichoice.com/tools/swe-agent

Best for
  • Researchers studying autonomous program repair or agent-computer interfaces
  • Security researchers automating penetration testing with EnIGMA mode
  • Developers comfortable with CLI and Docker who want to automate bug triage
  • Hobbyists experimenting with AI-driven code generation
Not ideal for
  • Beginners unfamiliar with command-line tools or Docker
  • Users needing a visual interface or IDE plugin
  • Teams without access to LLM API keys or local models
Visit Website

AdvancedFor a developer familiar with Docker and Python: roughly 1-2 hours to install via pip, configure a YAML file, and run a first simple issue fix. For a researcher wanting to run SWE-bench benchmarks: half a day to a day to set up the full evaluation pipeline. For a security user wanting EnIGMA mode: expect a few hours to install the specific 0.7 version and configure the CTF environment.CLINo public APIVerified 6d ago
Pricing
Free
FreeFree tier5 hidden costs
Learning curve
Advanced
For a developer familiar with Docker and Python: roughly 1-2 hours to install via pip, configure a YAML file, and run a first simple issue fix. For a researcher wanting to run SWE-bench benchmarks: half a day to a day to set up the full evaluation pipeline. For a security user wanting EnIGMA mode: expect a few hours to install the specific 0.7 version and configure the CTF environment.
Runs on
CLI
No public API · 5 integrations
Who it's for
Researcher studying program repairSecurity researcher automating penetration testingDeveloper automating bug triage
Live sentiment
Is SWE-agent actually worth it?

We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

3 free scans · no card needed

Skip it if

Skip SWE-agent if you need an actively maintained, production-supported tool, prefer a visual interface, or are not comfortable with Docker and command-line setup — in those cases mini-swe-agent or a commercial alternative like GitHub Copilot Workspace is a better fit.

The 30-second take
Biggest gripe

Running SWE-agent yourself means you pay for your own LLM API usage (e.g., GPT-4o or Claude Sonnet 4 tokens), which can add up quickly if you process many issues.

Price reality

SWE-agent is completely free (MIT license), but you pay for your own LLM API tokens and infrastructure. For researchers and hobbyists, it's cheaper than commercial tools like GitHub Copilot Workspace or Devin, which charge monthly subscription fees. However, commercial tools bundle support and a polished UI, so the trade-off is control and transparency versus convenience. If you're cost-sensitive and comfortable with CLI and Docker, SWE-agent is the most affordable option; otherwise, budget for

In short

SWE-agent — Open-source AI agent that autonomously fixes GitHub issues using your choice of LLM. Best for Researchers studying autonomous program repair or agent-computer interfaces, Security researchers automating penetration testing with EnIGMA mode, Developers comfortable with CLI and Docker who want to automate bug triage. Free to use.

What's new in SWE-agent

Checked 6 days ago

Across the latest 4 updates: 4 feature updates.

What people actually say about SWE-agent — is it worth it?

We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.

30 mentions across 1 source (Hacker News) · researched Jul 3, 2026.

40% positive60% critical
Recurring strengths
  • +Autonomous bug fixing from a GitHub issue URL.
  • +Supports multiple LLM backends: OpenAI, Anthropic, local models.
  • +Sandboxed Docker environment ensures safe execution.
  • +Top SWE-bench scores at time of NeurIPS 2024 publication.
  • +Free and open-source under MIT license.
Recurring frustrations
  • Replaced by mini-swe-agent for simpler use cases.
  • Complex Docker-based setup and configuration.
  • No GUI; entirely command-line driven.
  • Documentation can feel academic, not user-friendly.
  • Autonomous mode may produce incorrect fixes without review.
Patterns worth knowing
mini-swe-agent is the recommended successor, simpler and equally capable.
Seen on Hacker News
SWE-agent provides a flexible, research-grade harness for comparing LLMs.
Seen on Hacker News
Setup complexity and Docker requirement are barriers for casual users.
Seen on Hacker News
Learning curve
advancedProductive in ~A few hours
Hidden costs people mention
  • LLM API usage costs (pay-per-token) not included
  • Compute and storage for Docker images

Viability Score

74/100
Safe Bet

How well maintained and how widely used is SWE-agent? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
90
Traction
100
Site health
95
User sentiment
40
What the vendor publishes
40

Last calculated: August 2026

How we score →

Key Features

  • Autonomous GitHub issue fixing
  • Use any LLM backend (GPT-4o, Claude Sonnet 4, Ollama)
  • Local models via Ollama
  • Docker sandbox for safe execution
  • Automatic pull request creation
  • Single YAML configuration
  • Trajectory logging for debugging
  • EnIGMA mode for cybersecurity CTF challenges
  • SWE-bench benchmarking
  • Command-line interface
  • GitHub API integration
  • Extensible tool set (file editing, shell)
  • Competitive coding challenges support
  • MIT license
  • Open source from Princeton and Stanford

About SWE-agent

FreeAdvancedNo APICLI

SWE-agent is an open-source, MIT-licensed toolkit from Princeton and Stanford researchers that lets you point a language model of your choice at a GitHub issue and have it autonomously work toward a fix. It equips the model with tools to explore a repository, edit files, and execute shell commands inside a Docker sandbox, then generates a pull request with the proposed changes. Built for developers, researchers, and security engineers, it's also been used for offensive cybersecurity challenges and competitive coding. The project recently hit state-of-the-art results on SWE-bench among open-source projects and was presented at NeurIPS 2024. SWE-agent enables your language model of choice (e.g. GPT-4o or Claude Sonnet 4) to autonomously use tools to fix issues in real GitHub repositories, find cybersecurity vulnerabilities, or perform any custom task. The system is highly configurable — a single YAML file governs the agent's behavior, and full documentation covers installation, benchmarking, and customization. It supports any LLM backend, including GPT-4o, Claude Sonnet 4, and local models via Ollama, and it logs trajectories to help you debug agent reasoning. For security work, the EnIGMA mode tackles capture-the-flag challenges and has achieved top scores on multiple cybersecurity benchmarks. Because it's designed for research, the codebase is simple and extensible, making it a favorite for those studying AI-driven software engineering. That said, the development team has explicitly shifted focus to mini-swe-agent, a lighter version that matches SWE-agent's performance with far less complexity. The original remains functional but is now in maintenance mode. For new users, the maintainers recommend mini-swe-agent. SWE-agent itself offers maximum control and research flexibility, but it demands comfort with the command line and Docker. For teams seeking a polished, supported commercial tool, options like GitHub Copilot Workspace or Devin may be a better fit — though you'll pay for that polish with far less transparency and customizability.

Behind the Verdict

SWE-agent is a powerful research artifact from Princeton and Stanford that demonstrated the potential of agent-computer interfaces for automated software engineering. Its core value proposition is flexibility: you bring your own LLM (GPT-4o, Claude Sonnet 4, or any Ollama-hosted local model) and SWE-agent provides the scaffolding to turn that model into an autonomous coding agent. The single YAML configuration is a standout feature, giving researchers complete control over the agent's behavior without touching the Python source. The trajectory logging is invaluable for debugging why an agent made a particular decision, and the EnIGMA mode for offensive cybersecurity is a unique capability that's hard to find elsewhere. The biggest strengths are the SWE-bench state-of-the-art results and the clean, hackable codebase. It's genuinely made for research: you can tweak the tool definitions, experiment with different prompts, and measure performance against a standardized benchmark. The EnIGMA mode has achieved top scores on multiple cybersecurity leaderboards, making it a go-to tool for security researchers exploring AI-driven penetration testing. However, the project's development status is a major consideration. The maintainers have explicitly stated that most development effort is now on mini-swe-agent, a lighter version that matches SWE-agent's performance with far less complexity. The original repository is in maintenance mode — it still works, but you shouldn't expect new features. This is fine for research where reproducibility matters, but risky for production use. There's also a learning curve: you need to be comfortable with the command line, Docker, and YAML configuration. If you want a visual interface or an IDE plugin, this isn't it. Weak LLMs will produce incorrect patches, so the tool's effectiveness is gated by the quality of the model you pair it with. For a researcher studying agent design or a security engineer wanting to benchmark AI penetration testing, SWE-agent is still a valuable resource. For most other use cases, mini-swe-agent is the better choice. If you need a polished commercial tool, GitHub Copilot Workspace or Devin offer more hand-holding but cost money and give you less control.

Researching SWE-agent? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Real-world workflow fit

Concrete scenarios for the personas SWE-agent actually fits — and what changes day-one when you adopt it.

Researcher studying program repair

You want to evaluate how well Claude Sonnet 4 fixes bugs in a set of GitHub repositories.

Outcome: Using SWE-agent with a YAML configuration targeting Claude Sonnet 4, you run the agent on a SWE-bench subset, collect trajectories, and analyze the success rate, publishing results in a paper.

Security researcher automating penetration testing

You need to automate solving capture-the-flag challenges for a security assessment.

Outcome: Using EnIGMA mode (SWE-agent 0.7), you configure the agent for CTF tasks, run it against a challenge set, and achieve state-of-the-art scores, saving hours of manual exploitation work.

Developer automating bug triage

Your team has a backlog of open GitHub issues, and you want to generate candidate fixes automatically.

Outcome: You set up SWE-agent with your preferred LLM (e.g., GPT-4o), point it at priority issues, and it generates pull requests with proposed changes, which your team reviews and merges or refines.

Use Cases

  • Automatically generate pull requests for open GitHub issues
  • Evaluate LLM performance on software engineering tasks using SWE-bench
  • Simulate autonomous agents for cybersecurity red team exercises
  • Practice competitive programming with AI co-pilots
  • Prototype automated bug bounty solvers
  • Conduct research on code generation and repair

Models Under the Hood

Claude 3.7SWE-agent-LM-32b

as of 2026-08-21

Limitations

  • SWE-agent requires running locally or on a server with Docker.
  • Performance depends heavily on the underlying LLM; weak models may produce incorrect patches.
  • The tool is best for straightforward bugs and may struggle with highly complex or context-dependent issues.
  • The original tool is now in maintenance mode; most development effort has shifted to mini-swe-agent.

as of 2026-08-19

Verification history

We have re-verified SWE-agent 6 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  2. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  3. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  4. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  5. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  6. re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it

Free to cite with attribution — this page re-verifies continuously.

12-month cost

Project the real annual outlay, including the implied monthly cost when only an annual tier is published.

Annual total
Free
Over 12 months
Effective monthly

Vendor list price only. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.

Plans compared

For each published SWE-agent tier: who it actually fits, and what it adds vs. the previous tier. Cross-reference the cost calculator above for projected annual outlay.

Free

$0

Ideal for

Researchers, hobbyists, and security engineers who want a free, open-source tool to experiment with autonomous code fixing or cybersecurity CTF challenges, provided they're comfortable with CLI and Docker.

What this tier adds

Starting tier: MIT-licensed, free forever, with full features including EnIGMA mode, but you pay for your own LLM API tokens and infrastructure.

Hidden costs & gotchas

What the public pricing page doesn't put in bold. Captured from pricing-page footnotes, contract terms, and recurring complaints.

  • Running SWE-agent yourself means you pay for your own LLM API usage (e.g., GPT-4o or Claude Sonnet 4 tokens), which can add up quickly if you process many issues.
  • Docker and GPU resources for running the sandbox and local models (via Ollama) require your own hardware or cloud spend.
  • If you want EnIGMA mode for cybersecurity challenges, you need to use SWE-agent 0.7, an older version, while it's updated for 1.0 — potentially missing newer features.
  • There's no managed hosting or support; you're responsible for setup, maintenance, and troubleshooting.
  • The tool may produce incorrect patches that require human review, adding engineering time to validate changes.

Where the pricing makes sense

The company stage and team size where SWE-agent's pricing actually pencils out — and where peers do it cheaper.

SWE-agent is completely free (MIT license), but you pay for your own LLM API tokens and infrastructure. For researchers and hobbyists, it's cheaper than commercial tools like GitHub Copilot Workspace or Devin, which charge monthly subscription fees. However, commercial tools bundle support and a polished UI, so the trade-off is control and transparency versus convenience. If you're cost-sensitive and comfortable with CLI and Docker, SWE-agent is the most affordable option; otherwise, budget for

Setup time & first value

How long it actually takes to get something useful out of SWE-agent — broken out by persona, not the marketing-page minute.

For a developer familiar with Docker and Python: roughly 1-2 hours to install via pip, configure a YAML file, and run a first simple issue fix. For a researcher wanting to run SWE-bench benchmarks: half a day to a day to set up the full evaluation pipeline. For a security user wanting EnIGMA mode: expect a few hours to install the specific 0.7 version and configure the CTF environment.

Switching to or from SWE-agent

How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.

Migrating in
  • From manual GitHub issue fixing: run SWE-agent on a test issue first to see if the generated patch matches your coding style, then adopt for routine bug triage.
  • From mini-swe-agent: if you need EnIGMA's cybersecurity mode or want to experiment with the original architecture, install SWE-agent 1.0 and port your mini-swe-agent configuration.
Migrating out
  • To mini-swe-agent: if you find SWE-agent too complex, mini-swe-agent matches its performance with a simpler setup; port your YAML configuration and testing scripts.
  • To GitHub Copilot Workspace: if you prefer a commercial, supported tool with a UI, export your GitHub issue backlog and start using Copilot Workspace's guided workflow.
  • To Devin: for a fully managed autonomous coding assistant, migrate your GitHub repository and issue tracker to Devin's platform.

Integrations

GitHubOpenAIAnthropicOllamaDocker

Resources & Guides

Tutorials & Learning

Tools that pair well with SWE-agent

Common stack mates teams adopt alongside SWE-agent, with the specific reason each pairing earns its keep.

Featured Head-to-Head Comparisons

Alternatives to SWE-agent

View all
OpenHands

OpenHands

Open-source platform for autonomous cloud coding agents that fix bugs, review PRs, and automate workflows.

FreemiumTry
Open Interpreter

Open Interpreter

Open-source terminal agent that runs natural-language commands on your computer

FreeTry
Refact.ai

Refact.ai

Open-source autonomous AI coding agent that plans, executes, and deploys tasks in your IDE.

FreemiumTry

Frequently Asked Questions

Used SWE-agent? Help shape our editorial sentiment research.