Vercel publishes CLI design guidelines for humans and AI agents

JohnPhamous · x · 2026-11-06

Vercel released its CLI Design Guidelines, a manual for building CLIs that people can learn, programs can compose, and agents can operate with confidence. Every command must answer four questions: what it acts on, what will change, what happened (including exit codes), and what's next.

Seven principles include capability-first design (same meaning across CLI/API/SDK/MCP/dashboard), one concept one name, resolve targets before acting (never guess), and keeping interaction, consent, and format independent — prompts need a TTY, --yes grants consent but no data, --json selects format but no consent, and piping changes none of them. Highly relevant now that agents invoke CLIs at scale.

Original post →

More from coding & agent

coding & agent channel →