Skip to main content

Laravel AI SDK integration

  • Experimental implementation
  • Supports only text generation. Other features are not supported yet.
This is an opt-in feature that is enabled only when Laravel AI SDK is installed.
Add configuration to config/ai.php.
Usage with the agent() helper:
Streaming is also supported. Only TextDelta is implemented.
You can also use the standard Laravel AI SDK approach with Agent classes, but only part of the features are supported.
For the latest updates, see the GitHub repository.
Last modified on April 19, 2026