ai-platform

Integrates LLM providers, agents, and an MCP server into REDAXO via Symfony AI.

4|Updated May 27, 2026
One-click install
npx skills add https://github.com/FriendsOfREDAXO/ai_platform --skill ai-platform-friendsofredaxo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-platform
Source: https://github.com/FriendsOfREDAXO/ai_platform/tree/main/.claude/skills/ai-platform
Command: npx skills add https://github.com/FriendsOfREDAXO/ai_platform --skill ai-platform-friendsofredaxo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Connecting a REDAXO CMS to large language models normally means wiring up provider SDKs, API keys, and model catalogs by hand. This Skill explains the ai_platform AddOn, which centralizes LLM profiles, a PHP service API for text, image, and embedding generation, tool-using agents, and an OAuth-protected MCP server in one place. ## Core Features & Use Cases - Profile-based LLM configuration: Create one profile per use case (text, image generation, image understanding, embeddings) across ten providers including OpenAI, Anthropic, Google, Ollama, Mistral, and OpenRouter. - PHP Service API and agents: Call generateText, generateImage, understandImage, or generateEmbedding from any REDAXO code, and build tool-using agents via the AI_PLATFORM_AGENT_TOOLS extension point. - MCP server with OAuth 2.1: Expose project content and custom tools at POST /mcp with PKCE, dynamic client registration, and YCom-group-based scopes. - Use Case: A developer needs product descriptions generated from REDAXO articles. They create a text profile with a system prompt, set it as the default, and call Service::getInstance()->generateText() from a module. ## Quick Start Ask the assistant to create a text generation profile in the ai_platform AddOn and show the PHP code to call it from a REDAXO module.

Frequently Asked Questions about ai-platform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate text with an LLM in REDAXO?

Use the ai_platform Service API: call Service::getInstance()->generateText($prompt) after configuring a default text profile in the backend. Pass a profileId argument to use a specific profile instead of the default.

How do I add a custom LLM provider to the ai_platform AddOn?

Register an entry in the AI_PLATFORM_PROVIDERS extension point with label, fields, defaults, catalog, and factory keys, plus the Symfony AI bridge package via composer. No fork of the AddOn is required.

Why does generateText throw 'No default AI profile configured'?

This error occurs when no default profile is set for that type under KI Platform settings, or the configured profile is inactive. The getProfile() method filters on status = 1, so inactive profiles are invisible to all callers.

Why does the MCP endpoint return 503 or 401 errors?

A 503 means mcp_enabled is off, which is the default on fresh installations. A 401 on every method including initialize means mcp_require_auth is enabled, which forces clients to start OAuth before seeing protected tools.

Which LLM providers does the ai_platform AddOn support?

Ten providers are built in: OpenAI, Anthropic, Google, Ollama, Mistral, Cerebras, Scaleway, OpenRouter, Replicate, and a generic OpenAI-compatible option with a custom base URL. Each supports different combinations of text, embeddings, image generation, and image understanding.

Why do asset changes in the AddOn not appear in the backend?

REDAXO serves assets from assets/addons/ai_platform/, not the AddOn's own assets folder. After editing CSS or JS, run redaxo/bin/console package:install ai_platform to copy the files, since the cache buster uses the copied file's modification time.