Laravel AI
Learn about Sentry's Laravel AI integration.
This feature is currently in Beta. Beta features are still in progress and may have bugs. We recognize the irony.
The Laravel AI integration connects Sentry with the Laravel AI package. It powers Agent Tracing for Laravel applications.
sentry/sentry-laravelversion4.27.0or later- Laravel 12.x or later
laravel/aiinstalled and configured- Tracing enabled in your Sentry configuration
When tracing is active and laravel/ai is installed, Sentry automatically captures:
- Agent invocations
- LLM requests
- Tool executions
- Embeddings
- Token usage
- Model and provider metadata
- Conversation IDs from Laravel AI's remembering conversations feature
For setup, provider support, privacy controls, and verification, see Set Up Agent Tracing.
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").