Proof · History bench
We ask coding agents questions about code and its git history.
Questions like “where is this defined?” and “who wrote most of this folder?”. One agent answered each question several times in each of three ways: with files and git, with ahto added, and with ahto alone. A script checks every answer with git. Where ahto loses, the page shows it.
Way 1
Files and git
A shell. The agent reads files and runs git, as coding agents do today.
Way 2
Files, git and ahto
The same shell, plus ahto’s read-only tools.
Way 3
ahto only
No shell and no files. The agent has only ahto’s tools.
All three use the same model and the same budget.
How the bench works from questions to this page
Each step feeds the next. The list under the picture says the same in words.
- Questions come from real history. They are about public repositories, golang/go and tokio, each at one fixed commit.
- The same agent answers each question several times in each of three ways. Files and git, files and git with ahto added, and ahto alone. The two ways with a shell run in a sandbox, in a clean copy with no network and nothing newer than that commit. If a try changes the copy, the run stops.
- git works out the true answer. It reads the same repository at the same commit. ahto never grades itself, and no model does.
- Each answer is graded against it. It is right or wrong, nothing in between.
- Tokens, time and cost are recorded for every try.
- A report sums them into the bench file. It holds the right answers per way, with a margin of error for each difference.
- This page reads the bench file each time it loads. Refreshing it every night is planned, not running yet.
Results
No results yet. They show here after the first run.
How we check
- One right answer. Each question names a public repository and a commit, so the answer cannot change.
- git grades, not ahto. A script runs git log, blame or bisect and compares the agent’s answer with what git says.
- Several tries per question. One lucky try can flatter a tool, so we count how often the first try is right and how often every try is.
- Every try is costed. Its tokens, seconds and dollars are recorded. Building ahto’s index is timed separately.
- It is all public. The questions and the grading scripts are in ahto’s public repository, so anyone can run them again.
Several repositories
Questions across several repositories.
Some questions need more than one repository: who works on both a library and the app that uses it, or who wrote the most across all of them. ahto keeps every repository’s history in one place, so one SQL query can join them, and one call can run a built-in on up to 50 repositories and answer one table. With plain git you ask each clone in turn and join the answers yourself.
The agent bench has questions across two repositories, but they have not run yet. Their results show here after the first run.
Speed · one lookup
The authors in both golang/go and golang/example.
One ahto query over the two repositories, against git log in each clone and a join of the two lists. Median of the runs; both give the same count.
- Mac
- ahto 106 ms · git 477 ms · ahto 4.5× faster · 20 authors · 2026-12-05
- Server
- ahto 277 ms · git 840 ms · ahto 3.0× faster · 20 authors · 2026-12-05
Not done yet
- Reading several repositories at once shipped in ahto v0.1.4.
- The current agent bench run has no questions of this kind yet; they come back on public repositories only.
ahto bench run --repoon your own code asks about one repository at a time.
Plain lookups
On plain lookups, both ways with ahto were right all 48 times, and ahto alone cost least.
16 questions about golang/go and tokio, each at one fixed commit: where a symbol is defined, its call sites, a type's methods, the files changed most lately, who wrote most in a folder, when a file was added, a package's size and a go.mod requirement. 3 tries each way, 144 tries in all, every answer checked against plain git. Measured 2026-12-04.
ahto alone was 29% cheaper than files and git.
ahto alone was slower here, by 0.35 s a try.
Where ahto is still slower, and what is next
No call was refused this time; the run before had 3, each naming no repository, and ahto now finds the repository from a symbol's name or a folder path. A definition took ahto alone 2 steps and 5.9 s, down from 2.7 steps and 6.9 s. Nearly all of the remaining gap is one question, the methods of one tokio type: the agent read the file and searched before asking for the type's exported API, which answered in one call. Without that question ahto alone took 6.5 s against 6.6 s for files and git. Files and git missed one try, on when a tokio file was first added.
The first run, 2026-11-25, asked 8 questions once each: all three ways got all 8 right, and ahto alone took 271 s and 105 steps against 68 s and 23 for files and git. Since then the tool list was cut to the read-only ones, common questions became one call each, and definitions give the line a symbol is declared on.
Next · not nightly yet
Nobody types these numbers in.
This page reads the bench file each time it loads. Today that file holds one run, dated at the top. Next, the demo runs every question each night and this page shows the newest run, as the speed numbers on the front page already do.
Your repositories
Run the bench on your own code.
Ask the same kinds of question about your own repository, with your own agent key, on your own machine.
ahto bench run --repo .
needs ahto and an agent key · add --families to pick the kinds of question
- ahto writes the questions from your history. Who owns a file, what changes with it, when a change came in, which commits fix a known vulnerability, which files change most.
- Your agent answers each one several times in each way. With files and git, with ahto added and with ahto alone.
- git grades every answer. You get a report with every step and its tokens, time and cost.