Skip to content

ArtisanPack UI home

AI

The shared AI foundation for the ArtisanPack UI ecosystem. Bring your own key, resolve credentials once, and get a provider-agnostic agent base class, a feature registry, cost and usage tracking and Livewire admin surfaces — built on laravel/ai.

v1.2.0

MIT License

★ 0

composer require artisanpack-ui/ai
terminal
$ composer require artisanpack-ui/ai
✓ Installed
$ php artisan migrate
✓ Migrated AI tables

$ php artisan vendor:publish --tag=artisanpack-package-config
✓ Published config

What it does

One AI foundation for the whole ecosystem

Every ArtisanPack UI package that ships an AI agent runs through this layer — so credentials, budgets and toggles live in exactly one place.

Feature registry

Every AI capability across the ecosystem in one place, with per-feature toggles that persist.

BYOK credentials

Bring your own key via .env or the admin UI, encrypted at rest, resolved through one contract.

Cost and usage

Per-agent event stream, monthly budget cap, dashboard aggregations and budget-warning emails.

Agent base class

Subclass, declare a feature key and output schema, and get caching, telemetry and streaming for free.

Admin surfaces

Livewire settings, usage dashboard and per-feature toggle pages ready to drop in.

Local via Ollama

Every shipped agent runs against a self-hosted Ollama model, not just cloud providers.

Install, migrate and bring your key

Set a provider key in .env or the admin UI — or point at a local Ollama daemon and pay nothing per token.

1 · Install

composer require artisanpack-ui/ai

2 · Migrate

php artisan migrate

3 · Publish config

php artisan vendor:publish --tag=artisanpack-package-config

Supported versions

Package version PHP Laravel versions
1.0.x 8.3+ 12.x, 13.x
Built on laravel/ai. Bring your own key for Anthropic, OpenAI, Gemini or Groq — or run fully local with Ollama.

Power your app with AI

Install the foundation in one command and start unifying your configuration today. Free and open source under the MIT license.