Installation & Requirements
System Requirements
Section titled “System Requirements”- PHP:
8.4or higher (ext-curl,ext-pdo_sqlite, andext-opensslorext-sodiumforSecretBox) - ProcessWire:
3.0.271or higher - Required First-Party Modules:
Inertia,React,Entries - Companion Modules Included:
ProcessAi(Setup -> AI) andInputfieldAiChat(inline AI drawer in Page/Entry editors) - CLI Tooling:
trk/processwire-consolefor all 8ai:*/make:assistantcommands, 4 queue workers, andPruneAiUsageLogsTask
Installing the Module
Section titled “Installing the Module”-
Require the package and its
neuron-core/neuron-airuntime dependency:Terminal window composer require trk/processwire-ai -
Refresh and install
Ai(and its companions):Terminal window php vendor/bin/wire module:refreshphp vendor/bin/wire module:install Ai
- Ensure
neuron-core/neuron-ai(^4.1) is available via your project’s Composervendor/autoload.php. - Log in as a superuser and navigate to Modules -> New.
- Use Add Module from Directory (enter
Ai), Add Module from URL, or Add Module from Upload (ZIP archive). - Click Modules -> Refresh, locate
Aiunder the Site tab, and click Install.
- Ensure
neuron-core/neuron-ai(^4.1) is installed invendor/autoload.php. - Download and extract the release archive into
site/modules/Ai/. - Open Modules -> Refresh in the ProcessWire admin (or run
php vendor/bin/wire module:refresh). - Click Install next to
Aiunder Modules -> Site.
Installing Ai automatically registers all 7 Entries blueprints (AiBlueprints), creates the 3 telemetry tables (ai_usage_logs, ai_conversations, ai_mcp_logs), creates the 5 RBAC permissions (ai-admin, ai-use, ai-translate, ai-image, ai-audit), and installs ProcessAi at Setup -> AI.
Verify Installation
Section titled “Verify Installation”php vendor/bin/wire ai:doctor --json# Or auto-repair missing blueprints, tables, cache dirs, or permissions:php vendor/bin/wire ai:doctor --fix --force --jsonNavigate to Setup -> AI in the ProcessWire admin to add your first provider connection and assign default model tiers.
Companion Modules
Section titled “Companion Modules”| Module | Role |
|---|---|
Ai |
Core service ($this->wire()->ai / Ai::requireInstance($wire)), gateway, editorial engine, agent runner, vector index, and MCP server. |
ProcessAi |
Full React/Inertia administrative workspace mounted at Setup -> AI (Overview, Providers, Models, Routing & Governance, MCP Access, Rules, Brand Voices, Glossaries, Assistants, Editorial Sandbox, Bulk Operations, Activity & Logs). |
InputfieldAiChat |
Self-contained companion Inputfield (dist/InputfieldAiChat.{js,css}) for embedding grounded AI chat and proposal review directly inside Page and Entry edit forms. |