Kirby Copilot is a plugin for Kirby CMS that integrates AI features into your Kirby projects, letting you generate and refine content – from simple text to complex page layouts – directly from the Panel. This documentation guides you through the installation, configuration, and usage of the plugin.
Whether you are building sites for clients or managing content yourself, Kirby Copilot brings AI-assisted creation and editing to the Panel.
Kirby Copilot offers three ways to generate content. Choose the one that fits your use case:
| Method | Best For | Key Features |
|---|---|---|
| View Button | Multi-field generation, quick access | Generate all fields at once from any Panel view |
| Toolbar Buttons | In-field editing for writer and textarea fields | Append or replace text, work with selected text |
| Inline Suggestions | Inline suggestions in writer fields | Tab to accept, ghost text preview |
| Copilot Section | Dedicated workflows | Single field focus, auto file context |
The Panel view button is the easiest way to get started – add it to your blueprint and generate content for a single field or multiple fields at once.
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.
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.
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.
Experience Kirby Copilot firsthand in the interactive playground.
To play with the plugin, please enter your API key in the playground settings. The playground uses client-side requests so you can transparently see your key in action. For production use, Kirby Copilot v3 routes all requests through a server-side proxy, keeping your API keys hidden from Panel users.
Get your API key:
Ready to add AI-powered content generation to your Kirby project?