The Wire · Showcase
LARAVEL AI GAINS WEB SEARCH AND FILESYSTEM TOOLS
By RepoJournal · Filed · About Laravel
Laravel's AI package now handles real-time web search results with citations, fixes a critical bug in structured output parsing that silently broke JSON responses, and ships filesystem tools so agents can read and manage files without custom code.
The OpenRouterProvider now supports web search with proper citation handling [1], letting your AI agents fetch current information and cite sources in both streaming and non-streaming modes. At the same time, a subtle but dangerous bug was fixed [2] where some models wrap JSON responses in markdown fences, causing silent failures and empty arrays instead of the data you expected. If you're using structured output, this patch prevents data loss. The framework also fixed a replay bug [3] in stored conversations with tool calls, ensuring the message order stays correct when you load a multi-turn conversation from the database. New FileStorageTools [4] let you grant agents access to Laravel storage disks without rolling custom tools for every operation. On the framework side, Laravel 13.18.0 shipped [5] with cache improvements for debounced jobs and a new `input()` method on console commands [6] that gives you the same typed data accessors you're used to on requests. The maintenance mode command now respects JSON requests [7] instead of always returning HTML, fixing broken API responses during scheduled downtime. A TaggedCache bug [8] caused deferred callbacks to silently drop in flexible groups, leaving stale entries unvalidated. Envoy fixed a CPU-spiking bug [9] in parallel task execution where the polling loop never yielded, pinning cores at 100%.
Action items
- → If using structured output with Laravel AI, upgrade immediately to get the markdown fence fix [ref:2] laravel/ai [immediate]
- → Upgrade Laravel to 13.18.0 and test JSON API routes during maintenance mode [ref:8] laravel/framework [plan]
- → If using TaggedCache with flexible keys, patch to fix deferred callback collisions [ref:9] laravel/framework [plan]
- → If running parallel Envoy tasks, upgrade to eliminate CPU spinning [ref:17] laravel/envoy [plan]
References
- [1] Add web search and citation support to OpenRouterProvider ↗ laravel/ai
- [2] fix: strip markdown code fences from structured output before decoding ↗ laravel/ai
- [3] Fix stored tool conversation replay order ↗ laravel/ai
- [4] Add filesystem tools for AI agents ↗ laravel/ai
- [5] v13.18.0 ↗ laravel/framework
- [6] [13.x] Add `input()` method to console commands ↗ laravel/framework
- [7] [13.x] Handle api / json routes with Down (Maintenance) command ↗ laravel/framework
- [8] [13.x] Fix flexible() lock and defer label collisions in TaggedCache ↗ laravel/framework
- [9] Fix high CPU usage when running tasks in parallel ↗ laravel/envoy
FAQ
- What changed in Laravel on July 1, 2026?
- Laravel's AI package now handles real-time web search results with citations, fixes a critical bug in structured output parsing that silently broke JSON responses, and ships filesystem tools so agents can read and manage files without custom code.
- What should Laravel teams do about it?
- If using structured output with Laravel AI, upgrade immediately to get the markdown fence fix [ref:2] • Upgrade Laravel to 13.18.0 and test JSON API routes during maintenance mode [ref:8] • If using TaggedCache with flexible keys, patch to fix deferred callback collisions [ref:9]
- Which Laravel repositories shipped on July 1, 2026?
- laravel/ai, laravel/framework, laravel/envoy