Your Design System IS the Prompt: What Decagon Got Right
Decagon built a Figma design system that feeds directly into their AI coding agents — and it changed how fast (and how faithfully) design becomes product. Here's what that workflow actually looks like, and why it matters for any designer starting to build with AI.
Decagon — a fast-growing AI customer-service platform — built a Figma component library that their coding agents read from directly, collapsing the back-and-forth between design and code into a single continuous loop. The lesson isn't really about Decagon. It's about what happens when your design system becomes the source of truth for AI, not just for humans.
The problem no one warns you about when you start vibe-coding
When you're a designer using an AI coding tool for the first time, the magic feels immediate. You describe something, the agent builds it, you ship. But that magic degrades fast if what you're feeding the agent is inconsistent. Coding agents — unlike a seasoned developer — don't fill in the gaps from experience. They work only with what they're given. Vague or inconsistent inputs produce vague, inconsistent output.
Decagon ran into this head-on. When product designer Jennifer Xu joined, there was no design system — just a growing product and a team moving quickly enough to feel the cost of that absence. Inconsistency crept into the UI, debates about styles slowed down engineering, and every handoff was a round of interpretation rather than execution.
The fix wasn't a better prompt. It was a better foundation.
What "design system saturation" actually means
Decagon built a design system called Deco — a Figma org-wide library with hundreds of components, styles, and variables covering the vast majority of use cases across the platform. According to Figma's library analytics, it logged tens of thousands of inserts in a single 30-day window. That's not a vanity metric; it means the team is actually using it, consistently, across multiple teams.
"With a built-out library, we aren't debating styles or implementation," says Jennifer. "Engineers have a clear view of which button or table should be used."
"Saturation" is the key word here. The goal isn't just to have a design system — it's to have one thorough enough that almost any new screen can be assembled from existing pieces rather than invented from scratch. That changes the economics of building. Designers stop re-litigating foundational decisions. Developers stop guessing. And crucially for AI-assisted workflows: agents stop improvising.
How the Figma MCP server closes the loop
This is where it gets genuinely interesting for designers who are building with AI tools.
Decagon's engineering team connected Deco to Storybook (a tool developers use to catalog UI components in code), then built what they call "skills" for their coding agents — instructions that tell the agent to pull exact components from that library when implementing a design. They also enabled the Figma MCP server, which lets coding agents read directly from a Figma file.
MCP (Model Context Protocol) is just a standard way for AI tools to pull in outside information — think of it as giving your coding agent a live window into your Figma canvas, rather than a static export. The agent can see specs, component names, and structure in real time.
The practical result: Jennifer can copy a Figma frame link, paste it into their coding agent, and the agent doesn't just read the layout — it maps what it sees to the actual Deco components in code. "It can create things that are really high-fidelity and close to our design without having to do a lot of nit iterations," she says.
That's a meaningful shift. Instead of the agent guessing at spacing, colour values, or which button variant to use, it pulls the right answer directly from the system you already built.
What this looks like if you're just getting started
You don't need hundreds of components to get value from this approach. The principle scales down:
-
Establish your primitives first. Colours, type styles, spacing tokens, and two or three core components (button, input, card) give an AI agent enough to work with consistently. Build these in Figma before you start generating code.
-
Name things the way your agent will hear them. Component names, layer names, and variable names aren't just for you — they're the vocabulary your AI tool reads. Descriptive, consistent naming ("Button/Primary/Default" rather than "btn 2 copy") makes a real difference in what gets generated.
-
Use Figma's library analytics. If Figma tells you a component is barely being inserted, that's a signal it's not trustworthy enough to use — fix it before your agent inherits the confusion.
-
Look into Figma MCP if your coding tool supports it. It's still an emerging setup, but the Decagon case shows what becomes possible: a designer pastes a link, and the agent builds from the actual design system rather than approximating it.
Decagon also uses Figma Make — Figma's own tool for turning designs into working prototypes and code — to build multiple versions of a feature quickly and show them to real customers before committing. Roughly 70% of their roadmap comes directly from customer feedback, and being able to show ten working prototypes to ten different customers changed how they gather that input.
The grounded takeaway
The Decagon story is a useful corrective to a common assumption: that AI coding tools make design systems less necessary because the machine will just figure it out. The opposite seems to be true. When agents are in the loop, the quality of your design system determines the quality of your output more directly than ever. There's no human developer to catch an inconsistency and quietly fix it.
What Decagon built took real investment — designers and engineers working together from the start, thinking through edge cases, disabled states, error states, focus modes. That's not glamorous work. But it's what made the AI-assisted speed possible downstream.
If you're a designer starting to build with AI tools, the most leveraged thing you can do might not be learning a new prompt trick. It might be spending an afternoon making your Figma components clean, consistent, and well-named. Your agent will thank you — silently, by actually building what you meant.