LarAgent v0.5 Preview: Groq API, Audio Modality, and More Configs

LarAgent just upgraded โ big time. We're bringing powerful new AI capabilities, better control, and multi-modality support to Laravel developers.
Letโs break it down ๐
๐น Groq API + Massive Model Expansion
Ever wanted access to blazing-fast AI models beyond OpenAI? Now youโve got it.
Thanks to a game-changing contribution from John (huge thanks ๐), LarAgent now supports:
โ
Full Groq API integration
โ
Access to a wide range of high-performance models
โ
Simple plug-and-play experience for Laravel developers
This opens the door for faster, cheaper, and more flexible AI development โ right from your Laravel app.
๐ Audio Modality Is Here
Text-only is old news. LarAgent now supports audio as a first-class citizen.
New method withAudios()
makes it easy to build rich, multimodal AI experiences.
All audio settings (format, voice, etc.) are handled directly in your agent config. Youโre in full control. ๐ง
๐ง Dynamic Configs and Schema-Based Responses
Your API is now smarter and more customizable.
You can now configure agents per request using new setter methods:
$agent->maxCompletionTokens(2000);
$agent->parallelToolCalls(true);
$agent->responseSchema([...]);
Perfect for frontend integration and production-safe AI workflows.
๐ Runtime Tool Registration + Phantom Tools
The new PhantomTool feature allows you to define and return tools dynamically from API requests โ skipping the LarAgent side execution.

โ
Define tools with custom properties
โ
Use tool selection strategies: auto, none, required, or force a function
โ
Compatible with OpenAI-style tool call responses
LarAgent continues its mission to make Laravel the best home for AI developers โ clean, powerful, and built for real-world use.
v0.5 is almost here ๐ช
Star the repo, and as always โ happy building! ๐