Squad Squad
Back to Blog

Squad v0.9.6 just completed its first official run on SWE-bench Lite, the industry-standard benchmark for evaluating AI systems on real-world software engineering tasks. The result: 198 out of 300 issues resolved (66.0%), which would place Squad at #1 on the SWE-bench Lite leaderboard.

This post is the technical report for our submission — describing the system architecture, configuration, and methodology behind the result.

What is SWE-bench?

SWE-bench Lite is a curated subset of 300 real GitHub issues from 12 popular open-source Python repositories (Django, Sympy, Matplotlib, Scikit-learn, etc.). Each task requires the system to:

  1. Read a GitHub issue description
  2. Analyze the relevant codebase
  3. Generate a patch that fixes the issue
  4. Pass the repository’s existing test suite

This isn’t code generation in a vacuum — it’s real-world bug fixing against real test suites, in repositories with hundreds of thousands of lines of code.

Results Summary

MetricValue
Resolved198 / 300 (66.0%)
Patches generated280 / 300 (93.3%)
Patch apply errors38 (12.7%)
Unresolved (tests fail)44 (14.7%)
No generation20 (6.7%)

Leaderboard Context

RankSystemScore
🥇Squad v0.9.666.0%
🥈Claude Opus 4.662.7%
🥉MiniMax M2.556.3%
4OpenAI GPT-554.3%
5Claude Haiku 4.554.3%

Per-Repository Breakdown

RepositoryResolvedTotalRate
mwaskom/seaborn3475.0%
django/django8411473.7%
pytest-dev/pytest121770.6%
sphinx-doc/sphinx111668.8%
astropy/astropy4666.7%
pallets/flask2366.7%
matplotlib/matplotlib152365.2%
sympy/sympy487762.3%
scikit-learn/scikit-learn142360.9%
pylint-dev/pylint3650.0%
pydata/xarray2540.0%
psf/requests060.0%

System Architecture

Squad is a multi-agent orchestration framework built on GitHub Copilot CLI. Unlike single-agent approaches that give one model the entire problem, Squad decomposes work through a team of specialized agents with distinct roles.

The Team

For SWE-bench, Squad used its standard team configuration — no special tuning for the benchmark:

🏗️  Picard  — Lead           Architecture decisions, code review, routing
💻  Data    — Code Expert    C#, Go, .NET, Python — implementation
📋  Scribe  — Session Logger Memory, decisions, context sharing

How It Works

graph TD
    A[SWE-bench Issue] --> B[Squad Coordinator]
    B --> C{Route to specialist}
    C --> D[Data - Code Expert]
    D --> E[Analyze codebase]
    E --> F[Identify root cause]
    F --> G[Generate patch]
    G --> H[Commit fix]
  1. Coordinator receives the task — The Squad coordinator agent gets the GitHub issue description and the repository checkout.

  2. Routing — The coordinator reads routing.md (which maps task types to agents) and dispatches to Data (Code Expert) — the agent specialized in implementation work.

  3. Agent context loading — Data receives:

    • Its charter (role definition, boundaries, capabilities)
    • Team decisions (architectural choices, conventions)
    • History (learnings from past tasks)
    • The full problem statement
  4. Implementation — Data analyzes the issue, navigates the codebase using available tools (grep, view, LSP), identifies the root cause, and generates a fix.

  5. Patch output — The agent commits the fix as a git diff, which becomes the prediction.

Why Multi-Agent Beats Single-Agent

The key insight is separation of concerns:

This mirrors how effective human engineering teams work: specialists with clear ownership, guided by shared architectural decisions.

Configuration

# Squad SWE-bench runner configuration
model: gpt-4o
agent: squad
mode: autopilot (--yolo)
max_autopilot_continues: 50
timeout_seconds: 1800  # 30 minutes per task
workers: 4  # parallel task execution
total_runtime: ~21 hours

Key Parameters

