PHPackages                             aesircloud/statamic-ai-chatbot - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aesircloud/statamic-ai-chatbot

ActiveStatamic-addon[Utility &amp; Helpers](/categories/utility)

aesircloud/statamic-ai-chatbot
==============================

AI chatbot addon for Statamic with provider switching, FAQs, leads, and knowledge retrieval.

0.7.1(2mo ago)026MITPHPPHP ^8.3

Since Mar 19Pushed 2mo agoCompare

[ Source](https://github.com/AesirCloud/statamic-ai-chatbot)[ Packagist](https://packagist.org/packages/aesircloud/statamic-ai-chatbot)[ RSS](/packages/aesircloud-statamic-ai-chatbot/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (10)Dependencies (14)Versions (12)Used By (0)

AesirCloud Statamic AI Chatbot
==============================

[](#aesircloud-statamic-ai-chatbot)

`aesircloud/statamic-ai-chatbot` is a Statamic addon scaffold for building a provider-flexible AI chatbot with FAQ handling, knowledge retrieval, support escalation, and lead capture.

Included in this scaffold
-------------------------

[](#included-in-this-scaffold)

- Reusable Statamic addon package structure under the `AesirCloud\\StatamicAiChatbot` namespace
- Configurable provider defaults for text generation, embeddings, and reranking
- Database models and migrations for bot profiles, FAQs, sources, knowledge chunks, chats, and leads
- Public widget tag via `{{ ai_chatbot:widget }}` with Vue-powered chat and lead capture UI
- Control panel utility surface for profile visibility, provider defaults, and sync triggering
- Source driver contracts and first-party Statamic content plus YouTube transcript connectors
- Lead delivery drivers for database, email, and webhook dispatch
- Console commands for knowledge sync and retention pruning

Installation
------------

[](#installation)

1. Require the package in a Statamic 5.x or 6.x app running Laravel 12+ and PHP 8.3+.
2. Publish the package config:

```
php artisan vendor:publish --tag=statamic-ai-chatbot-config
```

3. Publish and run the package migrations along with the Laravel AI SDK migrations.
4. Install the frontend dependencies in the host app and build the addon assets:

```
npm install
npm run build
```

5. Add a bot profile record, FAQs, and source connections, then render the widget in Antlers:

```
{{ ai_chatbot:widget profile="default" }}
```

Configuration notes
-------------------

[](#configuration-notes)

- `config/statamic-ai-chatbot.php` controls provider defaults, widget defaults, retention, queue behavior, and lead destinations.
- Text generation and embeddings are intentionally separated, so you can use one provider for chat and another for retrieval.
- The current YouTube connector expects transcript text in the source connection config. It already handles URL normalization and can be extended to use a real transcript ingestion provider later.

Current implementation boundaries
---------------------------------

[](#current-implementation-boundaries)

- The control panel utility is a functional dashboard, not yet a full CRUD editor for all records.
- The widget currently uses JSON requests instead of server-sent streaming.
- Knowledge retrieval is keyword-first with optional embeddings stored as JSON arrays, which keeps the package database-agnostic for v1.
- Public widget asset delivery assumes the package assets are built and published with the host application.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance84

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~2 days

Total

11

Last Release

81d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/54643782?v=4)[Greg Upton](/maintainers/gregupton)[@gregupton](https://github.com/gregupton)

---

Top Contributors

[![gregupton](https://avatars.githubusercontent.com/u/54643782?v=4)](https://github.com/gregupton "gregupton (11 commits)")

---

Tags

laravelaiaddonstatamicchatbotAesirCloud

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/aesircloud-statamic-ai-chatbot/health.svg)

```
[![Health](https://phpackages.com/badges/aesircloud-statamic-ai-chatbot/health.svg)](https://phpackages.com/packages/aesircloud-statamic-ai-chatbot)
```

###  Alternatives

[maestroerror/laragent

Power of AI Agents in your Laravel project

639142.5k](/packages/maestroerror-laragent)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23100.9k12](/packages/marcorieser-statamic-livewire)[withcandour/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

15131.5k](/packages/withcandour-aardvark-seo)[visuellverstehen/statamic-classify

A useful helper to add CSS classes to all HTML tags generated by the bard editor.

20119.8k](/packages/visuellverstehen-statamic-classify)[justkidding96/aardvark-seo

Save time and get your Statamic site to rank better with the SEO addon for Statamic.

144.1k](/packages/justkidding96-aardvark-seo)

PHPackages © 2026

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