# mini-SWE-agent — card for AI agents

Open-source software-engineering agents from Princeton and Stanford researchers: SWE-agent (2024) and its roughly 100-line successor mini-SWE-agent, which uses only bash and works with any model through LiteLLM and similar routers. The SWE-agent README says development effort has moved to mini-SWE-agent.

Maker: Princeton University & Stanford University (SWE-agent team) · category: Terminal coding agents · open source (MIT)

## Price
- Free MIT-licensed research software; users pay their model provider through their own API keys.
- Free tier: yes
- Checked: 2026-11-04

## Install
- PyPI: `pip install mini-swe-agent`

## Facts
- Interfaces: CLI
- Bring your own API key: yes
- Repository: https://github.com/SWE-agent/mini-swe-agent

## Numbers (AgentGid data)
- Gid Score: 51 (rank #66) (public popularity and activity, not quality)
- Downloads last 7 days: 3,081,685
- GitHub stars: 9,771

## Details (plan limits, live status, safety; from AgentGid's data)
mini-SWE-agent by Princeton University & Stanford University (SWE-agent team). Category: Terminal coding agents. Type: terminal agent (research). Open-source software-engineering agents from Princeton and Stanford researchers: SWE-agent (2024) and its roughly 100-line successor mini-SWE-agent, which uses only bash and works with any model through LiteLLM and similar routers. The SWE-agent README says development effort has moved to mini-SWE-agent. Note: As of 2026-10-05 the SWE-agent README says it has been superseded by mini-SWE-agent (last SWE-agent release v1.1.0 on 2025-05-22). Open source (MIT) Pricing (checked 2026-11-04): Free MIT-licensed research software; users pay their model provider through their own API keys. Free tier: yes. Interfaces: CLI Models: Any model via LiteLLM, OpenRouter, Portkey and similar Supports: local, byok, headless Data: Gid Score 51/100, #66 overall; #11 in its category; 9,771.0 GitHub stars; usage -2% over 30 days; latest release 2.4.6 (2026-07-23). News: 2026-02-02: mini-SWE-agent v2 first alpha published on PyPI (2.0.0a1)

## Alternatives in the same category
- Claude Code: https://agentgid.com/agents/claude-code/agent.md
- OpenAI Codex: https://agentgid.com/agents/openai-codex/agent.md
- OpenCode: https://agentgid.com/agents/opencode/agent.md
- Pi: https://agentgid.com/agents/pi/agent.md
- Gemini CLI: https://agentgid.com/agents/gemini-cli/agent.md
- Cline: https://agentgid.com/agents/cline/agent.md

## Links
- AgentGid page: https://agentgid.com/agents/mini-swe-agent/
- Source: https://github.com/SWE-agent/mini-swe-agent
- Source: https://github.com/SWE-agent/SWE-agent
- Source: https://pypi.org/pypi/mini-swe-agent/json
- Source: https://mini-swe-agent.com/latest/

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
