Install
In your terminal, run:~/.empirical/bin to your shell PATH. In case you skipped it, run:
Agent skill
The Empirical skill teaches compatible local coding agents how to use theempirical command.
By default, the CLI installation flow configures the skill. To install it manually, run :
Commands reference
- User auth
empirical loginauthorizes the CLI with Empirical.empirical logoutclears local CLI authorization.empirical whoamiprints the current authenticated account.
- Version and upgrade
empirical versionprints the installed CLI version.empirical upgradeupgrades to the latest published CLI version.
- Agent skill
empirical skill installinstalls the EmpiricalSKILL.mdfor local coding agents.
- Sessions
empirical session "<prompt>"creates a session and sends a prompt.empirical session --id <id> "<prompt>"sends a prompt to an existing session.empirical session -x "<prompt>"creates a session, waits for the agent response, and prints only the final assistant text.empirical session -x --id <id> "<prompt>"sends to an existing session, waits for the agent response, and prints only the final assistant text.echo "<prompt>" | empirical session --execute --id <id>reads the prompt from stdin.empirical session listlists recent sessions.- Add
--project <slug>only when you need to choose a specific project.
- API
empirical api <endpoint>calls any Empirical API endpoint using your CLI login token.empirical api api/endpointslists the endpoints available to your authentication method.