Skip to content

AI Orchestrator

This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.

FieldValue
Composer packagecapell-app/ai-orchestrator
Package slugai-orchestrator
Product groupCapell AI
Tierfree
Bundleai
Runtime contextsadmin
Capell version^1.0
Catalogue roleextension
Release channelBeta
Source repositorycapell-app/ai-orchestrator
Docs sourcepackages/ai-orchestrator/docs
Manifestcapell.json

Set up an AI service once and the AI Assistant button on the page editing screen is ready to use. An editor picks the fields, adds a few keywords and keeps working while titles, meta descriptions or body text are drafted in the background. Nothing reaches the live site until the editor reviews a suggestion and saves the page.

AI Orchestrator is the shared setup behind that button. An administrator picks the AI service, adds your own key and lists the models allowed. They also set a brand voice with a tone, words to avoid and examples.

You need your own account with an AI service, or a self-hosted Ollama, and the site’s background processing has to be running. By default, emails and phone numbers are swapped for placeholders before text is sent, but names and addresses are not. What comes back is a set of title and description options to choose from and a content draft to edit, in the language version the editor picked.

  • Price and availability: Check current availability and price on the Capell Marketplace listing.
  • Licence: Check the licence terms on the Capell Marketplace listing.
  • Requires: PHP ^8.4, capell-app/admin ^1.0.78, capell-app/core ^1.0.79, lorisleiva/laravel-actions ^2.8, prism-php/prism ^0.100, spatie/laravel-data ^4.5, spatie/laravel-package-tools ^1.14.1.
  • Install: composer require capell-app/ai-orchestrator.
  1. Install the package: composer require capell-app/ai-orchestrator.
  2. Open the package admin page or resource and verify AI Orchestrator is available.

Packages implement AIOrchestratorModule and register typed capabilities, while RunAIOrchestratorCapabilityAction enforces runnable actions, authorisation, and policy guardrails in one place.

  • Configuration files: config/capell-ai-orchestrator.php.
  • Admin settings: Capell\AIOrchestrator\Settings\AIOrchestratorSettings.
  • Commands: php artisan capell:ai-orchestrator:prune-generation-payloads.
  • Install the required Capell packages at the versions in composer.json: capell-app/admin ^1.0.78, capell-app/core ^1.0.79.
  • Run migrations before opening package resources or public routes.
  • Keep the host Laravel scheduler running so package-registered schedules can execute: capell:ai-orchestrator:prune-generation-payloads (daily; package registered).

Dark illustration of four linked steps, register, govern, approve and show, marked as artwork and not a product screen

  • AI Orchestrator beta contract artwork (marketplace).
  • Required packages: capell-app/admin, capell-app/core.
  • Admin navigation: declares admin-page: AiOrchestratorAdminPageContribution; each Filament page or resource controls its own navigation visibility.
  • Admin/editor extensions: none declared.
  • Permissions: no package permission declarations or Shield gates detected; host access rules still apply.
  • Public routes: none declared.
  • Database changes: package migrations are declared.
  • Config: config/capell-ai-orchestrator.php.
  • Settings: Capell\AIOrchestrator\Settings\AIOrchestratorSettings.
  • Queues or schedules: scheduled commands capell:ai-orchestrator:prune-generation-payloads (daily; package registered); queue jobs RunAiAssistantGenerationJob.
  • Cache tags: none declared.
  • Commands: capell:ai-orchestrator:prune-generation-payloads.
SymptomLikely causeCheckFix
Package surface is missing after installProvider or manifest is not loadedConfirm capell.json, package composer.json, and provider registrationReinstall the package, refresh Composer autoload, and clear host caches
Admin screen or command fails on missing tablePackage migrations have not runCheck the tables listed in Data ModelRun host migrations and rerun the focused package test
Background work does not runQueue worker or declared schedule is not activeCheck the jobs and scheduled commands listed in Technical ShapeStart the queue worker or host scheduler, then run the focused command or package test

Read CHANGELOG.md before upgrading.

  • Remove calls to AiSpendGuard, AiSpendReservationData, AssertAiModelPriceConfiguredAction, AssertAiRequestBudgetAction, and EstimateAiGenerationCostAction.

  • Move financial authorisation and settlement to the consuming application. Pass only caller-issued execution allowances and opaque reservation_reference evidence to managed provider calls.

  • Stop treating legacy ai_generation_histories.cost_micros and cost_currency columns as live producer-owned cost authority. They remain in historical schemas only for upgrade compatibility.

  • Prepared package metadata and documentation for ongoing Capell 0.0.x package work.