AI NewsDev toolsAnnouncement

Laravel releases Go framework beta with built-in agent skills

Laravel Go is a beta Go framework from Taylor Otwell. Every new app includes agent skills that tell coding agents how to write idiomatic Laravel Go.

AI News

Editorial3 min read

LinkedInX
Laravel Go announcement banner from the Laravel blog

Image: Laravel

Why it mattersA framework built for coding agents can lower the review cost of agent-written code. Laravel Go includes those rules in the project from day one.

A Go team writing a web app today picks one library for each job. One for routing, one for queues, one for mail, a database layer on top. Each piece has its own style. A coding agent writing against that stack has to learn all of them. Taylor Otwell released a Go version of Laravel on 2 December. The framework includes routing, validation, models, queues, workflows, mail and Inertia in one place. It also includes built-in agent skills. Those skills tell a coding agent how to write and test idiomatic Laravel Go.

What the beta carries

The release is a beta. It sits directly on Go's standard net/http package and goroutines. There is no third-party web framework under it. Every request runs in its own goroutine. Otwell calls this the "AI age" shape of a Laravel app. He pairs it with "strong guardrails, clear structure, and batteries-included conventions".

The framework carries typed validation through Go structs. Models map to database columns with struct tags. Queries are checked at compile time. Migrations compile into the application binary. The queue API is one API across the database, Redis, Amazon SQS and Laravel Cloud. A workflow package holds a multi-day job in one Go method. The method sleeps between steps and uses no worker time while it waits.

Email comes with Resend and Amazon SES transports. Broadcasting runs on a Reverb WebSocket server written in Go, included with the framework. OpenTelemetry tracing is on by default.

Why Otwell says he picked Go

Otwell released Laravel Rust the day before, on 1 December. He wrote that Rust and Go were the two languages he considered. Laravel Go trades "a bit of the magic syntax, macros, and raw top-end speed" for other gains. The gains are faster compile times, lower disk use, and simpler syntax. He called that balance "great for agents and humans".

The post states a gap in the Go ecosystem. Go "hasn't had a definitive batteries-included, full-stack framework", Otwell wrote. He wants one that "pairs cleanly with a modern frontend via Inertia and React / Vue". Laravel Go is his answer.

The AI-age framing, in his own words

Otwell wrote that Laravel Go starts from one view. The view: "humans will increasingly neither write nor manually read application code at scale". He points at compile-time checks, strict relationship loading and a no-magic container. Those pieces are his argument for a stack a coding agent can write safely. Every new application comes with agent skills. The skills guide a coding agent on the right Laravel Go patterns.

The claim is Otwell's own, with no outside measurement behind it. Yesterday's Laravel Rust post stated an 18x throughput gain over Laravel PHP. Otwell said Laravel Go matches that "within real-world speed and throughput".

What it means for a team picking a Go stack

A team that chose Go for speed can now pick up a framework with the same shape as Laravel PHP. The AI part matters because the agent skills live inside the project itself. A reviewer catching a non-idiomatic pattern in an agent's pull request can point at the framework rules. A new engineer joining the team reads the same rules the agent did.

The release is a beta. Production use is a bet on a 0.x framework with an active maintainer behind it. Deployment is straightforward, with managed Postgres, MySQL, queues and WebSockets available through Laravel Cloud for Go.

Source

SourceLaravel

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project