All guides › By use case
By use caseDesign a flow with your agent, together with your team
Design a flow as live HTML with your own agent and skills. The team comments as you go, and each version stores only what changed.
In Kaloko you design the screens of a flow as live HTML, together, with whatever agent and design skills your team already uses. The same scenario later checks the implementation against the design.
The problem
Pictures of screens live in one tool and code in another. An AI artifact shows one live page, but not the flow, not its history, and nothing tells you later whether the product still matches.
What changes with Kaloko
- Live steps. Each step of the scenario is a page your agent writes: plain HTML, CSS, JS and assets in a folder. The canvas runs it in a sandbox, and prototype links walk the flow.
- A shared draft. Changes go into one draft the whole team sees at once: presence, cursors, follow, present mode, and comments pinned to elements. Agents appear with their writes too.
- Versions of the flow. Publishing freezes the whole flow as
v4. Steps that did not change are stored, uploaded and rendered once, so a version costs only what changed. Compare shows the rest as unchanged. - Your tools stay yours. Any design skill, model or style works if it writes the folder layout. Kaloko adds no design opinions.
- Present the prototype. *Prototype* plays the flow full screen as live pages in a device frame: click through, walk with the arrow keys, share a link that opens straight into a step.
- Open formats, always.
kaloko export --designgives a version as plain HTML,tokens.json(DTCG) andscenario.ymlthat open from disk.kaloko design lintkeeps the pages portable.
How it works
- Add a design environment
to
kaloko.config.yml:design: { kind: design, serve: design }. - Design.
Ask your agent to write
design/<step>/index.htmlfor each step of the scenario, with shared styles indesign/_shared/and your tokens indesign/tokens.json. - Walk and sync.
kaloko start --scenario qa/flows/checkout.yml --env design,kaloko walk,kaloko sync. Only changed steps render and travel. - Review together.
The team opens the draft, clicks through the Live steps, pins comments on elements and marks steps ready for review. Your agent reads
kaloko feedbackand syncs again. - Publish.
kaloko share --name "Checkout redesign"publishes a version, or someone presses *Publish version* in the canvas.
Skills and prompts
Design the checkout flow in design/ with our brand skill: one folder per step of qa/flows/checkout.yml,
shared CSS in design/_shared, tokens in design/tokens.json. Then kaloko walk and kaloko sync.Read kaloko feedback on the design environment, change what the pinned comments ask, walk, sync,
and answer in each comment what you changed.What it looks like
The draft canvas shows every step with its screenshot and a Live mode. In Live, the inspector names each value's token, and comments sit on the element they belong to. The run card lists the versions and marks the design reference with a star.
What you get
- a flow the team designs together, with people and agents visible in it
- versions of the whole flow that store only what changed
- history of every step: who changed it and when, a person or an agent
- a design reference development and QA run against (see the guide *Design reference: build and test against the design*)