Praxis CLI
Run Praxis from your terminal or CI, and how its two binaries, praxis and raptor, split the work.
The Praxis CLI brings Praxis's skills and tools to the AI tool you already use, such as Claude Code. It logs you in through your browser, installs Facets skills into your AI tools, and gives them Praxis's tools for your cloud accounts, clusters, and duties. Scripts and CI jobs can call the same tools.
It is the right choice when you would rather stay in your shell, wire Praxis into an editor or another AI tool, or run the same operations without a browser.
Through the Praxis CLI, your own AI tool is the agent. Facets work runs through raptor on your machine, with your Facets access token. Cloud and Kubernetes commands run on Facets' side, through the Praxis MCP gateway, the server endpoint that exposes Praxis's tools, and their credentials stay there.
MCP (Model Context Protocol) is a standard way to make a set of tools available to an agent. For how the gateway isolates each organization and audits every call, see How Praxis works.
Install and log in
The Praxis CLI is two binaries: praxis, the terminal client, and raptor, which runs the Facets commands shown throughout these docs. Install both and log in once: a single browser login covers both binaries, and you use an API key for unattended automation (see Running Praxis from CI or cron below).
For the install commands, browser and token login, running against more than one control plane, and upgrading, see Install Praxis CLI, the single source of truth for setup.
Talking to Praxis from the terminal
Once you are logged in, you ask your AI tool for what you want, the way you would ask Praxis in chat. Your AI tool plans the work and runs it: raptor commands on your machine, and cloud and Kubernetes commands on Facets' side.
Login installs Praxis's skills into your AI tools, the same on-demand procedures the web app uses, so your AI tool follows them too. That covers work from investigating infrastructure to running module and blueprint work, without leaving your shell.
The confirmed entry point for scripting is the praxis mcp command, which lists the tools Praxis exposes through the gateway and calls them by name. This is how scripts and other AI tools reach the same capabilities available in the web app.
The Praxis CLI ships its own complete, current command reference. Check the CLI's built-in help for the full list of commands. This page covers what the CLI is and how it connects, not an exhaustive command catalog.
Running Praxis from CI or cron
Interactive login needs a browser, which a pipeline does not have. For CI, cron, and other unattended jobs, authenticate with a Praxis API key instead.
Create an API key in your Praxis settings. Keys are prefixed sk_live_ or sk_test_, and the full value appears only once at creation, so copy it into your CI secret store right away. Your automation then sends the key as a bearer token, and every call runs through the same gateway as an interactive session.
Tip: You can also call the Praxis MCP gateway directly, without the CLI. See the API Reference for details.
For how API keys map to permissions and how Praxis protects credentials, see How Praxis works.
The two binaries
praxis signs you in, installs skills into your AI tools, and calls Praxis's tools through the MCP gateway. raptor runs Facets infrastructure operations: reading projects and releases, applying resources, streaming release logs, and the like.
You, or your AI tool, run raptor on your machine for the commands these docs show. When you ask Praxis in the web app to do the same work, Praxis runs raptor for you on its servers, as the Facets account it acts as: your own access, by default.
After praxis login, both binaries use the same Facets access token, saved where raptor reads it, so raptor needs no second login. A Praxis API key, used for CI, signs in praxis only. Raptor needs its own Facets access token.
| Aspect | praxis | raptor |
|---|---|---|
| What it does | Signs you in, installs skills, and calls Praxis's tools | Runs Facets infrastructure operations |
| Who runs it | You, or your AI tool | You, your AI tool, or Praxis on its servers |
| Credential | Your Facets access token, or a Praxis API key | Facets access token |
| Acts on | Praxis's tools, over the MCP gateway | Facets infrastructure directly |
For raptor's own commands, see the Facets CLI reference.
Related
- How Praxis works - Where Praxis runs, the MCP gateway, and how it stays safe
- Build your own agent - Create custom agents you can also reach from the CLI
- Facets CLI reference - raptor's own command surface
Artifacts
The reports, status pages, and write-ups your Praxis agents produce, saved as versioned files you can browse, open, and share.
Catalog and Infrastructure Graph
A versioned map of one Facets project's code and infrastructure, published from CI, that Praxis, your AI tools, and your pipelines can query.