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.6.1(1mo ago)09MITPHPPHP ^8.3

Since Mar 19Pushed 1mo 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 1mo ago

READMEChangelog (9)Dependencies (7)Versions (10)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 85% of packages

Maintenance89

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Total

9

Last Release

55d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/68362a494b9a79ded54d1ead1ec5ba58f092dff85eae8a6921565fac8404e19d?d=identicon)[gregupton](/maintainers/gregupton)

---

Top Contributors

[![gregupton](https://avatars.githubusercontent.com/u/54643782?v=4)](https://github.com/gregupton "gregupton (9 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

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

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[visuellverstehen/statamic-classify

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

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

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

13128.3k](/packages/withcandour-aardvark-seo)[mateffy/laravel-codebase-mcp

An MCP server to give Cursor, Aider, etc. the ability to introspect your Laravel codebase directly, by querying for your models, views, routes and classes without raw file search.

201.1k](/packages/mateffy-laravel-codebase-mcp)

PHPackages © 2026

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