ai-kit-filament
ai-kit Filament — v5 admin panel: manage knowledge bases & documents, ingest files/URLs, conversation logs with token usage, playground, analytics dashboard.
A no-code admin panel for building AI knowledge bases. Teams upload documents, manage chat conversations, and let an AI answer questions using their own files instead of the AI's built-in training data.
This package is an admin panel for a system called ai-kit, which lets teams build and manage AI-powered knowledge bases without writing code. It runs on PHP 8.3 or newer, the Laravel web framework (versions 12 or 13), and Filament v5, which is a tool for building admin interfaces. The package is part of a suite of four related packages, and this one specifically provides the visual admin panel.
The main idea is to give teams a no-code way to run what is called a RAG pipeline. RAG stands for retrieval-augmented generation, a method where an AI answers questions using your own documents rather than only its training data. You create collections (knowledge bases), upload files such as PDFs, Word documents, Excel spreadsheets, text, Markdown, or HTML files, or add web pages by URL. The system then processes those documents so a chatbot can search them and respond with relevant information.
The panel includes several sections. A Collections resource lets you manage documents inside each collection, upload new ones, add from URLs, view the text chunks the system created, re-index, or delete. Each document shows a status badge (pending, processing, indexed, or failed) and a count of chunks. A Conversations section logs every chat with total input and output tokens per conversation and per individual message. A Playground page lets you pick a knowledge base and chat against it live. An Analytics dashboard shows documents indexed, chunks, conversations this week, token usage over 30 days, estimated cost, and a daily chart of prompt versus completion tokens.
Token usage and the dashboard are optional features you can turn on or off through a configuration file. Cost estimates multiply logged tokens by per-model pricing you define, with unlisted models defaulting to zero cost.
The panel is installed through Composer and registered with a single plugin call on your Filament panel. Everything appears under an AI Kit navigation group. The broader suite also includes a core package for ingestion and retrieval, a Livewire chat component, and this admin panel. The repository is licensed under MIT.
Where it fits
- Create a knowledge base from your team's PDFs and Word documents and chat against it live.
- Track how many tokens each AI conversation uses and estimate costs on a dashboard.
- Upload web pages by URL to add their content to a searchable AI collection.
- Manage and re-index documents while watching their processing status from pending to indexed.