SWE-agent
Use case: Coding agents
Princeton/Stanford agent that turns LMs into software engineers resolving GitHub issues.
Like SWE-agent? Find tools like it on X.
Follow @AgentstackDaily, plus the free Top 25 Agent Tools checklist.
At a glance
- Category
- Coding agents
- Best for
- Best AI coding agents in 2026 · Coding agents use cases
- Official site
- github.com
- Link checked
- November 4, 2026
- Data
- JSON
When to use SWE-agent
Consider SWE-agent when your agent work falls under Coding agents. Our directory summarizes it this way: Princeton/Stanford agent that turns LMs into software engineers resolving GitHub issues. If you are still choosing, compare it with Claude Code, OpenAI Codex CLI and Cursor before committing, since they sit in the same category.
How SWE-agent fits an agent workflow
In an agent stack, SWE-agent belongs to the Coding agents category, which covers the development layer, where an agent reads, writes and runs code in a repository or terminal. You will also find it in our curated list: Best AI coding agents in 2026. Other Coding agents entries worth a look alongside it include Aider, Cline and OpenHands.
Pricing & open source
The official link is a GitHub repository (github.com/SWE-agent/SWE-agent), so you can read the source and its license there. Plans and terms can change, so check the official site for current pricing and licensing.
SWE-agent alternatives
- Claude Code — Anthropic's agentic coding CLI
- OpenAI Codex CLI — Lightweight coding agent that runs locally in your terminal with sandboxed execution.
- Cursor — AI code editor with background/cloud agents, rules and MCP support.
- Aider — Terminal pair-programmer that edits files in your git repo and commits changes.
- Cline — Autonomous coding agent for VS Code that plans, edits and runs commands with approval.
- OpenHands — Open platform for software-development agents (formerly OpenDevin) that can run in a sandb
All Coding agents tools → · Best AI coding agents in 2026
Related tools
- Goose
Open-source extensible local agent, now under the Linux Foundation's Agentic AI Foundation, that automates engineering t
- opencode
Open-source terminal coding agent supporting many model providers.
- Claude Code best practices
Anthropic's tips: CLAUDE.md, plan-first, test-driven loops and running multiple instances.
- Devin
Cognition's autonomous AI software engineer.
- Replit Agent
Build and deploy apps from prompts in the browser.
FAQ
What is SWE-agent?
SWE-agent lets a language model of your choice autonomously use tools to fix issues in real GitHub repositories, find cybersecurity vulnerabilities or perform custom tasks. It is built and maintained by researchers from Princeton University and Stanford University.
Should I use SWE-agent or mini-SWE-agent?
The maintainers recommend mini-SWE-agent going forward. They say it has superseded SWE-agent, matches its performance and is much simpler, and that most of their development effort is now on it.
Is SWE-agent open source?
Yes. SWE-agent is released under the MIT License.
Get new agent tools and tips as they're added
Follow @AgentstackDaily on X for new tools and copy-paste tips. Free.