Puck AI 0.4 automatically follows the page stream, stores screenshots in your chat history, and does some housekeeping. See the AI overview for more information on the Puck AI closed beta.
In this post, weāll go over everything new in Puck AI 0.4 and how you can start using it:
You can also find in-depth documentation in our AI docs.
When using the chat interface, Puck AI will now automatically scroll the generation stream until the user scrolls away.
This can be disabled using the scrollTracking API:
import { createAiPlugin } from "@puckeditor/plugin-ai";
const aiPlugin = createAiPlugin({
scrollTracking: false, // Enabled by default
});When using the AI plugin, Puck will now store screenshots of the final output. These are accessible in the via the chat history in your Puck dashboard.

In the future, screenshots will give Puck eyes, enabling it to understand the visual impact of its decisions and improve generation quality.
Component schemas are removed in favor of field schemas, which are simpler and behave much more robustly.
// Before
const config = {
components: {
HeadingBlock: {
ai: {
schema: {
type: "object",
properties: { title: { type: "string" } },
required: ["title"],
additionalProperties: false,
},
},
fields: {
title: {
type: "custom",
render: () => <input />,
},
},
},
},
};
// After
const config = {
components: {
HeadingBlock: {
fields: {
title: {
type: "custom",
ai: {
schema: { type: "string" },
},
render: () => <input />,
},
},
},
},
};Run the following command to install the latest version of the Puck canary required for AI functionality:
npm install --save-exact @measured/puck@0.21.0-canary.ed351ce5Run the following command to install the latest version of Puck AI packages:
npm install @puckeditor/cloud-client@latest @puckeditor/plugin-ai@latestWeāre rolling out Puck AI to our existing community before opening a public beta.