Seiten · Laravilt
AI
Add AI chat, resource-aware agents, tool calling and AI-powered global search to Laravilt panels.
The laravilt/ai package connects your Laravilt panels to large language models. It ships a provider layer (OpenAI, Anthropic, Gemini, DeepSeek, Perplexity), an AI chat page with streaming and saved sessions, per-resource agents, tool calling, and an AI-assisted global search spotlight. Vue and React frontends are both included.
React support requires Laravilt v1.1 or later.
Sections
| Section | What it covers |
|---|---|
| Providers | Configure OpenAI, Anthropic, Gemini, DeepSeek and Perplexity |
| Chat | The AI chat page, streaming, sessions and frontend components |
| Tools | Query, create, update, delete and custom tools for function calling |
| Agents | Resource agents, AI columns and model selection |
| Search | AI-assisted global search (Cmd/Ctrl + K) |
Installation
laravilt:ai:install publishes config/laravilt-ai.php (tag laravilt-ai-config) and runs the migrations that create the ai_sessions table. Options:
| Option | Description |
|---|---|
--force | Overwrite the published config file |
--without-migrations | Skip running migrations |
Configuration
Set the default provider and at least one API key in .env:
Then enable AI and global search on a panel:
php artisan laravilt:panel can generate this for you when you pick the AI and global search features.