Agents
Prompt, stream, remember conversations, approve tool calls and delegate to sub-agents.
Open Agents →CakePHP 5.4 · PHP 8.4 · Stable
One consistent API for multiple providers. Agents, tools, structured output, streaming, queues and evals, built the CakePHP way.
2 min setup
Install in several commands
composer require crustum/cakephp-ai
bin/cake plugin load Crustum/Ai
bin/cake manifest install --plugin Crustum/Ai
bin/cake migrations migrateMultiple providers behind capability defaults. Swap one key, not your application code. Provider matrixStreamingQueueing
Providers
Multiple providers behind capability defaults, with OpenRouter ready out of the box.
Compare all providers →EmbeddingsRerankingAudioImagesClassification
Start exploring
Big areas of the docs. Every link below leads to practical, version-aware guidance.
Prompt, stream, remember conversations, approve tool calls and delegate to sub-agents.
Open Agents →Multiple providers behind a single interface, with per-capability defaults.
Open Providers →Real PHP capabilities for agents, with human gates on sensitive calls.
Open Tools →Stores, embeddings with reranking, and file attachments for grounded answers.
Open RAG & files →Expose tools, resources, and prompts over the Model Context Protocol.
Open MCP →Install crustum/cakephp-ai, configure providers and send your first prompt.
Open Getting started →Platform
Core agents, MCP and Ignis share streaming, queueing, broadcasting, failover, usage tracking and events.
Conversational agents with tools, sub-agents, middleware, approvals and database-backed conversation storage.
02Expose tools, resources, and prompts over the Model Context Protocol, served over web or STDIO with named clients, OAuth and interactive apps.
03Guidelines, skills, and a live MCP server that teach coding agents your application, plus project rules that keep what it learns.
04JSON-schema-driven answers via the json-schema plugin, including nested objects and arrays.
05File handling, Flysystem storage and vector stores with similarity search for RAG flows.
06Image generation, speech synthesis and transcription behind per-capability provider defaults.
07Cached embeddings with multimodal and per-query support, plus reranking including collections.
Ecosystem
Each package does one job and composes with the rest. Adopt the layers you need.
crustum/cakephp-ai
Unified API for 17 AI providers: agents with tools and sub-agents, structured output, images, audio, transcription, embeddings with reranking, streaming, queueing and broadcasting.
crustum/ai-interaction
UI-agnostic interaction primitives: turn runner, slash commands, sessions with titles, input history, per-user preferences and a response-stop contract.
crustum/ai-tui
Fastest way in: terminal chat with any agent via a single ai chat command with key bindings, input recall and tool-call cards on AiInteraction turns.
crustum/ai-nexus
Web dashboard and playground for agents: discovery, streaming chat, attachments and retention.
crustum/panifex
CakePHP harness for coding agents: autonomous runs, terminal UI, web chat-ops and other channels, plus 14 agent variants, 35 tools, guards and healing.
crustum/mcp
Model Context Protocol servers and clients for CakePHP: tools, resources, and prompts over HTTP or STDIO, OAuth via Tessera, and interactive MCP Apps.
crustum/ignis
Coding-assistant toolkit: composed guidelines, on-demand skills, a live MCP server, and project rules that teach agents your application.
crustum/explorator
Full-text and vector search for CakePHP: collection, database, Algolia, Meilisearch, and Typesense drivers with RAG-ready embeddings.
cakephp/app skeleton
Runnable demo application: an Assistant agent with four tools (weather, location, temperature conversion, approval-gated email) over HTTP and console.
Interfaces
The same driver agent, in your terminal or behind purpose-built coding commands.
In the terminal
bin/cake ai chat --prompt "Tell me about CakePHP"No agent to configure. If it answers, the provider connection is good.
With a coding agent
bin/cake coder review
bin/cake coder test
bin/cake coder fixTools for file edits, tests, static analysis and database inspection.
Live demo
AiDemo ships a working Assistant with four tools over HTTP and console.