# SWE-agent/mini-swe-agent

The 100 line AI agent that solves GitHub issues or helps you in your command line. Radically simple, no huge configs, no giant monorepo—but scores >74% on SWE-bench verified!

Repository: https://github.com/SWE-agent/mini-swe-agent
Canonical: https://ross.abutalabs.com/products/mini-swe-agent
Homepage: https://mini-swe-agent.com
Language: Python
License: MIT
License Family: permissive
Topics: agent, agentic-ai, agentic-ai-cli, ai, ai-agent, textual
Last push: 2026-08-24T22:03:16+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 82, longevity 30
- inputs: {"age_days": 431, "days_push": 9, "days_rel": 41, "gap_med": 3, "n_releases_24m": 62}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6779, forks 946 (observed 2026-08-28T04:09:48.468816+00:00)

## What it is
A radically minimal AI software engineering agent (~100 lines of core Python) that solves GitHub issues and assists in the command line, scoring over 74% on SWE-bench Verified. It supports all LLMs via LiteLLM and runs in local, Docker, Podman, Singularity, and other sandboxed environments.

## Use cases
- automatically fix github issues with an ai agent
- run a coding agent from the command line
- evaluate llms on swe-bench
- build a minimal ai agent from scratch
- let an ai edit and run code in a sandbox
- benchmark coding agents cheaply

## When to choose
- you want a simple, hackable coding agent without heavy configs
- you need a fast SWE-bench evaluation harness
- you want to learn how coding agents work internally
- you need broad model support via LiteLLM/OpenRouter

## When to avoid
- you need rich IDE integration or interactive UX like Claude Code
- you want extensive built-in tooling, plugins, and configs
- you need non-Python or non-shell agent environments

## Facets
- artifact type: cli-tool
- maturity: active
- function: agent-framework, llm-inference, cli, developer-tools
- domain: large-language-models, developer-tools
- platform: python, cli, cross-platform
- tags: coding-agent, swe-bench, litellm, github-issues, minimal-agent, software-engineering, ai-agents, command-line, docker

## Member repositories
- SWE-agent/mini-swe-agent (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:48.468816+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:42:22.867395+00:00, confidence not recorded.
  - readme: https://github.com/SWE-agent/mini-swe-agent (fetched 2026-08-28T04:09:48.468816+00:00, sha 9a589a4807a0)
  - homepage: https://mini-swe-agent.com (fetched 2026-08-29T08:38:21.867459+00:00, sha 36c6c3c2e4f9)
  - registry_pypi: https://pypi.org/pypi/mini-swe-agent/json (fetched 2026-08-29T08:38:21.876336+00:00, sha 1a232782c25d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
