Skip to main content
The 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:
The installer adds ~/.empirical/bin to your shell PATH. If a new terminal can’t find empirical, add it to your shell profile:
Check the installed version with empirical version, and upgrade with empirical upgrade.

Sign in

Sign in with your Empirical account. The CLI opens a browser to authorize:
On a machine without a browser, such as an SSH session, run empirical login --no-browser and paste the code shown after you authorize. To check that it worked, list the projects you can access:
If you can access more than one project, add --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 the empirical 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 the DO_NOT_TRACK environment variable.