Agents build your screen. Give it a real section and a few agent cursors assemble it on a blank canvas: they draw its boxes, type its text, line it up on ruler guides, copy the repeated rows, drop in the images, and then the real, working section fades in and the agents leave.
Examples
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
A hero
Any section works. Here it is our Hero block with a cover image: the headline types in at a smaller size and steps up, the buttons are drawn as boxes, and the image is placed, then shown from the top down.
A plan by hand
Pass `plan` to say exactly what gets built, by whom and in what order. A duplicate names its source and the texts it retypes.
Props
- targetrequired
ReactNode- The section to build. It renders in place, so the canvas takes its real size, and stays hidden and inert until it goes live.
- plan
BuildTask[]- Default
derived - A plan by hand: box, text, image, icon, guide and duplicate tasks, in px inside the target. Without it the plan is read from the laid-out target.
- agents
BuildAgent[]- Default
Claude, Codex, Antigravity - id, label, model (picks the mark) and color, in the order they join.
- speed
number- Default
1 - Clock speed.
- autoplay
boolean- Default
true - Start when the canvas scrolls into view.
- play
boolean- Controlled: false pauses, true plays.
- replay
number|string- Change it to build again from the start.
- onDone
() => void- After the section is live and the agents have left.
- time
number- A controlled clock in ms, for video: the frame at that time and no clock of its own.
- onPlan
(plan) => void- The scheduled plan, e.g. its total length.
- controls
boolean- Default
true - The status line and the Build or Replay button under the canvas.
- pad
number- Default
24 - The canvas margin, where the rulers sit.
- How the plan is read
-- Painted elements become boxes; elements holding only text become typed text; images and large svgs are placed, small svgs pop in as icons. Alike siblings after the first are copied with Alt-drag and retyped. A left edge that texts share in two places becomes a ruler guide they snap to. Each top-level region goes to one agent, at most 56 layers.
- Motion
-- One clock for everything. Cursors fly on gentle arcs, 280 to 600ms by distance, ease in-out; boxes draw from their corner; text types at 26ms a character (faster for long text); a snap uses the pop spring. Live: the canvas fades on the slow token while the section fades in on the travel token, all inside 760ms; the agents leave one by one, 55ms apart. Transforms, opacity and typed text only. The clock stops off screen and on a hidden tab. Reduced motion: the finished section at once, no canvas.
| Prop | Type | Default | Description |
|---|---|---|---|
| targetrequired | ReactNode | required | The section to build. It renders in place, so the canvas takes its real size, and stays hidden and inert until it goes live. |
| plan | BuildTask[] | derived | A plan by hand: box, text, image, icon, guide and duplicate tasks, in px inside the target. Without it the plan is read from the laid-out target. |
| agents | BuildAgent[] | Claude, Codex, Antigravity | id, label, model (picks the mark) and color, in the order they join. |
| speed | number | 1 | Clock speed. |
| autoplay | boolean | true | Start when the canvas scrolls into view. |
| play | boolean | - | Controlled: false pauses, true plays. |
| replay | number | string | - | Change it to build again from the start. |
| onDone | () => void | - | After the section is live and the agents have left. |
| time | number | - | A controlled clock in ms, for video: the frame at that time and no clock of its own. |
| onPlan | (plan) => void | - | The scheduled plan, e.g. its total length. |
| controls | boolean | true | The status line and the Build or Replay button under the canvas. |
| pad | number | 24 | The canvas margin, where the rulers sit. |
| How the plan is read | - | - | Painted elements become boxes; elements holding only text become typed text; images and large svgs are placed, small svgs pop in as icons. Alike siblings after the first are copied with Alt-drag and retyped. A left edge that texts share in two places becomes a ruler guide they snap to. Each top-level region goes to one agent, at most 56 layers. |
| Motion | - | - | One clock for everything. Cursors fly on gentle arcs, 280 to 600ms by distance, ease in-out; boxes draw from their corner; text types at 26ms a character (faster for long text); a snap uses the pop spring. Live: the canvas fades on the slow token while the section fades in on the travel token, all inside 760ms; the agents leave one by one, 55ms apart. Transforms, opacity and typed text only. The clock stops off screen and on a hidden tab. Reduced motion: the finished section at once, no canvas. |
Accessibility
- The canvas, the cursors and the layers are hidden from assistive tech; the status line says who is building and then that the section is live.
- The real section stays inert and hidden until it is live, then works as normal: focus, links and buttons are the section's own.
- Build and Replay are real buttons. Under reduced motion the section shows finished and there is nothing to replay.
When to use
When to use
- A landing hero or a reel that shows agents building a real section from your own blocks, then handing over the working UI.
- Telling an 'agents build your screen' story once, on a page people scroll through.
When not to use
- Agents editing a document or a table together: use Agent Cursors.
- Work passing from one agent to the next: use Handoff Baton.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Agent Build to my app and wire it to my own data.
- I need a landing hero or a reel that shows agents building a real section from your own blocks, then handing over the working UI. Set that up with the Knowns UI Agent Build.
- Which Agent Build props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "agent-build" }) and search_docs({ query: "agent build" }). Pro props, full examples and source come back once your license key is in the MCP config.