Back to Blog
July 22, 20266 min

DS Bridge: when a design system becomes readable by an AI

ProductUX & DesignInnovation
DS Bridge: when a design system becomes readable by an AI

The problem

For the past year I have worked with AI agents every day. And every day I hit the same wall: the AI does not know my design system. I can paste tokens into a prompt, describe my components, explain that no, the secondary button does not have that radius. It understands, in the moment. Then the session closes and everything has to be redone.

The problem is not the model. It is structural: the design system lives in Figma, and AI agents have no access to it. Between the two, there is me, copying, rephrasing and losing context at every iteration. I ended up thinking that this translation work was not my job, but the job of a piece of software.

DS Bridge was born from that. It is a native Mac and iPhone app that bridges the two worlds, using MCP, the protocol that lets an agent connect to external sources. The goal is not to generate screens for me. It is more modest and more useful: make the AI speak my language before I even ask it anything.

A design system is not a library of objects. It is a grammar. As long as an AI does not have the grammar, it writes in another language.

How it works

Everything starts on the Mac. A Figma design system is ingested there: tokens, components, styles, structure. DS Bridge turns it into a clean, queryable context that an agent can read via MCP instead of guessing.

Then the phone takes over, and this is where the project becomes interesting day to day. A screen idea rarely arrives in front of Figma. It arrives in the subway, in a meeting, in front of a competitor's interface. From the iPhone, I photograph or describe, and the app produces a structured brief, already written in the vocabulary of my design system, ready to be dropped into Figma.

Generate · works end to end

From a photo or a description, the app produces a structured brief that respects the tokens and components of the ingested system. The result is not a magic screen, it is a clean, coherent base to start from.

Audit · in progress

The reverse path: submit an existing screen and check what deviates from the system. Hardcoded values, misused components, spacing drift. The trickiest part, and the one I am working on.

The architecture, in clear

DS Bridge architecture
Dashed blocks are the pieces still in progress. Direct writing into Figma via the plugin is the last piece of the puzzle.

Going native was not cosmetic. A cross-platform SwiftUI app gives me the same code on Mac and iPhone, access to the camera, and most importantly the Keychain to store API keys locally without ever letting them transit elsewhere. Sync goes through a lightweight backend, so the design system ingested on the Mac is available on the phone.

  • App · SwiftUI, one code base for Mac and iPhone
  • Sync · Supabase, to find the same design system across devices
  • Security · API keys in the Keychain, never in a config file
  • AI link · MCP server, exposing the design system as a queryable source
  • Figma return · plugin bridge, to drop the brief straight into the file

What I learned building it

A design system resists translation. What looks clean in Figma often turns out to be implicit: conventions the team knows without having written them, tolerated exceptions, components whose name does not tell their use. Making a system machine-readable is first discovering everything it does not say. I already lived this on an optical measurement product, where two visually identical 3D models hid two opposite levels of precision. The problem was not technical, it was naming.

AI does not need creativity, it needs context. The difference between an unusable proposal and a solid working base almost never comes from the prompt. It comes from what the model knows about the system it is working in.

Mobile changes the nature of the tool. As long as it was a Mac app, it was one more utility. The day I could photograph a screen in a meeting and get back a structured brief, the tool entered my real day, the one where ideas arrive far from the desk.

Where I am

The Generate flow works end to end. Audit and direct writing into Figma are in the works. I am building this project the way I have built everything for ten years: lay the foundations, check they hold, then widen. And I do it with AI as a coding partner, which lets me, as a designer, reach the product that actually runs instead of stopping at the mockup.

If you work on design systems or on MCP, these topics interest me a lot and I love to talk about them. The project moves forward in public, with its unfinished parts owned.