Agent Design Lab
A local canvas where Claude Code designs your app or website as live HTML screens joined by labelled arrows, you
review it like a Figma file, and the approved design becomes the source of truth you hand to the build.

- Agent first. You don't draw. You ask Claude Code ("design an onboarding flow for a meditation app") and it writes
real HTML screens with real copy, a design system, every state (empty, error, permission denied …) and the arrows
between them. They appear on the canvas while it works.
- A wireflow, not a pile of mockups. Screens are joined by arrows that say what the person taps or what condition
sends them there. Sections group flows, notes hold comments, ⌘K finds any word inside any screen, and present mode
lets you click through the flow.
- Review in place. Give screens a status (Needs a fix, To decide, your own) with a banner text saying what to change.
Claude sees what you changed on its next turn and works through it. Alternatives arrive as proposals: "Use instead"
or reject. Nothing is ever lost (there is a History page).
- A source of truth for the build.
adl handoff turns the approved screens into a spec (flows, transitions,
tokens, copy, reference pictures), and adl handoff check tells the agent building the real app when it matches.
- Fast with hundreds of screens. Animations keep running (CSS, exactly as written) on the screens you look at, and
zoomed-out screens are drawn from cached pictures. 161 real screens open in about 0.3 s and pan at 60 fps.
- Sound, when you want it. A screen can make sounds in time with its animations. The canvas stays silent until you
click a screen's speaker; then that one screen plays, every other stays quiet.
- Local files you own. Plain HTML, CSS and JSON in your folder, git friendly. Nothing leaves your machine.
Start
You need Node 22.18 or newer, Google Chrome (or Edge or Chromium) and Claude Code.
git clone https://github.com/LucaL1fe/agent-design-lab
cd agent-design-lab
npm install
npm start # opens the canvas in Chrome
Then open Claude Code in the same folder and ask for a design:
claude
> Design an onboarding flow for a meditation app
Designs go into workspace/. Watch them appear, then comment through statuses and notes, ask for changes, approve.
Every Projects page also shows a built-in example to look around in (a meditation app onboarding Claude designed with
this tool). It stays as it is; "Make a copy" (or adl copy example-still) gives you your own copy to edit.
In your own project
Install it from GitHub in any repo (it is not on npm) and set the folder up once, so Claude Code knows the designer
skill and the canvas sees what it does:
npm install --save-dev github:LucaL1fe/agent-design-lab
npx adl setup # adl.json, the skill, the hooks, a section in CLAUDE.md and AGENTS.md
npx adl open
Or install the skill and hooks as a Claude Code plugin, and the package from GitHub as above for the CLI (npx adl):
/plugin marketplace add LucaL1fe/agent-design-lab
/plugin install agent-design-lab@agent-design-lab
How it works
you ask ──▶ Claude writes screens/*.html + runs adl commands ──▶ the canvas updates live
▲ │
└── Claude reads what you changed (adl context) ◀── you move things, set statuses,
write banner texts and notes, approve
approved screens ──▶ adl handoff ──▶ another agent builds the app ──▶ adl handoff check until it passes
- Files are the interface. A project is a folder:
project.json, pages/*.json (items and arrows), screens/*.html
(standalone documents that open in any browser), styles/tokens.css and components.css. Claude edits them with
commands or directly. The canvas server is the only writer of page files and merges an agent's file writes with your
live edits: the agent wins conflicts, except where you placed something by hand.
- The skill is the designer.
skills/agent-design-lab/SKILL.md gives Claude a process: a short brief, the design
system first, the wireflow before pixels, every state, rendering its own screens to PNG and looking at them before it
reports, banner texts for what you should look at, never approving its own work.
- Hooks connect the two. The pill in the top bar shows what Claude is doing ("writing S6a.html") and how many of
your changes it will see next. The hooks only talk to the local server.
The canvas