CLI

One operator. Many governed runs.

The Phaedrus CLI is the operator surface for the control plane — preflight a repo, route work through policy, and enforce gates, all from your terminal.

Install
# private beta package access required npm i -g @phaedrus/cli

CLI distribution is private beta. Public npm install should only be treated as live after package access is granted or the public package is published.

01

Preflight the repo

Check whether the workspace is ready for autonomous work before spending agent time or risking unsafe execution.

Terminal
# preflight the repo
phaedrus preflight --repo .
02

Run through policy

Send work to the right agent, model, tool context, and autonomy level through a repeatable runtime contract.

Terminal
# run through policy
phaedrus run GH-2841 --policy bounded --json
03

Enforce the gates

Block, fix, or allow work forward based on tests, review evidence, policy checks, and human approval rules.

Terminal
# enforce the gates
phaedrus enforce --gate preflight