Skip to content
aicoolies logo
mini-swe-agent logo

mini-swe-agent

The 100-line SWE agent that solves GitHub issues from your terminal

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.

About mini-swe-agent

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.

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.

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.

Explore categories, tags & use cases

Categories

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 runs on current Claude models such as Opus 5.5 and Sonnet 5.5 for complex architecture work. Built for terminal-first developers.

freemium
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.

paidTelemetry

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

Open-source AI coding agent for the terminal

Open-source (MIT) AI coding agent from Anomaly for the terminal, desktop and web. It works with many LLM providers via /connect, local models through Ollama, the pay-as-you-go OpenCode Zen gateway and OpenCode Go subscriptions. OpenCode 2.0 runs one shared background service for all clients and adds the @opencode/client package and Code Mode, which composes MCP and OpenAPI tools in a single script.

Open Source

Community experience

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.