Skip to content

Latest commit

 

History

History

README.md

layout title nav_order has_children format_version
default
Mini-SWE-Agent Tutorial
135
true
v2

Mini-SWE-Agent Tutorial: Minimal Autonomous Code Agent Design at Benchmark Scale

Learn how to use SWE-agent/mini-swe-agent to run compact, high-performing software-engineering agent workflows with minimal scaffolding and strong reproducibility.

GitHub Repo License Docs

Why This Track Matters

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

Current Snapshot (auto-updated)

Mental Model

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]
Loading

Chapter Guide

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

What You Will Learn

  • 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

Source References

Related Tutorials


Start with Chapter 1: Getting Started.

Navigation & Backlinks

Full Chapter Map

  1. Chapter 1: Getting Started
  2. Chapter 2: Core Architecture and Minimal Design
  3. Chapter 3: CLI, Batch, and Inspector Workflows
  4. Chapter 4: Global and YAML Configuration Strategy
  5. Chapter 5: Environments, Sandboxing, and Deployment
  6. Chapter 6: Benchmarking and SWE-bench Practices
  7. Chapter 7: Cookbook Extensions and Python Bindings
  8. Chapter 8: Contribution Workflow and Governance

Generated by AI Codebase Knowledge Builder