CakePHP 5.4 · PHP 8.4 · Stable

Agentic AI for CakePHP, without the glue code

One consistent API for multiple providers. Agents, tools, structured output, streaming, queues and evals, built the CakePHP way.

Providers
17
License
MIT

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 migrate

Multiple providers behind capability defaults. Swap one key, not your application code. Provider matrixStreamingQueueing

Providers

One interface. Every model.

Multiple providers behind capability defaults, with OpenRouter ready out of the box.

Compare all providers →EmbeddingsRerankingAudioImagesClassification

Ecosystem

One stack for agentic applications.

Each package does one job and composes with the rest. Adopt the layers you need.

core
Stable

CakePHP AI

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.

core
Stable

AiInteraction

crustum/ai-interaction

UI-agnostic interaction primitives: turn runner, slash commands, sessions with titles, input history, per-user preferences and a response-stop contract.

terminal
Stable

AiTui

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.

web
Stable

AiNexus

crustum/ai-nexus

Web dashboard and playground for agents: discovery, streaming chat, attachments and retention.

harness
Stable

Panifex

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.

protocol
Stable

MCP

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.

dev
Stable

Ignis

crustum/ignis

Coding-assistant toolkit: composed guidelines, on-demand skills, a live MCP server, and project rules that teach agents your application.

search
Stable

Explorator

crustum/explorator

Full-text and vector search for CakePHP: collection, database, Algolia, Meilisearch, and Typesense drivers with RAG-ready embeddings.

demo
Stable

AiDemo

cakephp/app skeleton

Runnable demo application: an Assistant agent with four tools (weather, location, temperature conversion, approval-gated email) over HTTP and console.

Interfaces

Talk to agents anywhere.

The same driver agent, in your terminal or behind purpose-built coding commands.

In the terminal

Quick anonymous chat

bin/cake ai chat --prompt "Tell me about CakePHP"

No agent to configure. If it answers, the provider connection is good.

Terminal chat →

With a coding agent

Panifex coder commands

bin/cake coder review
bin/cake coder test
bin/cake coder fix

Tools for file edits, tests, static analysis and database inspection.

Panifex getting started →

Live demo

See a real agent, not a mockup.

AiDemo ships a working Assistant with four tools over HTTP and console.