The design system contract for teams and agents.

Scan your design sources. Resolve conflicts. Serve one source of truth via MCP.

GitHub
Figmavariables
Storybookcomponents
{ }
Codebasetokens / CSS
// primitiv.contract.json
{}
CursorIDE agent
Claude CodeCLI agent
Any MCP clientyour toolchain

One contract. Every agent.

How it works

1. init

Auto-detects your stack.

2. build

Scans sources. Resolves conflicts.

3. serve

Agents call get_design_context. Done.

The agentic SDLC

Intent
Spec
Design truthprimitiv
Build
Verifyprimitiv
Evaluate

Source of truth going in. Verification reference coming out.

Get started

bun add @ai-by-design/primitiv

Read the docs on GitHub.