Puck AI
Puck AI lets you generate pages directly inside Puck, or as part of your own agent.
Demo
Puck AI is available now. Try the demo.
Plugin
The AI plugin shows a chat interface for generating pages inside Puck. It also provides a hook for building your own UI. Set up Puck AI
Server APIs
Puck AI provides server APIs for generating pages headlessly. Use them to integrate Puck AI with your own agent.
| API | Description | Returns |
|---|---|---|
ai.generate() | Generate a page, or update an existing one | Generation |
See Headless Generation for more guidance.
Guides
| Guide | Description |
|---|---|
| Set up Puck AI | Set up the AI plugin to generate pages from within the Puck editor |
| Assembly Mode | Generate pages from your existing components |
| Design Mode | Let the agent create new component types on the fly |
| Business Context | Customize the agent with context for every prompt |
| Tools | Allow the agent to call functions and query systems |
| Headless Generation | Generate pages programmatically and at scale |
| Custom Agents | Create your own AI interface or use Puck AI as a subagent |
| Model Configuration | Pick the model the agent uses, and tune it |
| Localization | Translate the AI plugin’s interface |