PHPackages                             bold-web/statamic-ai-assistant - 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. bold-web/statamic-ai-assistant

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bold-web/statamic-ai-assistant
==============================

Statamic Ai Assistant is a Statamic addon that provide AI text generation and refactoring to the users.

v1.0.6-beta(5mo ago)0152↓25%PHP

Since May 5Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/boldwebdev/statamic-ai-assistant)[ Packagist](https://packagist.org/packages/bold-web/statamic-ai-assistant)[ RSS](/packages/bold-web-statamic-ai-assistant/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

Statamic Ai Assistant
=====================

[](#statamic-ai-assistant)

> Statamic Ai Assistant is a Statamic addon that use API calls within custom fieldtypes and Bard to provide AI text generation and refactoring to the users.

Supported API
-------------

[](#supported-api)

- Infomaniak (CH, respect the data of your clients) - *Default*
- Groq (USA, get the speed)
- ...more to come

Features
--------

[](#features)

- Allow the usage of 'Ai Textarea' custom component in Statamic
- Allow the usage of 'Ai Text' custom component in Statamic
- Upgrade Bard by adding the AI asisstant buttons (generation and translation) directly in Bard
- Multilang supported (CP panel addon translations in EN/DE/FR/IT for now)

How to Install
--------------

[](#how-to-install)

You can install this addon via Composer:

```
composer require bold-web/statamic-ai-assistant
```

How to Use
----------

[](#how-to-use)

The plugin use per default Infomaniak API, a Swiss solution🇨🇭 respecting the data of your users and the planet. However if you want to switch to a faster generation with a US based company this plugin also comes with Groq API support.

### Infomaniak API

[](#infomaniak-api)

1. Create an [Infomaniak](https://manager.infomaniak.com) account and generate an API token with access to your AI Tools. Define it in your .env file as `INFOMANIAK_API_TOKEN`
2. Go to your dashboard computing-&gt;AI tools and define the `INFOMANIAK_PRODUCT_ID` in your .env file (or use their API to get the product id: ) > tips for GET request: Just use postman with your api key in the Authorization header 'Bearer your-api-key' to get the product id

### Groq API

[](#groq-api)

1. Create a [groq](https://groq.com/) account and generate an API key. Define it in your .env file as `GROQ_API_KEY`
2. Add `STATAMIC_AI_ASSISTANT_PROVIDER_NAME='groq'` in your .env file to use groq

### Translations

[](#translations)

We decided to integrate a translation functionnality that use the LLM to translate the texts on multi-site. You can disable this feature with STATAMIC\_AI\_ASSISTANT\_TRANSLATIONS=false in your .env file.

> We decided to use the LLM for the translations in the v1 for ease of use, but a Deepl integration is planned in the futur.

### Customization in your .env file

[](#customization-in-your-env-file)

- You can override GROQ\_MODEL with [the available model you want to use](https://console.groq.com/docs/models) / default is llama-3.1-8b-instant
- You can override INFOMANIAK\_MODEL with [the available model you want to use](https://www.infomaniak.com/fr/hebergement/ai-tools/open-source-models) / default is mistral24b
- You can override STATAMIC\_AI\_ASSISTANT\_PREFACE for your custom needs. > default preface of the addon: 'You are a seasoned SEO expert who writes clear, professional, seo friendly and engaging articles in plain text. Your task is to produce fully readable articles for an end user. Do not include any markdown formatting, HTML tags, header tags, meta descriptions, or any other markup. Write only the final article text in plain text, ensuring it is clear, direct, and free of extraneous formatting elements.'
- you can override STATAMIC\_AI\_ASSISTANT\_REFACTOR\_PREFACE > default refactor preface of the addon: 'You are a professional text refactoring expert. Your only task is to transform the provided text according to the specific instructions given by the user. Output solely the final refactored text in plain text, DO NOT INCLUDE the user instructions, any commentary, or any additional text. Preserve the original language and maintain a similar length to the input text unless instructed otherwise.'
- you can override STATAMIC\_AI\_ASSISTANT\_HTML\_REFACTOR\_PREFACE > default refactor preface of the addon: 'You are a professional text refactoring expert. Your only task is to transform the provided HTML text according to the specific instructions given by the user. Output solely the final refactored HTML! DO NOT INCLUDE the user instructions, any commentary, or any additional text. ALWAYS RENDER the output as valid HTML. Keep all links intact unless the user specifically instructs you to modify them, and always strive to preserve the original HTML structure unless instructed otherwise.ALWAYS update lorem ipsum. Preserve the original language and maintain a similar length to the input text unless otherwise specified.'
- You can override TEMPERATURE
- You can override MAX\_TOKENS
- You can disable the translation functionality with STATAMIC\_AI\_ASSISTANT\_TRANSLATIONS=false

Upgrade Request
---------------

[](#upgrade-request)

If you face issues or have improvements ideas do not hesitate to send us an email at . We’ll read all emails, but please understand that this package is maintained as a side project for us, so we may not get back to you directly. Thank you for your understanding ❤️

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance73

Regular maintenance activity

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity28

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

Recently: every ~56 days

Total

7

Last Release

153d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95552057e5a552d53af09b4e24b37f0a3da007ca1b83f19cc50f6ec4bdf66ccb?d=identicon)[boldwebdev](/maintainers/boldwebdev)

---

Tags

aistatamic

### Embed Badge

![Health badge](/badges/bold-web-statamic-ai-assistant/health.svg)

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

###  Alternatives

[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)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[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)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2912.8k](/packages/aerni-livewire-forms)[mitydigital/feedamic

A fully-featured RSS and Atom feed generator for Statamic.

1064.0k](/packages/mitydigital-feedamic)[mitydigital/sitemapamic

An XML sitemap generator for Statamic that includes all collections and related taxonomy pages.

1485.2k](/packages/mitydigital-sitemapamic)

PHPackages © 2026

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