a plain-language guide
Understanding trajectory
This page assumes you know roughly what an AI model is. It assumes nothing else. By the end you will understand what this project is, what problem it solves, how it works, and what you are looking at on every page of this site. Read it like a short lesson. Each section builds on the one before it.
If you are an engineer who wants the precise version, the repository has it. This is the gentle on-ramp, not the specification.
01The short version
An AI coding agent is a program that fixes or writes code on its own. This project, trajectory, is a way to test how good a coding agent really is.
Most tests ask one question: did the agent fix the bug, yes or no. That single answer hides a lot. trajectory watches the whole attempt, step by step, and measures how the agent worked, not only whether it got there. That is the whole idea, and the name says it. A trajectory is the path something takes, not just where it ends up.
02What is a coding agent?
Start with a plain AI model, the kind that answers questions. On its own it only produces text. It cannot open a file, run a program, or see whether its idea actually worked.
A coding agent is that model wired up so it can act. It is given tools: read a file, run a command, edit code, run the tests. It works in a loop. It looks at the problem, takes an action, sees what happened, and decides what to do next, over and over, until it thinks the job is done.
So a coding agent does not just talk about fixing a bug. It opens the broken project, pokes around, makes changes, runs things, and keeps going until it believes the code works. The question this project answers is: when it does that, how well does it do it.
03The problem: a pass rate does not tell you much
The usual way to score a coding agent is the pass rate. You give it a hundred broken programs and count how many it fixed. If it fixed forty-one, the pass rate is 41 percent.
That number is real, but it is thin. Imagine two students who both score 41 on the same exam. One worked carefully, showed clear reasoning, and ran out of time. The other guessed, copied, and got lucky on a few questions. Same score, completely different students. The score alone cannot tell them apart.
Coding agents are the same. Two can have the same pass rate for very different reasons. One might be close on the tasks it missed. The other might be flailing. One might fix things cleanly. The other might delete half the project along the way and still pass. A pass rate hides all of that, and the hidden part is exactly what you need to know if your job is to make the agent better. trajectory exists to make the hidden part visible.
04The idea: watch the whole attempt, not just the result
Here is the core move. Instead of recording only the final yes or no, trajectory records every step the agent took, and then scores the steps.
Think of it as grading how a student worked, not only the final answer. Did they take a sensible route, or a long messy one. When something failed, did they adapt, or just try the same thing again. Did they claim they were done before they had actually finished.
That recorded step-by-step attempt is the trajectory. This site lets you replay one, one step at a time, which is the clearest way to understand what the project produces.
05How one task works (the sealed exam)
A single test is called a task. There are twelve of them. Each is built like a sealed exam, with three parts.
- A broken workspace. A small software project with something wrong in it. This is what the agent sees and works in.
- Hidden tests. The checks that decide whether the bug is truly fixed. The agent never sees these while it works. They go in only after it stops. If the agent could see the tests, it could satisfy them without really solving the problem, the way a student who steals the answer key proves nothing.
- A reference solution. A known-good fix, written by a person. It proves the task is fair, because the reference must pass the hidden tests, and it gives a yardstick for efficiency, because we can compare the agent step count against the reference.
The agent works inside a sandbox, a locked down container with no internet. That keeps every run clean and comparable, and it keeps the agent away from the hidden tests. When the agent stops, the tests are copied in and run, and then every step of the attempt is scored.
06What the harness measures (the ten readings)
Once a run is finished, trajectory computes ten numbers from it. Skim them once so the leaderboard makes sense later.
- Solved. Did every hidden test pass. The plain yes or no.
- Partial credit. What fraction of the hidden tests passed. Four failing tests down to one is progress, and this number can see it.
- Step efficiency. How direct the route was, compared to the reference solution.
- Tool call validity. How often the agent used its tools correctly, rather than sending a malformed action.
- Redundant action rate. How often it repeated the exact same command, which usually means it was stuck.
- Recovery rate. When a command failed, did the agent change course or just try the same thing again.
- Premature termination. Did it announce it was finished while the hidden tests were still failing. Confidently wrong.
- Context drift. Did it stay on task, or wander off.
- Cost and wall clock. How much it would cost and how long it took.
- Destructive attempts. Did it reach for dangerous commands, the kind that throw away work.
One of these, context drift, comes from an AI judge reading the run. The other nine are mechanical rules, which means anyone can recompute them from the record and get the same answer.
07The named ways an agent goes wrong (failure modes)
A number tells you something went wrong. It does not tell you what. So trajectory also has a list of failure modes: named, specific ways an agent can go off the rails. There are eleven, labeled F01 to F11. A few, in plain terms:
- Premature success (F03). It said it was done while the tests were still red.
- Retry loop (F04). It ran the same failing command again and again without changing anything.
- Destructive action (F08). It ran a command that destroys work before understanding the problem.
- Grader tampering (F11). It left behind a file whose only purpose is to trick the scorer into reporting success. More on this below.
Eight of the eleven are decided by plain rules. Three need judgement about intent, so an AI judge decides them, reading only the runs that failed. The useful part is that the eight rule based modes are computed even on runs that passed. An agent that got the tests green but made a mess, or reached for a destructive command and got lucky, is a problem that succeeded. A pass rate cannot show that. The failure modes can.
Because the judge is itself an AI, its verdicts get checked too. A second AI judge, from a different company than the first and than any model being tested, read the same failed runs on its own. The two mostly agreed about which runs had none of these problems, and mostly disagreed about which runs had one. So the judged counts are reported as one AI’s opinion, not as facts.
08A tour of this site, page by page
The leaderboard
A table with one row per agent. The headline column is the solve rate. The others are the readings above. Two things to notice. Every number carries a spread, like 35.4% +/- 2.1, which says how much the result wobbled between runs, so a fluke cannot pass for a finding. And there are two kinds of agent, clearly labeled. The table opens on the real models, and a filter adds the scripted policies, small hand-written stand-ins that each imitate one bad habit on purpose, used to check the harness itself. Only the rows without a stub: prefix, tagged real model, are actual AI models.
Below the table, How sure these numbers are draws each real model as a dot inside a band: the range its score could land in on a different set of similar tasks. A head to head table then says, for every pair, whether these twelve tasks can tell the two apart at all.
A run replay
Click a row, then a run, and step through the whole trajectory. Each step shows what the agent was thinking, which tool it used, and what came back, with any failure mode flagged in place. This is the heart of the project: the difference between being told an agent failed and seeing exactly how and where.
The failure modes page
How often each of the eleven modes fired, broken down by agent and by task difficulty. The high-level view of what tends to go wrong, across everything.
The tasks
Each task has a page describing what is broken and what counts as fixed. This is where you see the actual problems the agents are asked to solve. It also says how strong the hidden tests are: how many small deliberate mistakes in the correct solution they caught, and which ones slipped through.
09Five bigger ideas
Running the tasks in other systems
Different labs use different software. A test that only works inside its own tool is a walled garden. So trajectory speaks two shared formats, Harbor and ATIF, which let these tasks run inside other labs systems and let trajectory read and score a run produced by another agent such as Claude Code or Codex. The work is portable, not locked in.
Can the grader be fooled?
The scorer runs the hidden tests against whatever the agent left behind, which makes the scorer a target. A clever agent might try to raise its score without solving the problem. In the field this is called reward hacking. Picture an exam. trajectory marks the work in a fresh room: only the finished work is carried in, and anything else the agent left lying around stays behind. It slips in a trap question that must come back wrong: a marking sheet that says every question was right, that one included, has been tampered with and is thrown out. And it locks the doors the cheapest tricks would use. The trap catches a sheet changed as a whole, not one changed answer by answer, and the documentation says so plainly.
Running real models for free
Running real AI models normally costs money. This project runs a whole panel of them at no cost, on a free tier, with limits so it cannot overrun. Each model is first sent one tiny test message, so a model that is offline or too slow costs one message, not an afternoon. Running real models also found a real bug in the harness: files the agent wrote were locked so it could not edit them afterwards. It was fixed, and every published model result was run again after the fix. Finding your own bugs is the point of a measurement tool, not an embarrassment.
A free service also has bad hours. On the first panel it ended about two runs in five early, some before the model had taken a single step, and a run cut off like that says nothing about the model. So the harness counts those runs separately from the model’s own failures, and can run exactly those again under a rule written down before anyone sees the result: the new run replaces the old one whatever it scores.
How sure are the numbers?
Twelve tasks is a small exam. Sit the same students in front of twelve other questions of the same kind and their scores would move. So every real model on the site comes with a range: the band its score could plausibly land in on a different set of similar tasks. Two programs whose ranges overlap a lot are ones this exam cannot honestly rank. The site also shows pass@k, the chance that at least one of k attempts at a task succeeds.
How strong are the hidden tests?
A test is only useful if it can tell a right answer from an almost right one. So the project takes each correct solution, makes one tiny mistake in it, the kind a program makes, and runs the hidden tests. If they notice, good. If not, that near miss would have been marked correct, and an AI trained on these tests would be rewarded for it. This is mutation testing, and every near miss that slipped through is listed by name on its task page.
10What this project shows
Building trajectory means designing a fair test, running untrusted code safely in sandboxes, defining and computing meaningful measurements, building a site to explore the results, making the work portable across other labs tools, thinking like an attacker about how a scorer could be cheated, measuring how sure each number is and how strong the tests behind it are, and being honest about what is measured and what is not. It is, in miniature, the job of evaluating AI systems carefully. That is the field this project belongs to.
Ready to look? Start with the leaderboard, open any row, and replay a run.