📖 The AI Tool Bible

mini-SWE-agent

A 100-line open-source coding agent that scores 74%+ on SWE-bench Verified.

Free· Free and open source (Apache 2.0); you pay only for the underlying LLM tokens.AgentsMulti-model (via litellm, OpenRouter, Portkey)7.2 / 10
Visit website →
Best for

Pick mini-SWE-agent if you want a tiny, readable, model-agnostic coding-agent baseline to benchmark, extend, or embed in a research pipeline.

Skip if

Skip it if you want a polished IDE assistant or a managed autonomous-engineer SaaS with dashboards and team features.

mini-SWE-agent is a deliberately minimal AI coding agent from the Princeton/Stanford team behind SWE-bench and SWE-agent. The entire core is roughly 100 lines of Python with a linear, append-only message history and a single tool: bash via subprocess. That brutal simplicity is the point — and it still cracks 74%+ on SWE-bench Verified, putting it in the same league as far more elaborate agent frameworks.

It's aimed at researchers, agent tinkerers, and engineers who want a hackable baseline rather than a productized assistant. Model-agnostic via litellm, OpenRouter, and Portkey, so you can plug in Claude, GPT, Gemini, or local models. Sandbox options span local, Docker, Podman, Singularity, and Bubblewrap, which makes it usable for batch inference on benchmark suites without root-level worries. Apache 2.0 and free.

There are Python bindings for embedding it in larger pipelines, but there's no hosted product, no UI, no SaaS billing, and no support contract. If you want a Cursor-style IDE or a managed autonomous engineer, look elsewhere; if you want a readable reference implementation that you can read in one sitting and extend in an afternoon, this is the one.

Editor's take

The most refreshing thing in agent-land in a while — a credible SWE-bench performer that fits on a single screen. We'd reach for this before any of the heavier autonomous-coder frameworks when the goal is to understand, modify, or benchmark agent behavior rather than ship a polished UX.

— The AI Tool Bible editorial team

Pros

  • Roughly 100 lines of Python — trivially readable and hackable
  • Scores 74%+ on SWE-bench Verified despite the minimal design
  • Model-agnostic via litellm, OpenRouter, and Portkey
  • Sandbox-friendly: Docker, Podman, Singularity, Bubblewrap, local
  • Apache 2.0; backed by the SWE-bench and SWE-agent authors

Cons

  • ⚠️ No GUI, IDE integration, or hosted product
  • ⚠️ Bash-only tool surface — no built-in browser, search, or planning tools
  • ⚠️ You build your own ops layer (logging, cost caps, retries)
  • ⚠️ Aimed at researchers more than day-to-day end users

Use cases

swe-bench-evaluationautonomous-codingagent-researchbatch-inferenceagent-baseline

Explore related

Compare with similar tools

All in Agents

LangGraph

Featured
Agents · BYO (Claude / GPT / open)
8.8

Stateful, graph-based agent orchestration from LangChain.

Freemium· Free open-source; LangGraph Platform paidstateful agentshuman-in-loop

CrewAI

Featured
Agents · BYO (Claude / GPT / open)
8.4

Python framework for multi-agent orchestration.

Freemium· Free open-source core; cloud platform paidmulti-agentorchestration

Ernie Bot

Agents · Baidu ERNIE 4.0 / ERNIE X1 / ERNIE Turbo (in-house)
8.7

Baidu's Mandarin-first ChatGPT rival, powered by the ERNIE model family

Freemium· Free tier for Ernie 3.5 access; Ernie 4.0 and premium features require a paid subscription (approximately CNY 59.9/month for individual plans); enterprise API pricing via Baidu AI Cloud Qianfan platform is metered per 1K tokens.Mandarin content writing and marketing copyChinese-language document Q&A and summarisation

Moveworks

Agents · Orchestrates multiple enterprise-ready LLMs (undisclosed mix, historically including OpenAI GPT and in-house models via its Reasoning Engine)
8.7

The enterprise AI assistant that searches, answers, and takes action across your business systems

Enterprise· Enterprise-only pricing; no public tiers. Quoted per organization based on employee count, integrations, and agent scope. Contact sales for a quote.IT service desk ticket deflectionHR policy Q&A and self-service

AWS Bedrock

Agents · Multi-model: Anthropic Claude, Meta Llama, Mistral, Cohere, AI21, Amazon Nova/Titan, DeepSeek, Stability, OpenAI GPT
8.6

Build and scale generative AI applications with foundation models

Paid· Pay-as-you-go per 1K input/output tokens per model; on-demand, batch, and provisioned throughput tiers. New AWS accounts get up to $200 in credits. Enterprise agreements via AWS.Enterprise RAG chatbot over private documentsMulti-step tool-using agents via AgentCore

Claude Agent SDK

Agents · Claude Opus / Sonnet
8.6

Anthropic's official SDK for building autonomous Claude agents.

Free· Free SDK; API usage billed at Claude ratesClaude agentstool use