Skip to main content

Overview

On July 24, 2026, the official Laravel blog published AI agents pass tests. Can they write idiomatic Laravel?. It describes a major shift in how Boost Benchmarks, the evaluation suite behind Laravel Boost, assesses AI coding agents.
Boost Benchmarks is an evaluation suite that checks whether AI coding agents can correctly implement Laravel applications, using Pest tests and architecture tests.

Where things stood: 17 evals, nearly a perfect score

In the earlier post which AI model is best for Laravel, leading models cleared 16 of 17 evals using Boost, with 99.4% test accuracy. Even so, the hardest tasks still tripped them up. According to the new post, today’s frontier models — GPT-5.6, Claude Fable 5 / Mythos 5, Gemini 3.x, and others — now clear those same 17 tasks at or near 100%. The question “can an AI agent write correct Laravel code?” has a clear answer: yes. This isn’t unique to Boost. The entire coding-benchmark landscape is converging:
  • SWE-bench Verified — leading models now sit within a point or two of the human-expert baseline, effectively saturated
  • HumanEval — has long stopped differentiating between leading models

Why passing tests isn’t enough

The article also points out that a green test suite is an imperfect proxy for “good code.” Boost Benchmarks is less exposed to these issues since every run starts from a fresh Laravel app with no answers tucked into .git. Still, passing the Pest suite doesn’t prove a model writes Laravel the way an Artisan would. That gap between “it works” and “it belongs in this codebase” is the next frontier.

The new axes: correct code per token, and idiomatic Laravel

The post lays out two new focus areas going forward.
1

Correct code per token

Once every model can reach the right answer, what matters is the cost to get there. The spread can be enormous — one model may spend an order of magnitude more tokens than another for nearly identical results. Boost already records tokens and cost per run, and this is becoming a first-class metric rather than a footnote.
2

Idiomatic Laravel

Code that passes tests but uses raw queries, skips Route::resource(), hand-rolls validation instead of using form requests, or omits $fillable isn’t “good Laravel.” Reference-free LLM-as-judge scoring is now considered mature enough to evaluate “is this idiomatic?” without needing a golden answer to diff against.
The reference for this scoring is Boost’s best-practices skill, which documents 19 concrete conventions, including:
  • Using Cache::remember() instead of hand-rolled caching
  • Using form requests instead of inline validation
  • Using with() for eager loading
  • Using Route::resource() for routes
Its very first rule is “Consistency First” — before reaching for a supposedly better pattern, match the style already used in sibling files.

What’s planned for Boost Benchmarks

The article outlines several upcoming additions:
  • Token and cost as a headline metric, reported alongside pass rate for each eval and model
  • Idiomatic scoring, layered on top of existing Pest and architecture checks
  • Context tightening as a core engineering focus for Boost itself — trimming redundant guidelines, tightening tool outputs, and indexing only what’s actually needed
The existing 17 evals remain in place as a regression suite, with this new layer built on top.

Summary

The question of whether AI agents can write correct Laravel code has been answered. The next question is how efficiently, and how idiomatically, they can do it. If you haven’t tried Laravel Boost yet, check the official documentation to get started, or see the Laravel Boost page for installation details.

Read the original article

AI agents pass tests. Can they write idiomatic Laravel? (laravel.com)
Last modified on July 27, 2026