Draft the app before your agent builds it.
What you leave open, your agent decides for you. ddraft is a Mac app where the two of you settle the flow, the data and the screens on one canvas. It’s saved as text files in your project.
Tell me when it’s out For macOS 15 or later
-
Start with a map
No screens yet. One sentence becomes a map, with the cases people forget.
A bike shop wants repairs booked online
-
Follow one customer through it
The flow has every step, and what happens when the day they want is full.
Draw the booking flow
-
Decide what it stores
A missing field is one more line in the data model. After launch it’s a migration.
Add the data
-
Keep the first screens grey
With no colours to argue about, you talk about what belongs on each screen.
Wireframe it
-
Then style them
The screens are vector. Move, type and restyle by hand, or ask for the change.
Make it look like a bike shop
-
This is the whole app
A canvas and a chat. In the chat, use Claude Code or Antigravity over ACP, or a model with your own API key.
Press play and click through it
A button can open another screen, so you can use the app before any of it is code. Try this one. Click beside a button and the links light up.
The canvas is a folder of text files
It’s called .ddraft and you commit it with your code. The map is Markdown. The screens are an XML inspired by Tailwind, so an agent knows most of it already. Edit either one here.
Any agent can work on it, without MCP
There’s no server to connect and no protocol to learn. An agent edits the files, and the ddraft command that comes with the app checks them and draws the screen, so the agent can fix a button before you see it.
Let people cancel a booking
Edit screens/booked.2.xml
<frame width="fill" padding="20"
radius="full" stroke="#16181a">
<text weight="semibold"
color="#16181a">Cancel it</text>
</frame>
ddraft check
screens/booked.2.xml:7: error: "frame-9" has padding but no direction, so they do nothing and children sit at its top-left; add direction="horizontal" or "vertical"
ddraft render screens/booked.2.xml
25 boxes, 2 with layout problems
Edit screens/booked.2.xml
<frame width="fill" padding="20"
direction="horizontal"
justify="center"
radius="full" stroke="#16181a">
<text weight="semibold"
color="#16181a">Cancel it</text>
</frame>
ddraft check
10 files, no findings
ddraft render screens/booked.2.xml
25 boxes, no layout problems
What goes in and what comes out
-
A bike shop wants repairs booked online
One sentence
The agent draws the first map from it.
-
README.md, docs/pricing.md
Documents you already wrote
They become a map and a brief.
-
localhost:3000
A web app you already have
Capture a page in the built-in browser.
.ddraft/
- map.md Markdown
- brief.md Markdown
- notes.md Markdown
- flows/ Mermaid
- data-model.mmd Mermaid
- screens/ XML
-
claude "Build .ddraft"
Code, from any agent
It reads the folder. Nothing to paste.
-
git add .ddraft
A commit
The plan stays with the code.
-
booked.svg, booked.pdf
Vector files
Any screen or icon, as SVG or PDF.
It’s not out yet
Leave your email and I’ll write once, the day you can download it.
For macOS 15 or later. Claude Code in its chat also needs Node.
ddraft is made by Aleksandar, who also makes Fairpage and effortless.