RepoJournal
Laravel

@laravel

PHP's most popular framework - Forge, Vapor, and a massive paying audience

Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: PHP Full archive →

The Wire · Showcase

LARAVEL AI GETS AGENT CONSOLE AND FORCED TOOL CHOICE

By RepoJournal · Filed · About Laravel

The AI SDK shipped three critical agent improvements overnight that solve the two biggest pain points developers hit when building autonomous systems: no way to test agents interactively, and models that skip tool calls entirely.

The workbench now has an interactive `agent` console command that runs any Agent in a terminal UI with streamed responses, tool cards, reasoning, and approval prompts [1]. This cuts the friction of testing agents from "write a route" to "run a command." Parallel to that, the SDK added `ToolChoice` support across Gemini, OpenAI, and Anthropic [2], letting you force a model to call a tool instead of answering with prose. This fixes the nightmare scenario where an agent confidently claims it performed an action without ever calling the function. A third patch forwards attachment provider options through text generation requests [3], so image detail settings now apply when attaching files to prompts instead of silently vanishing. On the framework side, 13.x added a `WithoutMiddleware` attribute for cleaner controller-level middleware control [4], and Eloquent got the missing `incrementEachQuietly` and `decrementEachQuietly` methods to close a consistency gap [5]. The docs improved the `reduceInto` guide with better pass-by-reference examples [7]. Minor: MCP fixed nested OAuth resource paths when route groups have preceding parameters [6].

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Add interactive agent console command for the workbench ↗ laravel/ai
  2. [2] Add tool choice support for Gemini, OpenAI, and Anthropic ↗ laravel/ai
  3. [3] Forward attachment provider options to OpenAI text generation requests ↗ laravel/ai
  4. [4] [13.x] Add WithoutMiddleware controller middleware attribute ↗ laravel/framework
  5. [5] [13.x] Add incrementEachQuietly and decrementEachQuietly to Eloquent models ↗ laravel/framework
  6. [6] Fix nested OAuth resource path with preceding route parameters ↗ laravel/mcp
  7. [7] [13.x] Improve reduce into ↗ laravel/docs

Quick answers

What shipped in Laravel on July 10, 2026?
The AI SDK shipped three critical agent improvements overnight that solve the two biggest pain points developers hit when building autonomous systems: no way to test agents interactively, and models that skip tool calls entirely. In total, 13 commits and 14 pull requests landed.
Who contributed to Laravel on July 10, 2026?
7 developers shipped this update, including pushpak1300, JVillator0, mrdzen, JurianArie, shanerbaner82, lazerg, and JosephSilber.
What were the notable Laravel updates?
Add interactive agent console command for the workbench, Add tool choice support for Gemini, OpenAI, and Anthropic, and Forward attachment provider options to OpenAI text generation requests.

More from @laravel

Daily updates, in your inbox

Follow Laravel

Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?

We use privacy-friendly analytics (Google Analytics, IP-anonymized) to see which pages help readers. No ads, and we never sell your data. See our Privacy Policy.