empirical CLI lets you, or the coding agents on your machine, work with Empirical from the
terminal: start agent sessions, clone the test repository, call the API and read the KV store.
Install
Run the installer:~/.empirical/bin to your shell PATH. If a new terminal can’t find empirical,
add it to your shell profile:
empirical version, and upgrade with empirical upgrade.
Sign in
Sign in with your Empirical account. The CLI opens a browser to authorize:empirical login --no-browser and paste
the code shown after you authorize.
To check that it worked, list the projects you can access:
--project <slug> to commands that act on a project.
Set up the agent skill
The Empirical skill teaches coding agents such as Claude Code and Codex how to use theempirical
command. The installer offers to set it up. To install it yourself, pass exactly one of --global or
--project:
--global installs into your global agent directories (~/.claude and ~/.agents). --project
installs into the current project at .agents/skills.
The CLI manages SKILL.md and overwrites it on every install and upgrade. To customize the skill for
your project, add a CUSTOM.md file in the same directory. The skill tells agents to read it, and the
CLI never changes it.
Common tasks
Run
empirical --help to list every command, and empirical <command> --help for its arguments, options and examples.
Telemetry
The CLI sends usage telemetry to help improve the product. To opt out, set theDO_NOT_TRACK environment variable.