A saved series of screens written in Mermaid, with branches
A saved series of screens written in Mermaid, with branches: the answer to one question picks the next ones. Back walks the path you took, the review lists only what you answered on it, and one event goes back at the end.
Drawing the screen...
The lines the agent sends:
flow@intake "Client website intake" submit="Send the brief"
flowchart TD
%% hi: page "Let's plan your site" body="About ten questions. Your answers become the brief, so guess when you are not sure."
hi([Start]) --> biz
%% biz: form "Your business" "Business name":text! "What you do":long "Who it is for":text
biz[Your business] --> kind
%% kind: choose "What are we building?" "New site"|Redesign|Shop|"Landing page"
kind{What are we building?}
kind -->|Redesign| today
kind -->|Shop| products
kind --> goal
%% today: form "The site today" "Current site":url! "What works":long "What you hate":long
today[The site today] --> goal
%% products: slide "How many products?" 1-500
products[How many products?] --> pay
%% pay: pick "How do you take payment?" Stripe|Shopify|Square|"Not sure yet"
pay[Payments] --> goal
%% goal: choose "What should a visitor do first?" Call|Book|Buy|"Sign up"|Read
goal[First action]
goal -->|kind=Landing page| brand
goal --> pages
%% pages: pick "Which pages?" Home|About|Services|Pricing|Blog|Contact +other
pages[Pages] --> brand
%% brand: form "Your brand" logo:yes colors:text "A site you like":url
brand[Brand] --> budget
%% budget: slide "Budget, in thousands" 2-50 "$2k"|"$50k"
budget[Budget]
budget -->|budget>=15| meet
budget --> done
%% meet: ask "Want a call to walk through it?" "Yes, book it"|"Email is fine"
meet[Call?] --> done((Brief))
end
The MVP is done and Yui is in alpha, open to anyone with an iPhone on iOS 26. Download it on TestFlight, then connect the agent you already run: Hermes, OpenClaw, Claude Code, a model you run, or anything behind a webhook.