Key points
- 01The package includes an AGENTS.md guide written for coding agents.
- 02Ask for native Pagiera document elements — a hardcoded page is not editable in the canvas.
- 03Agent output goes through the same save, preview and publish workflow as hand-designed pages.
- 04In-editor AI proposals are reviewed before they are applied; nothing changes silently.
The instruction that changes the outcome
The difference between a page you can keep editing and a page you have to rebuild is a single instruction. Ask the agent to create native Pagiera document elements. If it writes a React component with hardcoded markup instead, the visual canvas has nothing to edit — the design lives in code the editor does not own.
- Point the agent at /docs/agents, which renders the package's AGENTS.md.
- Name the outcome: an editable document, not a static page component.
- Let the agent save a draft, then review it in the editor before publishing.
How in-editor AI edits differ
Inside the editor, Luma works on a target you choose: select a layer, or mention it with @. It proposes text, style, hover and element changes and shows the old and new values, so you approve the change rather than discover it.
| Step | What happens |
|---|---|
| Target | You select a layer or reference one with @. |
| Propose | The change is described with before and after values. |
| Apply | Nothing touches the page until you accept it. |
AI generation requires an OpenRouter key, and the supported operations depend on the version you installed. Breakpoint-targeted requests are limited to supported layout updates.
Questions
Yes. The package includes an AGENTS.md integration guide for coding agents. Ask your agent to create native Pagiera document elements rather than a separate hardcoded page. The resulting document can be saved, opened in the visual editor, previewed and published.
No. Supported requests are proposed with their old and new values so you can review them, and the existing page stays in place until you apply the change.
AI generation requires an OpenRouter key. The rest of the editor — canvas, components, layouts, data binding and publishing — works without one.