Try the example
Tell me when it’s out
A map of a bike repair shop’s product: book a repair, drop it off, ready and pay, each with its special cases A flow chart from the repair to the day to booked, with a way back when the day isn’t free A data model with a customer, a repair and its parts The screen for choosing a repair, as a grey wireframe Picking a day, as a grey wireframe The booked repair, as a grey wireframe The same screen finished, in yellow with a drawn bicycle Picking a day in a calendar, finished The booked repair, finished

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

  1. Start with a map

    No screens yet. One sentence becomes a map, with the cases people forget.

    A bike shop wants repairs booked online

  2. Follow one customer through it

    The flow has every step, and what happens when the day they want is full.

    Draw the booking flow

  3. Decide what it stores

    A missing field is one more line in the data model. After launch it’s a migration.

    Add the data

  4. Keep the first screens grey

    With no colours to argue about, you talk about what belongs on each screen.

    Wireframe it

  5. 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

  6. 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.

Repair 1 of 3

What’s wrong with it? Flat tyre is chosen, €15
When can you bring it? Tuesday 9 June at 9:30 is chosen
See you on Tuesday. Bring it Tuesday at 9:30, ready Wednesday, €15

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

The rendered screen. Cancel it hangs at the left, under a line where its button should be

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

The rendered screen. Cancel it is centred in its button

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.