A coding agent that designs like your team.

Coding agents already write UI. A design harness is what makes one design like your team: the context, rules and checks around it. Modeinspect is that harness, already built, with a coding agent inside that ends every change in a pull request.

Your real components and tokens

Modeinspect finds your team's components after setup. Agents place them, and you can drag them onto the canvas and edit their props. The design panel offers values from your own design tokens instead of raw numbers. Tokens are offered, not enforced: a value that matches no token stays a one-off, in plain sight in the diff.

The components panel listing the team's own Accordion, Alert, AlertDialog, Attachment and Avatar components with live previews

Your design guidelines and memory

Edit your codebase's design guidelines in Modeinspect, and agents follow them along with your design tokens. Agents also save short rules as they work, and your team can view and edit every one.

The design guidelines editor with rules for colors and components next to the codebase's theme tokens

Your repo's rules files

The coding agent reads and follows your repo's CLAUDE.md, AGENTS.md and Claude, Cursor and agent rule files. The conventions your engineers wrote for their own coding agents hold for design work too.

An illustration of code brackets

A pull request your engineers review

Each agent change is type-checked, and errors go back to the agent to fix. One click creates a branch, commits the changes and opens a pull request with a written title and description. Engineers review and merge it like any other change. Modeinspect works on web apps built with React, Next.js, Vue, Nuxt, Angular, Svelte, SvelteKit, Astro and other JavaScript frameworks, styled with Tailwind, plain CSS, CSS Modules, Sass or CSS-in-JS.

Opening a pull request from the canvas

Read the design harness guide: the seven parts, and the order to build them

What a design harness is, where the idea comes from, and the seven parts that make a coding agent design like your team, from components to review.

A design harness is the context, rules, skills and checks around a coding agent that make it design like your team. Components, tokens, rules files, skills and memory steer the agent before it acts. Checks and review catch what it got wrong.

Read this section in the guide ↗

Anthropic, OpenAI, Martin Fowler's site and LangChain describe the agent harness as everything around the model. A design harness applies the same idea to whether the UI looks and behaves like the team's product.

Read this section in the guide ↗

The agent builds with what is in the repo. Cut duplicate components first, give each one a name that says what it is and typed props, because every other part of the harness points at them.

Read this section in the guide ↗

Tokens can make the wrong value impossible instead of discouraged. Remove the default palette, layer semantic tokens over the scale and keep dark mode in the tokens.

Read this section in the guide ↗

Write the design rules once in a short AGENTS.md, an index of components plus the few rules the code cannot say, and point CLAUDE.md and Cursor rules at it. A rules file is a request, not a guarantee.

Read this section in the guide ↗

Public design skills fix taste but cannot know your components. The skill only your team can write is the procedure for building a page from your own system, with a template to copy.

Read this section in the guide ↗

Every session starts from a fresh context, so corrections need to be written down where the team can read and edit them. A saved rule that keeps coming up moves into AGENTS.md, then into a check.

Read this section in the guide ↗

Lint, type checks and screenshot tests turn requests into pass or fail. Write the error messages for the agent, naming the token or component to use, and run the checks after every edit and on every pull request.

Read this section in the guide ↗

Hierarchy, copy and intent stay with a person, because agents grade their own UI too kindly. Put the rendered result in the pull request and turn every repeated review comment into a rule or a check.

Read this section in the guide ↗

Seven steps in order: cut the component list, lock the theme, write a short AGENTS.md, add two lint rules, add screenshot checks, write one skill, and tag review comments for a month.

Read this section in the guide ↗

Questions

Modeinspect's coding agent reads and follows your repo's CLAUDE.md, AGENTS.md and Claude, Cursor and agent rule files. You edit your codebase's design guidelines in Modeinspect, and agents follow them along with your design tokens. Agents also save short rules as they work, and your team can view and edit every one.
A design harness is the context, rules, skills and checks around a coding agent that make it design like your team. It includes the components and tokens the agent builds with, the rules files and skills it reads, its memory of past corrections, the checks on its output and the review at the end.
An agent harness, also called an AI harness, is everything around a model that turns it into a working agent: its tools, prompts, context and loops. A design harness is the part of it that governs UI. It decides which components and tokens the agent uses and what fails when the result drifts from the team's design.
A design system is the tokens, components and guidelines a team builds its interface from. A design harness includes the design system and adds what makes an agent use it: rules files, skills, memory, checks and review.
No. An agent working in the repo reads the components, the theme and the rules files directly. MCP servers help agents that work outside the repo look up what exists. Code an MCP returns is one more copy, so the import should still come from the repo.
Any agent that reads files in the repo. Codex reads AGENTS.md, Claude Code reads CLAUDE.md or AGENTS.md, and Cursor reads its rules folder. Lint, type checks and screenshot tests run the same whichever agent wrote the change.