Introduction
Kirby Copilot is a plugin for Kirby CMS that brings AI assistance into the Panel without forcing a workflow. Pick the surfaces that fit your blueprints – view button, toolbar, inline suggestions, section – or skip them entirely and call the same provider stack from PHP.
Features
Whether you are building sites for clients or managing content yourself, Kirby Copilot brings AI-assisted creation and editing to the Panel.
- 🧭 View Button: Fill several fields from one prompt, with files and other pages as context.
- 🧱 Blocks & Layouts: Whole layouts from your own block blueprints, custom blocks included.
- ⚡ Inline Suggestions: Ghost text after a pause – Tab keeps it.
- 📇 Toolbar Buttons: Rewrite or extend the selection in writer and textarea fields.
- 📚 Skills: Reusable instructions, pulled into any prompt with
@skill://. - 🌞 Prompt Templates: Save and reuse frequently used prompts.
- 🦙 Multi-Provider: OpenAI, Anthropic, Google, or Mistral – switch anytime.
- 🛠 PHP API: Drive AI from CLI, hooks, and custom workflows – see PHP classes.
Supported AI Providers
Choose Your Workflow
Kirby Copilot offers four ways to bring AI into the Panel. Mix and match based on your blueprints.
| Workflow | When to Use | Field Types |
|---|---|---|
| View Button | Generate multiple fields at once, or one field with full-page context | Any |
| Toolbar Buttons | In-field editing with selection awareness – append or replace | writer, textarea |
| Inline Suggestions | Passive ghost-text completions while typing – Tab to accept | writer |
| Copilot Section | Dedicated section UI for single-field generation | Blueprint section |
New to Copilot? Add the View Button to a blueprint first – it's the broadest workflow and works with any field.
View Button
With the copilot view button, you can access the prompt dialog from anywhere in the Panel. It is especially useful for generating content for multiple fields at once, but it works equally well for single fields.
Open the dialog, select the fields you want to generate content for, and let your AI assistant handle the rest.
Writer and Textarea Fields
Kirby Copilot integrates directly into writer and textarea fields with two complementary features:
Inline Suggestions appear as ghost text after a brief pause in typing – press Tab to accept or keep typing to dismiss. This feature is enabled by default for all writer fields.
Toolbar Buttons open the prompt dialog for more control. Select text before clicking to use it as context, then choose to replace or append the generated content.
Blocks & Layout Generation
One of Kirby Copilot's key features is its ability to generate content for blocks and layout fields. This feature is especially useful for creating content for complex layouts such as landing pages, product pages, and blog posts.
Playground
Experience Kirby Copilot firsthand in the interactive playground. Bring your own provider API key – the playground runs client-side, so you can see your key in action transparently. Production installs route through a server-side proxy and never expose keys to Panel users.