Design Systems and AI: creating an agent-friendly system

Modified on
6.10.2026

Artificial intelligence tools can now generate code, create components, or produce an interface in minutes. But generating faster doesn't necessarily mean generating better.

With the arrival of tools like Claude or Codex in development workflows, a good Design System must be more than just consistent: it must also be structured and documented well enough to be understood and leveraged by these tools.

Components, variables, usage, or conventions: the clearer the framework, the more consistent the generated interfaces remain with the product.

A Design System is much more than just colors and typography

A Design System is not just about defining a few colors, a typeface, and various button styles.

It brings together the rules, components, and conventions that allow for building product interfaces consistently:

  • sizes, radii, and borders;
  • colors, typography, and spacing;
  • components and variants;
  • different element states;
  • rules for use and non-use;
  • accessibility best practices.

Depending on the size of the product, a Design System can contain thousands of variables. But the number of variables is not a goal in itself. The real challenge is having an architecture that is consistent, understandable, and sufficiently precise.

Design tokens, in particular, allow you to link a graphic value to its role in the interface. A color is not just a hex code: it can correspond to a background, text, a border, an error state, or a primary action.

For developers, this framework reduces repetitive decision-making. When a new page needs to be created, there is no longer a need to redefine the appearance of a component or how a form should behave every single time.

Why make a Design System understandable by AI?

An AI can easily generate an interface. But without precise context, it largely has to guess how that interface should be built.

  • Which component should be used?
  • Which variant should be chosen?
  • Which color corresponds to a primary action?
  • What spacing should be applied?
  • What state should be used when a field is invalid or disabled?

Without explicit rules, the agent risks reinterpreting the system with every new request, producing interfaces that gradually drift away from the product's conventions.

This is what can contribute to that impression of "AI slop": interfaces produced quickly, but recognizable by their lack of context, personality, and consistency.

An agent-friendly Design System aims precisely to reduce this risk.

A method for teams and agents

The approach developed at DJM lab consists of structuring the Design System as a coherent set of rules, components, tokens, and documented decisions.

The principle can be summarized in five steps:

  1. Identify the product's needs, constraints, and objectives.
  2. Define the components, variables, and construction rules.
  3. Structure this information in formats readable by both humans and agents.
  4. Specify how the agent can inspect, propose, build, and validate.
  5. Enable it to rely on this framework whenever a new interface element needs to be created.

We no longer just ask the AI: "Generate this page for me."

We also provide it with the rules that allow it to understand how this page should be built within the specific context of the product.

‍Clearly defined sources

Making a Design System understandable by an AI is not just about giving it access to a Figma file.

Each source can have a specific role:

  • tokens describe values and their relationships;
  • Figma makes appearance, composition, and usage visible;
  • React TypeScript code describes properties and behavior;
  • Storybook documents and tests examples;
  • Code Connect can link Figma properties to those in the code;
  • Markdown (.md) files document the system's usage rules, conventions, and governance;
  • skills transform these rules into processes that the agent can follow.

These resources outside of Figma are important because they formalize what is not always visible in the interface: why a component exists, in what context to use it, which practices to avoid, and which decisions require human validation.

Moreover, they are not just for artificial intelligence. They serve as a common reference for designers, developers, and anyone involved in using or evolving the Design System.

Each component can thus be described by a contract specifying its usage, variants, states, configurable properties, and accessibility requirements.

Documentation, therefore, does not just describe a component's appearance. It also clarifies its role, behavior, limitations, and the context in which it should be used.

You already have the technical team. Give them the framework to move faster.

Let’s make your Design System a true repository for your AI agents.

Accelerate without losing control

An agent-friendly Design System does not mean that AI can freely modify components or product rules.

A serious approach includes:

  • an inspection phase before any modification;
  • explicit authorization before writing;
  • progressive validation;
  • human confirmation for major changes;
  • arbitration in the event of a conflict between Figma, tokens, and code.

The agent can thus accelerate production, documentation, and system expansion, while structural decisions remain under the team's control.

Structure before scaling

The greater the generation capacity, the more critical the quality of the provided framework becomes.

A properly structured Design System offers a dual benefit:

  • for human teams, it streamlines development and improves consistency;
  • for AI agents, it provides the necessary context to produce interfaces that are more closely aligned with the product.

A company may already have experienced developers and primarily need a more explicit design framework, a better-documented component system, and a more autonomous production process.

When well-structured, a Design System becomes a common language between teams and the tools they use.

Our success stories

At DJM Lab, we don't just build products. We build success stories.

No items found.

Let's talk
of your project

Get in touch