The method: two contracts, one loop
When AI builds the interface, the system can’t just be a component library — it’s an agentic design system: two enforceable contracts that both your team and your AI build against, so speed doesn’t turn into drift.
In effect this is AI-assisted requirements engineering: evidence becomes a requirement, the requirement becomes tested behaviour, and every behavioural rule carries its chain back to the research. It is the bridge between UX research, requirements engineering and agentic building — where most teams lose the thread between evidence, requirement and code.
That is also what makes the prompting efficient: an AI is only as good as what you ask it to build. You can only prompt efficiently with the right requirements in the right format — vague asks and a loose structure turn prompting into guesswork, while precise, machine-readable requirements let the AI build it right in one pass. That is where the 50–80 % I save on prototyping comes from — research stays with real people, the AI does the sorting and the building.
01
UI Contract — the what
Components, tokens and layouts, machine-readable in Figma (variables and Code Connect). AI builds against the system instead of reinventing it next to it.
02
UX Contract — the how
How the product must behave: states, flows, accessibility and testable acceptance criteria — versioned next to the code, not scattered across tickets.
03
The loop
AI builds against both contracts in minutes; automated checks verify, and I guarantee the UX contract by hand. Deviations flow back into tokens, components or the contract.
Read the full idea: Agentic Design Systems → · Runnable example on GitHub →