Introduction
Dex is where designers prototype in real code, on their own design system, with a coding agent.
Describe what you want, and your coding agent builds it with your team’s components. You review it on a canvas of live views and leave comments. The agent works through the comments and says what it changed.
Every frame is a real page, rendered from code. Dex is for designers who would rather talk to an agent than edit files, for design system teams who want prototypes built on the real system, and for anyone who reviews by clicking through.
Dex is free, open source and runs on your machine. To start, see Getting started.
What you can do
- Lay out flows on a canvas: your agent builds every view with your components, laid out like the flow, with steps across and states below
- Comment for your agent: post a comment to your agent, and it takes the thread, makes the change and tells you what it did
- Paste from Figma: paste frames from Figma, rebuilt from Figma’s own data with auto layout, components and images
- Copy from any web page: copy an element from any site, with its styles, onto a canvas
- Collect reviews with Markup: reviewers mark up any app against your outline, and their comments come back pinned on the canvas
- Share work with Sync: one button saves your work, brings in the team’s and shares yours, laid out so conflicts are rare. Or use a pull request for each file.
- Present with Play: show a section one step at a time, or share it for someone to test
What Dex is made of
| Piece | What it is |
|---|---|
| Dex | A local web app. Start it with npm run dex. |
| Files | Folders of views, canvas.json, documents and comments.jsonl, in files/. |
| Design system | designSystem in dex.config.ts: which components exist and how to import them. |
| Guidelines | What your agent should know that the design system can’t tell it, edited in Dex. |
| MCP server | Gives agents the guidelines and the comments, and lets them answer. |
| Rules and methods | Markdown the agent follows to create, critique, explore, review and hand off. |
Find your way around
The sidebar has, from the top:
- The bell: comments posted since you last opened it, and questions agents are waiting on you for
- Recents: every file in the workspace, with New file. Until you’re set up, Get started comes first, with three steps: connect your agent, create a file, and leave a comment.
- You: your name, then Your guidelines
- The workspace: its name and icon, then Guidelines and People
- Feedback: opens a new issue on GitHub
⌘ \ hides the sidebar and shows it again.
Settings opens from the menu under your name. It has your Profile, then the workspace’s General and Deployment settings, the agent’s MCP connection, Reference and Commands, and the Chrome extension and Markup to install. The same menu has the theme, Desktop app… and About Dex.