| layout | title | nav_order | has_children | format_version |
|---|---|---|---|---|
default |
Mini-SWE-Agent Tutorial |
135 |
true |
v2 |
Learn how to use
SWE-agent/mini-swe-agentto run compact, high-performing software-engineering agent workflows with minimal scaffolding and strong reproducibility.
Mini-SWE-Agent distills coding-agent design to a compact core while still delivering strong benchmark performance, making it valuable for both research and production-minded engineering.
This track focuses on:
- shipping a first minimal agent run quickly
- understanding the small-core architecture tradeoffs
- configuring global and YAML-based behavior controls
- scaling to benchmark and sandboxed execution workflows
- repository:
SWE-agent/mini-swe-agent - stars: about 3.3k
- latest release:
v2.2.7(published 2026-03-12)
flowchart LR
A[Task] --> B[DefaultAgent loop]
B --> C[Model reasoning]
C --> D[Bash action execution]
D --> E[Environment abstraction]
E --> F[Trajectory and evaluation artifacts]
| Chapter | Key Question | Outcome |
|---|---|---|
| 01 - Getting Started | How do I run mini-swe-agent quickly? | Working baseline |
| 02 - Core Architecture and Minimal Design | Why does this tiny architecture still perform well? | Strong architecture intuition |
| 03 - CLI, Batch, and Inspector Workflows | How do I operate single-task and benchmark flows? | Better workflow control |
| 04 - Global and YAML Configuration Strategy | How do I configure behavior cleanly and reproducibly? | Reliable config model |
| 05 - Environments, Sandboxing, and Deployment | How do I execute safely across environments? | Safer runtime operations |
| 06 - Benchmarking and SWE-bench Practices | How do I evaluate and compare runs rigorously? | Evaluation discipline |
| 07 - Cookbook Extensions and Python Bindings | How do I customize components without bloat? | Extensibility baseline |
| 08 - Contribution Workflow and Governance | How do I contribute while preserving minimalism? | Contributor readiness |
- how to run a compact coding agent with clear control flow
- how to configure models, environments, and run policies safely
- how to evaluate at benchmark scale without over-complication
- how to extend mini-swe-agent while preserving design intent
- Mini-SWE-Agent Repository
- Mini-SWE-Agent README
- Mini-SWE-Agent Docs
- Quickstart
- YAML Configuration Guide
- Contributing Guide
Start with Chapter 1: Getting Started.
- Start Here: Chapter 1: Getting Started
- Back to Main Catalog
- Browse A-Z Tutorial Directory
- Search by Intent
- Explore Category Hubs
- Chapter 1: Getting Started
- Chapter 2: Core Architecture and Minimal Design
- Chapter 3: CLI, Batch, and Inspector Workflows
- Chapter 4: Global and YAML Configuration Strategy
- Chapter 5: Environments, Sandboxing, and Deployment
- Chapter 6: Benchmarking and SWE-bench Practices
- Chapter 7: Cookbook Extensions and Python Bindings
- Chapter 8: Contribution Workflow and Governance
Generated by AI Codebase Knowledge Builder