Building an agentic design factory
Project at a glance
The big picture
Generative AI tools are great at producing mockups that look plausible, but they often lack an understanding of component tokens, governance, and accessibility semantics. I helped build an agentic design factory: a repeatable system turning written design intent into working Xbox experiences with traceable validation.
How the factory is structured
The system operates across two connected loops: a production loop taking intent through specs, tokens, and independent validation, and an improvement loop conducting root-cause analysis on validation findings to continuously update guidance and skills.
Human-AI collaboration model
- • Write intent-driven contracts
- • Approve or reject agent outputs
- • Guide overall system strategy
- • Construct draft components
- • Translate specs & tokens
- • Automate guidance audits
- • Accelerated component creation
- • Traceable decision logs
- • Self-improving knowledge base
Accelerating validation through templates & tooling
Manual audits can bottleneck agentic workflows. To make component checks fast and reproducible, I created structured prompt templates and lightweight tooling that streamline how agents parse intent and report feedback.
Standardized prompts that force agents to declare component tokens, layout constraints, and accessibility requirements before generating any UI code.
Custom helper tools that run headless evaluations against generated components, checking focus states, contrast ratios, and token schema compliance.
Proving the system works
To test whether the factory could reason rather than copy, we enforced strict design rules: separating semantic intent from implementation answers, establishing a builder/evaluator split so validators cannot peek at answer keys, and evaluating rendered behavior alongside token intent and accessibility semantics.
Concrete component validation
By putting a tricky multi-state social component through our validation checks across nearly 500 headless test runs and ironing out focus ring and text role details, we saw match accuracy jump by over 17%.