Skip to content

Agent Lexicon CLI reference

TaskCommand
Initialize a repositoryalex init
Discover candidate termsalex scan
Open the local review UIalex review
Publish accepted decisionsalex publish
Generate an agent vocabulary briefalex context lexicon/lexicon.yaml
Resolve terminology in textalex resolve <lexicon> “text”
Gate a tool callalex guard <lexicon> “text” —tool <name>
Lint a working diffalex lint-diff —stdin
Check terminology between refsalex check-merge —base main —head HEAD
Validate and lint a lexiconalex validate lexicon/lexicon.yaml —lint
Serve MCP toolsalex mcp serve —root . —lexicon lexicon/lexicon.yaml
Export review provenancealex workspace export-decision-log —root .

For exhaustive flags and release-specific behavior, use the installed CLI help:

Terminal window
alex --help
alex <command> --help

The repository remains the canonical source for exhaustive API details: