Design tokens are named design values — colors, spacing, type sizes, radii — stored as data rather than hard-coded in each component. AI coding agents like Cursor, Claude Code, and GitHub Copilot produce inconsistent UI without them because every prompt starts from scratch. Store your tokens in a DESIGN.md file or a Tailwind config and reference it from your editor rules file; agents that have read your tokens generate on-brand components without you correcting every output by hand.
AI editors generate UI that looks competent but uses the wrong blue, the wrong spacing, and type sizes that do not match your scale. Design tokens fix that — here are the four formats agents understand and how to wire each one into your editor.