aicoolies logo
SWE-Agent logo
SWE-Agent logo

SWE-Agent

MIT-licensed autonomous coding-agent reference, now superseded for many new uses by mini-swe-agent.

open sourceupdated Aug 16, 2026

SWE-agent is an MIT-licensed autonomous coding-agent reference from Princeton and Stanford researchers that takes GitHub issues and attempts fixes with a bring-your-own language model. Its agent-computer interface remains foundational for repository navigation, editing, and test execution. The README now says development has shifted to mini-swe-agent, which supersedes SWE-agent and is generally recommended going forward.

Read our SWE-Agent review

A detailed review by the aicoolies team — click to read

SWE-agent is an MIT-licensed autonomous software-engineering agent from Princeton and Stanford researchers that takes GitHub issues or coding tasks and attempts to solve them with a language model of your choice. It remains one of the canonical open-source references for agent-computer-interface design, repository navigation, file editing, test execution, and patch generation.

The important current-status caveat is mini-swe-agent. The SWE-agent README now says most current development effort is on mini-swe-agent, which has superseded SWE-agent, matches its performance while being much simpler, and is the general recommendation going forward. SWE-agent itself is still public, not archived, and useful as a deeper research/reference implementation rather than a polished hosted product.

SWE-agent runs locally or in your own CI environment with bring-your-own LLM API keys. It is strongest for researchers, open-source maintainers, and advanced engineering teams that want to study or customize an autonomous coding loop. Teams seeking production fleet management, review dashboards, audit trails, or turnkey cost controls should compare mini-swe-agent, OpenHands, or managed commercial coding-agent platforms before standardizing on SWE-agent.

Pricing

Free and MIT-licensed; bring your own LLM API keys and pay provider token costs

Platforms

Local/CI Python CLI; current README recommends mini-swe-agent for many new workflows

Categories

Tags

Use Cases

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Grok logo

Grok Build

Top Pick

xAI's terminal coding agent with parallel subagents and worktree-aware automation

Grok Build is xAI's terminal-first coding agent for planning, editing, testing, and reviewing code from a local CLI. The early beta exposes subagent controls, worktree mode, headless JSON output, best-of-N parallel attempts, sandbox profiles, and experimental memory. It fits developers comparing Claude Code, Codex, and Gemini CLI for local agentic workflows with deeper parallel execution.

paid
Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

Open Source
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

paid
Cursor logo

Cursor

Top Pick

The AI-first code editor

AI-first code editor built as a VS Code fork that deeply integrates LLMs into every part of the development workflow. Features Tab autocomplete with multi-line predictions, Cmd+K inline editing, AI chat with full codebase awareness, and Agent mode for autonomous multi-file edits with terminal execution. Supports GPT-4, Claude, and more with automatic context from project files and docs. Includes privacy mode for SOC 2 compliance. The leading AI-native IDE with 100K+ paying users.

freemiumTelemetry
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemium
KaibanJS logo

KaibanJS

JavaScript framework for building and visualizing multi-agent workflows on a Kanban board

KaibanJS is an MIT-licensed JavaScript framework for defining AI agents, tasks, tools, and teams, then orchestrating their work through a Kanban-inspired runtime and visual board. It can run inside Node.js, React, or Next.js projects, supports custom UIs and headless workflows, and provides real-time task-state visibility for multi-agent applications.

Open SourceTelemetry

Used in Stacks

Comparisons

OpenHands vs Devin vs SWE-Agent — Autonomous Coding Agent Comparison

Autonomous coding agents that independently solve GitHub issues, write code, run tests, and submit pull requests represent the next frontier of AI-assisted development. OpenHands is the leading open-source platform with 60K+ GitHub stars, Devin is the pioneering commercial product from Cognition AI, and SWE-Agent is the Princeton research tool that established the benchmarks. This comparison evaluates which agent fits your team's needs for autonomy, cost, and deployment flexibility.

FAQ

What is SWE-Agent?

SWE-agent is an MIT-licensed autonomous coding-agent reference from Princeton and Stanford researchers that takes GitHub issues and attempts fixes with a bring-your-own language model. Its agent-computer interface remains foundational for repository navigation, editing, and test execution. The README now says development has shifted to mini-swe-agent, which supersedes SWE-agent and is generally recommended going forward.

Is SWE-Agent free?

Yes — SWE-Agent is open source and free to use. Free and MIT-licensed; bring your own LLM API keys and pay provider token costs

Is SWE-Agent open source?

Yes — SWE-Agent is open source.

What are the best SWE-Agent alternatives?

The top editor-verified SWE-Agent alternatives are OpenHands, Devin, Mentat.

How does SWE-Agent score in our review?

Our hands-on review scores SWE-Agent 79/100 overall, based on speed, privacy, and developer-experience testing.