Case studies
Feature work, session after session
Chains of feature tasks on two open-source codebases. Each session is a fresh agent building on the last one's code, graded by hidden tests.
21%
less agent time
Outline, against AGENTS.md
30%
less agent time
BookStack, against no context
24%
lower model cost
Outline. 12% on BookStack
44%
less code read
Outline, 1.48M against 2.64M characters
Savings per session pair
Agent time saved
OutlineTypeScript
20.6%
BookStackPHP
29.6%
Model cost saved
OutlineTypeScript
23.6%
BookStackPHP
12.5%
010%20%30%40%
Setup
- Codebases
- Outline (TypeScript, Postgres) and BookStack (PHP, Laravel, MySQL)
- Tasks
- API endpoints, models, migrations and permission rules. 11 per Outline chain, 10 per BookStack chain
- Sessions
- A fresh agent per task, starting from the previous agent's push. 4 Outline chains and 2 BookStack chains per arm
- Compared with
- Outline: an AGENTS.md its agents keep current. BookStack: no context system
- Grading
- Hidden tests written before any run. A session had to pass every check before the next one started. Failures went back to the same agent, and that rework is counted
Results
| Per session pair | Outline | BookStack |
|---|---|---|
| Session pairs | 44 | 20 |
| Agent time saved | 20.6% | 29.6% |
| Sessions where DocuSOR was faster | 31 of 44 | 18 of 20 |
| Model cost saved | 23.6% | 12.5% |
| Sessions where DocuSOR was cheaper | 35 of 44 | 15 of 20 |
| Code read while exploring | 44% less | 13% less |
| Time saved, writing context included | 17.9% | 24.4% |
Correctness
No session moved on until it passed every check, so both arms finished every session 100% correct. The difference is how often that took a second try.
| Outline | BookStack | |||
|---|---|---|---|---|
| AGENTS.md | DocuSOR | No context | DocuSOR | |
| Correct on the first try | 42 of 44 | 39 of 44 | 20 of 20 | 20 of 20 |
| Review rounds | 2 | 5 | 0 | 1 |
| Correct before the next session | 44 of 44 | 44 of 44 | 20 of 20 | 20 of 20 |
Limits
- Writing context takes time: 1,493s for DocuSOR against 795s for AGENTS.md on Outline. The last results row counts it.
- No correctness gain. The advantage is time and cost.
- Sessions were one to three minutes each, all on one model.
- We built the tasks, the graders and the harness.
Time is active agent time, rework included. Cost is billed model tokens at list price, $4 in and $20 out per million.
See this on your own codebase.
