Wing, the purple agent, sets a UI card on a stack of panels while Stroke, the pink designer, draws a curve on the canvas
  • OPEN BETA
  • .pego = JSON

Claude Code, Codex, opencode and other CLI agents design on a real canvas with your tokens, components and design rules, then check their own work. You refine by hand, and it all lands as a .pego file in your repo.

WORKS WITH YOUR CLI AGENT

  • Claude Code
  • Codex
  • Gemini CLI
  • Qwen Code
  • opencode
  • Cursor
  • Copilot CLI
  • Kiro
  • ZCode
  • + any MCP client

TRY IT HERE

Type a prompt. Watch Pego design it.

Landing page
Interactive demo. The real agent runs on your own CLI.

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. Stroke, the pink designer, writes a request into a chat bubble while Wing, the purple agent, listens

    Describe it

    Type what you need in the Pego panel or in your terminal: “a pricing section with two plans, in our brand.” Point at a layer to be specific.

  2. Wing places interface elements on a grid canvas while Stroke watches

    It builds, then checks itself

    It plans the steps and places real frames, text and components on the canvas. After each section it takes a screenshot, runs a layout check and fixes what it finds.

  3. Stroke selects a shape with a pencil while Wing cheers next to an undo card

    Take it from there

    Drag, retype, recolor by hand. Nothing is locked, and a whole agent run undoes in one step.

AGENTS

Use the agent you already pay for.

Pego runs your CLI agent with your own login, or your agent connects to Pego over MCP. No extra account, no new subscription.

  • ARun Claude Code, Codex, opencode, Qwen Code, Gemini CLI or Cursor Agent from the Pego panel. Detected automatically.
  • BConnect any MCP client from your terminal and drive the canvas live.
  • COr chat inside Pego with your own Anthropic key or a compatible provider.

DESIGN RULES

Rules in, slop out.

Before it draws, the agent loads design skills: the core anti-slop rules, UI polish and a guide for what you asked for. Then it picks one style and sticks to it.

  • A skill for each job

    Landing pages, web apps, mobile, dashboards, slides, brand identity and design systems.

  • 21 style presets, 27 design movements

    Swiss International, Dieter Rams, Bauhaus, Neo-brutalism and more. One style per design, never a mix.

  • No defaults it can't defend

    No purple gradients, glow, emoji icons, fake stats or lorem ipsum. Colors and radii come from your tokens.

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

PNG, SVG, HTML and CSS, or React with Tailwind. Variables become CSS custom properties, animations come along as CSS.

  • Import a live website

    Load any page in the built-in browser and bring it in as editable layers with auto layout.

  • Find or generate images

    Search openly licensed photos, generate with your own image model, cut out backgrounds.

  • Motion and shader fills

    Entrance animations, count-up numbers and animated shaders that play in exported HTML.

  • Opens .pen files

    Bring designs over from Pencil. Anything that does not convert is listed for you.

See all 54 features

THE .PEGO FILE

Plain JSON, right next to your code.

  • Readable diffs

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

  • Local-first, works offline

    Files autosave into your repo. No account, no server, nothing to sync.

  • Agents read it natively

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

Point your agent at the canvas.

Open beta for macOS, Windows and Linux, or run it in your browser.