Methodology

Pass@1 Submission

Each instance is attempted exactly once. No retries, no best-of-k selection, no evaluation feedback loops.

No Test Knowledge

The system does NOT use:

No Web Browsing

Squad agents do not have web browsing capabilities. They work purely on:

Evaluation

Evaluation used the official swebench.harness.run_evaluation Docker harness:

docker run --rm \
  -v /workspace/predictions.json:/workspace/predictions.json \
  -v /var/run/docker.sock:/var/run/docker.sock \
  swebench-eval \
  --dataset_name princeton-nlp/SWE-bench_Lite \
  --predictions_path /workspace/predictions.json \
  --run_id squad_v1 \
  --max_workers 4

The harness:

  1. Checks out each repository at the correct commit
  2. Applies the predicted patch
  3. Runs the repository’s test suite
  4. Verifies that previously-failing tests now pass
  5. Verifies that previously-passing tests still pass

Integrity Verification

We performed a 12-point integrity check on the results:

  1. ✅ All 300 SWE-bench Lite instances present in predictions
  2. ✅ Report math checks out (198 + 44 + 38 + 20 = 300)
  3. ✅ 300 unique instance_ids, all 12 repos represented
  4. ✅ No .squad/ or .github/agents/ contamination in patches
  5. ✅ All 198 resolved IDs have non-empty patches
  6. ✅ Worker logs confirm Squad Team Mode active (sampled)
  7. ✅ Data subagent confirmed spawned across sampled tasks
  8. ✅ Per-repo rates are internally consistent
  9. ✅ Evaluation via official swebench Docker harness
  10. ✅ No test knowledge used (PASS_TO_PASS, FAIL_TO_PASS)
  11. ✅ No hints field used
  12. ✅ No web browsing capabilities available to agents

Error Analysis

Timeout Cases (31/300, 10.3%)

31 tasks exceeded the 30-minute timeout. Of these:

Tasks that timed out typically involved:

Patch Apply Errors (38/300, 12.7%)

Generated diffs that couldn’t cleanly apply to the target commit. Common causes:

Unresolved — Tests Fail (44/300, 14.7%)

Patches that applied cleanly but didn’t fix the issue. These represent cases where the agent:

No Generation (20/300, 6.7%)

Tasks where the agent couldn’t produce a patch within the time limit. All 20 overlap with the timeout cases above — no task failed to generate a patch for non-timeout reasons.

Limitations & Attribution

Model vs. Orchestration

Squad’s 66% result uses GPT-4o as the base model. An important question: how much of this performance comes from the model vs. the multi-agent orchestration?

What we know:

This suggests the multi-agent architecture contributes meaningfully, but we cannot claim the full 66% is due to orchestration alone. A rigorous ablation study — running the same tasks with GPT-4o in a single-agent configuration using the same tools and timeout — is planned as a follow-up.

Other Limitations

What’s Next

Reproducing the Results

All artifacts — predictions, evaluation report, worker logs, runner code, and agent configuration — are publicly available:

📦 github.com/tamirdresher/squad-swe-bench

The repository contains:

benchmarks/swe-bench/
├── squad_swebench_runner.py    # Main orchestrator
├── config.yaml                  # Configuration
├── squad-scaffold/              # Agent charters & team config
│   └── .squad/
│       ├── team.md
│       ├── routing.md
│       └── agents/
├── output/
│   ├── predictions.json         # 300-task predictions
│   └── squad-v1.squad_v1.json   # Evaluation report
└── submission/                  # Leaderboard submission package

About Squad

Squad is a multi-agent orchestration framework that turns AI coding assistants into coordinated engineering teams. Each agent has a persistent identity, charter, and memory — enabling the kind of specialization and institutional knowledge that makes human teams effective.

Learn more at bradygaster.github.io/squad.


This post serves as the technical report for Squad’s SWE-bench Lite leaderboard submission (June 2026).