[ open source · MIT-licensed CLI & MCP ]
The design-system verification layer
for coding agents.
Maddox checks AI-generated and human code against your design tokens in about 60ms, catching off-system colors, spacing, typography, motion, and missing states before changes merge.
Local checks · 0 network calls
npx -y maddox-engine initAI code moves at 100x speed. Design systems shouldn't break at 100x speed.
Every time a coding model guesses a hex color or invents a 19px padding, your UI fractures. Maddox runs quietly beside your agent and CI to keep every component locked to your tokens.
The Maddox Platform
One verification engine across editor, agent, and CI.
#e05244→--color-status-unrecognized
p-[19px] → p-5 (20px)
✓ Auto-fixed 2 violations · 100% pass (58ms)
Catch off-system edits before they leave the editor
- • One command (
npx -y maddox-engine init) wires hooks, MCP, and tokens. - • Checks colors, font sizes, spacing, motion, and states in ~60ms locally.
- • Reads Tailwind @theme, CSS vars, Tokens Studio, and Figma Variables.
PostToolUse hooks check every saved file in about 60ms locally with zero network calls, flagging arbitrary hex values, off-grid spacing, type drift, motion, and missing states.
See hook docs→ Edit saved: src/components/CheckoutButton.tsx
Found #e05244 → use var(--color-status-unrecognized)
Found p-[19px] → use p-5 (20px)
✓ Agent auto-corrected 2 violations · re-verified 100% pass (58ms)
[ how it works ]
Three layers. Zero drift.
Maddox sits between your design tokens, your coding agent, and your pull requests so off-system values are caught at every step.
Interactive Specimen Bench
Watch Maddox inspect drift and snap code back to system.
Toggle between drifted AI output and enforced token values across real UI components. Every delta shown below uses the exact same matching rules as the local CLI.
Deterministic token invariants, enforced before merge.
[ architecture ]
Local by design. Built for speed.
Engineered for teams shipping fast with coding agents who want deterministic token enforcement without cloud latency or source-code upload.
~60ms
Per-edit check
Claude Code hook with a local install: median 61ms, p95 64ms on an Apple M1 Pro
100%
Local execution
Runs in your terminal and your own CI
0 calls
Network use when checking
check, the hooks and the MCP server never upload your code or tokens
5 checks
Token categories
Colors, font sizes, spacing, motion & states
Get Started
Wire hooks, MCP, and config with one command.
Verify your first page or component in under 60 seconds. No account, API keys, or credit card required.
npx -y maddox-engine init