Skip to main content

Laravel AI SDK integration

  • Experimental implementation.
  • Only text generation is supported. Other features are not implemented yet.
This is an opt-in feature that only activates when the 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 it by creating an Agent class in the usual Laravel AI SDK style, but only a subset of features is supported.
For the latest updates, see the GitHub repository.
Last modified on August 2, 2026