Your design system's next user is an agent
Design systems were written for people.
The one I'm pushing now is written for agents first.
Where I started
A year ago I worked on the classic pipeline. The design lived in Figma, tokens were exported to code, and themes and platforms came along for free. Instead of a handful of utility classes, a developer wrote one name. I was really excited about it, and it worked.
Then agents started writing the UI.
The code is the source of truth
We now ship UI through agents faster than Figma can keep up. So the truth moved into the code. The library we look at together is generated from the code, which means it shows what's actually in the app, not what we hoped is in it.
That page is where people align. The code is where agents look.
What an agent needs from it
- An answer, not a catalogue. It describes what it's building and asks which component fits, before it draws its own.
- Guidance next to the component. When to use it, when not to, and what to use instead, kept with the code so it doesn't drift.
- Right and wrong examples. When a reviewer corrects a pick, that becomes a rule for the next agent.
- No variants for looks. If only the look differs, use the component as it is.
- One home. Lean, centralised and consistent.
Consistency is one job, direction is another
A design system keeps a growing product consistent. It doesn't tell you what a new screen should feel like. I keep those two apart. The system answers "which component". A separate design pass handles direction, style and judging.
So a new page can have its own look and still give back to the system, instead of forking it.
Why I push it
Without it, every agent run invents its own version of a button. Soon the same component exists in many hand-rolled copies across the app. Cleaning those up is real work. Not making them in the first place is much cheaper.
It's still early days for this way of working. I keep bringing it up anyway, because I think it's the future of maintaining UI.
If agents build the UI, the system has to be something they can ask.
Thanks for reading!