Build an editable website with a coding agent

5 min read · Updated 2026-09-12

Short answer

Can an AI coding agent build a website you can still edit visually?

Yes, if the agent creates native Pagiera document elements instead of a separate hardcoded page. The package ships an AGENTS.md integration guide for exactly this. A document produced that way can be saved, opened in the visual editor, previewed and published like any other page — which is what keeps the result editable after the agent finishes.

Key points

  1. 01The package includes an AGENTS.md guide written for coding agents.
  2. 02Ask for native Pagiera document elements — a hardcoded page is not editable in the canvas.
  3. 03Agent output goes through the same save, preview and publish workflow as hand-designed pages.
  4. 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.

StepWhat happens
TargetYou select a layer or reference one with @.
ProposeThe change is described with before and after values.
ApplyNothing 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

  1. 01Next.js setupAdd a visual page editor to a Next.js application
  2. 02Layouts & componentsReuse navigation, footers and layouts across pages

Say hi to Pagiera and build your first page

Install the package and have the studio running in minutes.

bun add pagiera