PHPackages                             solution-forest/ai-kit-filament - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. solution-forest/ai-kit-filament

ActiveLibrary[Admin Panels](/categories/admin)

solution-forest/ai-kit-filament
===============================

Filament admin panel for ai-kit: manage collections and documents, view conversations, and demo the chat in a Playground page.

v0.2.1(yesterday)016↑2900%MITPHP ^8.3

Since Jul 22Compare

[ Source](https://github.com/solutionforest/ai-kit-filament)[ Packagist](https://packagist.org/packages/solution-forest/ai-kit-filament)[ RSS](/packages/solution-forest-ai-kit-filament/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (7)Versions (3)Used By (0)

ai-kit-filament
===============

[](#ai-kit-filament)

[![PHP](https://camo.githubusercontent.com/9b10bfbe61ed78776363b7b6ed761bcd0111f4fa4e005df8d830fcd94951469a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332b2d3737374242343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/9b10bfbe61ed78776363b7b6ed761bcd0111f4fa4e005df8d830fcd94951469a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332b2d3737374242343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)[![Laravel](https://camo.githubusercontent.com/ef749269b4e188533479a48e8d4c00604c54f02116015dee66908c8d8e80cf43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d313225323025374325323031332d4646324432303f6c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/ef749269b4e188533479a48e8d4c00604c54f02116015dee66908c8d8e80cf43/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d313225323025374325323031332d4646324432303f6c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)[![Filament](https://camo.githubusercontent.com/9543a14b32f4c3f0186694923dc073d336332d566fa201e8558515a246d3a995/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d76352d4644414534423f6c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/9543a14b32f4c3f0186694923dc073d336332d566fa201e8558515a246d3a995/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d76352d4644414534423f6c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)

**The Filament admin panel for the ai-kit suite** — manage knowledge bases and documents, ingest files and URLs, review conversations with token usage, demo the chat in a Playground, and watch usage on an analytics dashboard.

 [![AI Kit dashboard: stats + token usage chart](art/dashboard.png)](art/dashboard.png)

Why this package?
-----------------

[](#why-this-package)

Give your team (or clients) a no-code way to run the whole RAG pipeline: create knowledge bases, upload PDFs/Word/Excel or add URLs, watch documents get indexed, inspect the actual chunks, replay conversations with token usage, demo the chat live, and track cost — all inside your existing Filament panel. One `->plugin()`call, no controllers or Blade to write.

Requirements
------------

[](#requirements)

- PHP **8.3+**, Laravel **12 or 13**
- **Filament v5** (Livewire 4)
- `solution-forest/ai-kit-core` and `solution-forest/ai-kit-ui-livewire`

Install
-------

[](#install)

```
composer require solution-forest/ai-kit-filament
```

Register the plugin on your panel:

```
use SolutionForest\AiKit\Filament\AiKitPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugin(AiKitPlugin::make());
}
```

Everything appears under an **AI Kit** navigation group.

What you get
------------

[](#what-you-get)

### Collections + Documents (inline)

[](#collections--documents-inline)

A **Collections** resource. Open a collection to manage its **Documents** inline (relation manager):

- **Upload** — pdf, txt, md, html, **Word (.docx)**, **Excel (.xlsx)**
- **Add from URL** — fetch + ingest a web page
- **View chunks** — inspect the embedded passages of any document
- **Re-index** / **Delete**
- status badge (pending / processing / indexed / failed) + chunk count

 [![Collection edit page with inline documents relation manager](art/collection-documents.png)](art/collection-documents.png)

### Conversations (read-only) with token usage

[](#conversations-read-only-with-token-usage)

A log viewer of every conversation. The list shows **total tokens (in / out)** per conversation; open one to see the message thread with **per-message input/output tokens**.

 [![Conversation detail with per-message token usage](art/conversation.png)](art/conversation.png)

### Playground

[](#playground)

A demo page: pick a knowledge base and chat live against it — the same Livewire component your app embeds. Ideal for client demos.

 [![Playground page with collection selector and chat](art/playground.png)](art/playground.png)

### Analytics dashboard

[](#analytics-dashboard)

A dedicated **Dashboard** page (under AI Kit, not the panel's default dashboard): documents indexed, chunks, conversations this week, **tokens (30d)**, **estimated cost (30d)**, and a **prompt vs. completion tokens-per-day** chart.

Optional features
-----------------

[](#optional-features)

Toggle in `config/ai-kit.php` (or `.env`):

```
'features' => [
    'dashboard'   => env('AI_KIT_DASHBOARD', true),    // register the Dashboard page
    'token_usage' => env('AI_KIT_TOKEN_USAGE', true),  // token columns, per-message tokens, dashboard token stats + chart + cost
],
```

- `dashboard=false` → the Dashboard page + route are not registered.
- `token_usage=false` → all token/cost UI is hidden (conversation column, per-message tokens, dashboard token stats and chart).

### Cost estimates

[](#cost-estimates)

Cost = logged tokens × `config('ai-kit.pricing')` ($ per 1M input / output, per model), based on the active chat model. Add a rate entry for the model you use:

```
'pricing' => [
    'google/gemini-2.5-flash' => ['input' => 0.30, 'output' => 2.50],
    // unlisted models → 'default' (0)
],
```

The ai-kit suite
----------------

[](#the-ai-kit-suite)

PackagePurpose[solution-forest/ai-kit-core](https://github.com/solutionforest/ai-kit-core)Ingestion, retrieval, agents + CLI, HTTP API, MCP[solution-forest/ai-kit-ui-livewire](https://github.com/solutionforest/ai-kit-ui-livewire)Livewire 4 chat component**solution-forest/ai-kit-filament** (this)Filament v5 admin panelThe panel is one of **four faces** over the same core — everything here is also scriptable via the CLI, callable over the HTTP API, or exposed to AI agents via MCP (all in `ai-kit-core`).

Continuous integration
----------------------

[](#continuous-integration)

`.github/workflows/tests.yml` runs the suite on a GitHub **release** (and manual dispatch) — not on every push. This package has local path dependencies on `ai-kit-core` and `ai-kit-ui-livewire`, so CI clones both (public) sibling repos first. Once the packages are on Packagist, drop the clone steps.

License
-------

[](#license)

MIT © [SolutionForest](https://www.solutionforest.com)

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/68211796?v=4)[Solution Forest](/maintainers/solutionforest)[@solutionforest](https://github.com/solutionforest)

---

Tags

laravelaiadminfilamentrag

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/solution-forest-ai-kit-filament/health.svg)

```
[![Health](https://phpackages.com/badges/solution-forest-ai-kit-filament/health.svg)](https://phpackages.com/packages/solution-forest-ai-kit-filament)
```

###  Alternatives

[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61315.0k26](/packages/slowlyo-owl-admin)[a2insights/filament-saas

Filament Saas for A2Insights

171.7k](/packages/a2insights-filament-saas)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
