laravel /ai

The Laravel AI SDK provides a unified, expressive API for interacting with AI providers such as OpenAI, Anthropic, Gemini, and more.

★ 1,268⑂ 383👁 23⑃ 964● 257▤ 58
PHPMITCreated 2025-12-17
Download: v1.4.0v1.4.0 ↓1.4.02026-11-10
-1
Daily
1,268
stars
383
forks
23
watchers
964
prs
257
issues
58
releases

README

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.

Top issues

Latest release

v1.4.0 v1.4.0 2026-11-10
What's Changed
 Bump vite from 8.1.3 to 8.3.5 in /workbench by @dependabot[bot] in https://github.com/laravel/ai/pull/1166
 Preserve input order for batch embeddings from OpenAI by @paulinevos in https://github.com/laravel/ai/pull/1172
 Skip credit pattern matching when the error message is not a string by @lazerg in https://github.com/laravel/ai/pull/1157
 [1.x] Report the stored message ids in RUN_FINISHED metadata by @MohannadElemary in https://github.com/laravel/ai/pull/1165
 Update Mistral models to latest versions by @GeorgeBetts in https://github.com/laravel/ai/pull/1173
 Add hand

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON