The Pego mascot flying, pulling a pink stroke that turns into a stack of interface panels above the clouds
  • FREE
  • .pego = JSON

Agent-first design that lives in your repo.

Describe the screen you want. An agent designs it on a real canvas, then you take over by hand. What you get is a .pego file sitting next to your code.

Free to use. Bring the agent you already use.

HOW IT WORKS

From one sentence to a screen you can edit.

No mockup handoff, no export step. The agent and you edit the same file.

  1. Pego mascot typing a request into a chat box

    Describe it

    Type what you need in plain words: “a pricing section with two plans, in our brand.” Point at a layer to be specific.

  2. Pego mascot arranging UI cards on a canvas

    Watch the agent build

    It plans the steps, then places real frames, text and components on the canvas while you watch, using your variables.

  3. A cursor editing a card with selection handles, a color palette and an undo button

    Take it from there

    Drag, retype, recolor by hand. Nothing is locked, and every agent change can be undone in one step.

FEATURES

Built for working side by side with an agent.

Every change is reversible.

Each agent run is one entry in history. Keep the parts you like, undo the rest, or roll back the whole run.

AGENT RUN 3 OF 32 min ago
Added Pricing section14 layers
Set $accent to Grape1 variable
You moved the footnote1 layer
Undo run

Your tokens, not its guesses

The agent reads your variables and components first, then builds with them instead of raw hex.

<Hero />  index.html

Export straight to code

React with Tailwind, or plain HTML and CSS. Variables become CSS custom properties.

AGENTS

Bring the agent you already use.

Pego speaks MCP. Connect a coding agent from your terminal, or chat with the one built into the editor.

  • ABuilt-in chat, right next to the canvas
  • BYour coding agent over MCP, from the terminal
  • CYour own API key, no account needed

THE .PEGO FILE

Plain JSON, right next to your code.

  • Readable diffs

    Design changes show up in pull requests, just like code.

  • No server, no lock-in

    The file lives in your repo. Open it in Pego, read it in any editor.

  • Agents read it natively

    Your coding agent sees the design and the code it describes in one place.