All sessions

Session 03 · Agents

Designing With Agents

AI agents now do much of the building. They're only as good as the context they read and the guardrails they run into, and designing both has become design work.

2 min read4 sections
Contents+

The story

When we switched on a lint rule that stops components from overriding the design system's surface colours, it flagged 39 places.

None of them looked wrong on screen. Each one was a small, reasonable shortcut: a slightly different surface, a value that seemed close enough. That's exactly the kind of drift fast work produces, and agents make work very fast. Left alone for a few weeks, a design system starts to dissolve from the inside.

That was the moment the question changed. Agents could clearly help build the product. The real design problem was what they read before they start, and what stops them when they drift.

The shift

A year ago, AI in design systems was a roadmap slide: something that would one day generate components or validate screens. Today agents write a large share of the code in my prototypes and docs, every day.

The model matters less than you'd think. What decides the quality of their work is set up before they start typing, and it's built by the same people who build the design system.

01 · Context

Giving agents context

An agent that guesses at your design system will confidently invent one. So each repository carries rule files every agent reads first, a design manifest that explains the system in plain language, and a documentation feed agents can query for a component's real props and usage. Nothing about a component has to be guessed.

“Never assume. Look it up.”
Rule files, a design manifest and a documentation feed all flow into the agent, which then proposes a change.Rule filesread first, every taskDesign manifestthe system in plain wordsDocs feedreal props and usageAgentbuildsProposala small change
Figure 1 — Giving agents contextDraft diagram

02 · Roles

Specialists, not one assistant

One general assistant is easy to start with and hard to trust. We split the work into specialists with narrow jobs: a design engineer that builds, a UX reviewer that checks flows and copy, a spacing auditor, a code reviewer, and one that regenerates the Figma mirror. Each has its own instructions and limits, and none of them can edit the rules they follow.

  • Design engineer

    Builds features on the design system.

  • UX reviewer

    Checks flows, states and copy.

  • Spacing auditor

    Flags anything off the spacing scale.

  • Code reviewer

    Reviews every change before a person does.

  • Figma mirror

    Regenerates design frames from code.

  • None of them can edit the rules they follow.
Figure 2 — Specialists, not one assistantDraft diagram

03 · Quality

Guardrails before review

Agents are fast, so their mistakes arrive fast too. The answer is to catch them before a person looks: lint rules that reject hard-coded colours and anything outside the token set, accessibility lint, required Empty, Loading, Dense and Error states on content views, size-capped changes, and end-to-end tests in CI. By the time a human reviews, the boring failures are gone.

An agent’s change runs through four automatic gates (token lint, accessibility lint, required states and tests in CI) before a person reviews it. A hard-coded colour is caught at the first gate and fixed.Changefrom an agentToken lint✓A11y lint✓Required states✓Tests in CI✓Personreviews✕ hard-coded colour · fixed
Figure 3 — Guardrails before reviewDraft diagram

04 · Roadmap

What's next, honestly

Some of what this session used to promise doesn't run yet, and it's better to say so. There's no automated contrast check in the pipeline today, and no live usage data feeding design decisions. Both are next. Claiming them early would undo the trust the rest of the system is built on.

  • Token-only colour lint✓ Running
  • Accessibility lint✓ Running
  • Required Empty, Loading, Dense and Error states✓ Running
  • End-to-end tests in CI✓ Running
  • Reviewer agent on every change✓ Running
  • Automated contrast checkNext
  • Usage data feeding design decisionsNext
Figure 4 — What's next, honestlyStatus

Then & now

What changed

  1. ThenAI is a future layer on the roadmap.

    NowAgents build alongside us every day.

  2. ThenContext is pasted into a chat, if at all.

    NowRule files, a design manifest and docs agents can query.

  3. ThenQuality depends on whoever reviews last.

    NowLint, tests and a reviewer agent run on every change.

  4. Then“AI will validate designs automatically.”

    NowClaim only the checks that actually run.

In practice

  1. 01

    Write the rules file first. Before an agent builds anything, give it a short file of the rules it must follow and where to look things up.

  2. 02

    Split the work. Narrow agents with clear limits are easier to trust than one assistant that does everything.

  3. 03

    Automate the boring failures. Lint and tests should reject what a reviewer would reject, so people review judgment, not typos.

© 2026 Joshua Piller. All rights reserved.