Agent test, pilot: one task on Taphra, Laravel and Symfony
The same coding agent built the same API on three frameworks, and 33 hidden tests checked the result. All three passed, for $3.96 in total. This was a pilot, run to test the method before the full study.
The question
We built Taphra on the idea that coding agents, like people, should make fewer mistakes and finish sooner in code that is explicit and short. That is a claim to measure, not to repeat. The agent test measures it: the same agent gets the same task on Taphra, Laravel and Symfony, and the result is checked from outside.
The full study has three tasks, five runs per task and framework, and independent reviewers. Before spending on that, we ran one task once on each framework, to see whether the setup works and what a run costs.
How it ran
- The agent: Claude Code 2.1.333 with Claude Opus 5.5 at effort
high, the same for every run, with no memory of other runs. - The starting point: each framework's standard new project, exactly as shipped:
taphra/api-starter1.0.0,laravel/laravel13.11.0 andsymfony/skeleton8.1.99. - The task, word for word the same for all three: a JSON API for projects owned by teams, with bearer tokens, two roles, validation, and a script that seeds and starts the app.
- Hidden tests: 33 HTTP checks the agent never saw, run afterwards with the network cut: authentication, validation, team isolation, roles, ignored body fields, bad ids, and no 500 errors. A small reference app passes all 33, which checks the tests themselves.
- Isolation and spend: each run in its own container, seeing only its project folder, with a hard cap of $2.20. The order was random.
Results
| Taphra 1.0.0 | Laravel 13.44.1 | Symfony 8.1.12 | |
|---|---|---|---|
| Hidden checks passed | 33 / 33 | 33 / 33 | 33 / 33 |
| Cost | $1.40 | $1.41 | $1.15 |
| Time | 4 min 9 s | 5 min 10 s | 4 min 54 s |
| Agent turns | 40 | 41 | 25 |
| Packages added (for development) | none | 2 (1) | 15 (5) |
| Test files written | 0 | 1 | 3 |
What we learned
- The method works. Sealed runs, hidden tests and cost tracking behaved as designed, and each run took about five minutes.
- This task is too easy to separate the frameworks. All three passed every check. The full study adds two harder tasks, a signed webhook with duplicate handling and cited document search, and a reviewer who scores each patch for defects.
- A run costs about $1.30, so the full study's 45 runs cost about $60, or about $120 with a second track that gives every framework the same curated guidance.
- Agent guide files matter, and differ. The agent loads
CLAUDE.mdby itself. Laravel's starter ships one, and the agent followed it: it installed Laravel Boost before anything else. Taphra's and Symfony's starters shipAGENTS.md, which this agent did not read as guidance. On Taphra it read the README and the framework's own source invendor/instead, and passed every check from there. - Raw line counts mislead. They mix hand-written code with generated files (one patch includes a generated 548-line config file) and with tests. The full study will count application code only, by a rule written down before the runs.
What it does not show
Which framework is better. Three runs of one task are too few: the same agent on the same task can work differently from one run to the next, and one run per framework cannot tell that apart from a real difference. The pilot shows that the test works and what it costs; the study will show the rest.
Next
The full study: three tasks, five fresh runs per task and framework in random order, the same agent and settings, and reviewers who know Laravel and Symfony well, scoring patches with framework names hidden where possible. Task specifications, hidden tests and scoring rules are fixed before the first run. Every run will be published in taphra/agent-test, failures included.