laravel/ai
| Install | |
|---|---|
composer require laravel/ai |
|
| Latest Version: | v0.10.1 |
| PHP: | ^8.3 |
| License: | MIT |
| Last Updated: | Jul 25, 2026 |
| Links: | GitHub · Packagist |
Introduction
The Laravel AI SDK provides a unified, expressive API for interacting with AI providers such as OpenAI, Anthropic, Gemini, and more. With the AI SDK, you can build intelligent agents with tools and structured output, generate images, synthesize and transcribe audio, create vector embeddings, and much more — all using a consistent, Laravel-friendly interface.
Documentation
Documentation for the Laravel AI SDK can be found on the Laravel website.
Contributing
Thank you for considering contributing to Laravel! The contribution guide can be found in the Laravel documentation.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The Laravel AI SDK is open-sourced software licensed under the MIT license.
Related Packages
Anthropic PHP for Laravel is a supercharged PHP API client that allows you to in...
Laravel package for OpenRouter (A unified interface for LLMs)
Laravel wrapper for the RiveScript PHP library. RiveScript is a scripting langua...
Laravel SDK for building Model Context Protocol (MCP) servers - Seamlessly integ...