SWE-agent

SWE-agent

Agent Frameworks

SWE-agent/SWE-agent

20.7K2.3KPythonMIT

An AI agent that reads a GitHub issue and then explores the code, edits files, runs tests, and submits a fix on its own.

💻 Code Assistants🏗️ Agent Building⚙️ Automation Workflows🔒 Cybersecurity
SWE-agent preview
Preview card generated by GitHub from the repository. Star counts on the card may lag behind the figures above.
Tool Info
Type🐙 Open Source
Stars20.7K
Forks2.3K
LanguagePython
LicenseMIT
Unlock the full analysis — free
You're reading the public preview of SWE-agent. The AI-written pros & cons, use cases, setup guide and audience fit are free with an account — no credit card. Pro adds AI comparisons (50 per 30 days) and member daily & weekly reports.

Let your AI agent install it

project-specific

Copy this into Claude Code, Codex, Cursor, or any assistant that can run commands. It carries this project's own install command and verification step.

Install and configure SWE-agent on my machine.
Repository: https://github.com/SWE-agent/SWE-agent

What this project is: An AI agent that reads a GitHub issue and then explores the code, edits files, runs tests, and submits a fix on its own.

Installation given by the repo's docs (if it's stale, follow the current README):
whatever the README prescribes

Verify it works with this (also per the repo's docs):
whatever minimal example the README gives

Prerequisites and caveats: nothing unusual — check the README

Requirements:
1. Read the repo's README and install docs first — check whether the commands above still apply and whether dependencies are complete. Don't guess.
1b. **If it turns out not to be installable software** (a dataset, project template, config collection, documentation, design assets, or a phone app), tell me what it actually is and how it should be used, then proceed that way — don't force an install flow.
2. Choose steps for my OS (macOS / Linux / Windows). If unsure, ask me first — no destructive operations.
3. Actually run the verification step above and paste the real output, so we know it runs — not "it should work".
4. Ask before you need an API key, admin rights, or a large download / significant disk usage.
5. Finally tell me in a few lines: how to start it, how to uninstall it, and where the config lives.

Compare SWE-agent with alternatives

See how it stacks up against other agent frameworks tools.