Skip to main content

Local-first agent evaluation

madbench

Run real coding agents against disposable repos, score their Sessions, and compare harness changes without moving the source of truth out of your workspace.

$ madbench examples/codenav

Bench: MB-1 codenav
  PASS HandleLogin definition
  PASS callers include router.go, main.go
  PASS Session used Read before answer

3 Checks, 0 failures
--trials 5 for honest pass@1

What the bench owns

A compact loop for measuring agent work.

01

Repo testdata, not toy prompts

Seed a real workspace, give the agent a task, and grade the files, commands, and final answer that come back.

02

The Session is part of the score

Check tool use, file navigation, command execution, latency, cost, and semantic quality in the same run.

03

Repeat trials without ceremony

Use --trials N, JSON reports, and Experiment variants to compare agents, plugins, prompts, and harness changes.

Toward a complete SWE-bench style eval loop.

The current work is not a polished launch. It is the bench layer: Scenarios, Harnesses, scoring, repeatability, and reports that can prove whether an agent change actually moved task outcomes.