mini-swe-agent is the deliberately minimal successor project from the Princeton/Stanford team behind SWE-bench and the original SWE-agent. Where SWE-agent leaned on custom tools and interfaces, mini strips the scaffold down to roughly 100 lines of Python: no bespoke tools beyond bash, a linear message history, and actions executed via independent subprocess.run calls — which makes it trivial to sandbox and scale. Vendor/maintainer claims (from the README, not independently benchmarked): >74% on SWE-bench Verified, "starts much faster than Claude Code," and adoption by Meta, NVIDIA, IBM, Princeton, Stanford and others. It is model-agnostic via litellm/openrouter/portkey (any model, since it doesn't require tool-calling), and deploys to local, docker/podman, singularity/apptainer, bubblewrap and more. Disambiguation: the minimal mini-swe-agent (PyPI mini-swe-agent), distinct from the larger original SWE-agent/SWE-agent by the same team. Best fit for engineers who want a hackable baseline agent rather than a UI-heavy product.
mini-swe-agent
The 100-line SWE agent that solves GitHub issues from your terminal
- Pricing Model
- open-source
- License
- Open Source
- Telemetry
- Clean
- Last Verified
- Aug 26, 2026
- Supported Platforms
- Python CLI (PyPI `mini-swe-agent`) + lightweight TUI. Runs locally or in docker/podman/singularity/bubblewrap sandboxes. Model-agnostic through litellm, OpenRouter, Portkey.
- Primary Categories
- AI CLI Agents
- Tags
- CLI, Coding Agents, Open Source, Python, BYOK, Model Agnostic
Radically minimal open-source SWE agent (~100 lines of Python) that uses nothing but bash to fix GitHub issues and assist in the command line, while scoring >74% on SWE-bench Verified.
Pricing & Platform Specs
Pricing Summary
Free and open-source under the MIT license with no subscription fees. Users bring their own LLM API keys and pay underlying provider token fees.
full pricing breakdown →Supported Platforms
Python CLI (PyPI `mini-swe-agent`) + lightweight TUI. Runs locally or in docker/podman/singularity/bubblewrap sandboxes. Model-agnostic through litellm, OpenRouter, Portkey.
Categories
Alternatives
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.
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.
AI pair programming in your terminal
Terminal-based AI pair programmer with deep git integration. Auto-commits changes with meaningful messages and creates repository maps for navigating large codebases. Works with Claude, GPT, DeepSeek, and local models. One of the most popular open-source AI coding tools, known for its reliability, broad model support, and seamless command-line workflow.
Open-source AI coding agent for the terminal
Open-source terminal-based AI coding agent built in Go by the SST team, with a rich TUI (Bubble Tea) supporting 75+ model providers including OpenAI, Anthropic, Gemini, Bedrock, Groq, and OpenRouter. Features vim-like editing, persistent SQLite sessions, and LSP integration for 40+ languages. Fully free with no vendor lock-in, it has rapidly grown to 95k+ GitHub stars.
Sources & verification
- Sources checked
- Content verified
Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.
FAQ
What is mini-swe-agent?
Radically minimal open-source SWE agent (~100 lines of Python) that uses nothing but bash to fix GitHub issues and assist in the command line, while scoring >74% on SWE-bench Verified.
Is mini-swe-agent free?
Yes — mini-swe-agent is open source and free to use. Free and open-source under the MIT license with no subscription fees. Users bring their own LLM API keys and pay underlying provider token fees.
Is mini-swe-agent open source?
Yes — mini-swe-agent is open source.
Is mini-swe-agent still maintained?
Yes — mini-swe-agent is active. Its listing was last verified on August 26, 2026.
What are the best mini-swe-agent alternatives?
The first editor-selected mini-swe-agent alternatives are Claude Code, Codex, Aider, and more.