Skip to main content
The Praxa CLI is a thin terminal adapter over @praxa/sdk. Use it to configure an agent project, inspect the package contract, diagnose an Integration Gateway, manage missions, and plan read-only memory federation.

1. Choose an installation

Use the explicit praxa executable in one-off commands. The package also ships the legacy aura compatibility bin, so npx @praxa/cli cannot reliably choose a binary.

2. Verify the installed contract

Expected 0.3.0 fields:
The Aura-compatible contract value is intentional. Do not rewrite it in CI or Gateway proxies.

3. Inspect before writing project files

Review every planned file and next step. Remove --dry-run only after the paths and auth mode match your project.

4. Configure Gateway commands

doctor and mission commands need a deployment-specific Integration Gateway and delegated OAuth token:
The URL resolves in this order:
  1. --base-url
  2. PRAXA_BASE_URL or legacy AURA_BASE_URL
  3. .praxa/config.json in the current project
The token is read from PRAXA_ACCESS_TOKEN or legacy AURA_ACCESS_TOKEN. The CLI does not persist the token.
Do not put an Execution Fabric API key, provider key, or webhook secret in PRAXA_ACCESS_TOKEN. Gateway OAuth and api.praxa.io/v1 API keys are separate credential planes.

5. Read the exit and output contract

A nonzero exit means the command did not complete its advertised operation. Parse stdout only after checking the exit code. Capture stderr separately and redact it before attaching it to CI artifacts.

First acceptance test

  1. Run praxa version in a clean directory.
  2. Run praxa init --dry-run --json and assert it writes nothing.
  3. Run praxa doctor with no token and require a nonzero exit.
  4. Run praxa doctor with a short-lived read token and inspect the JSON.
  5. Revoke the token and require the diagnostic to fail.
  6. Search project files and CI logs for the token; require zero matches.

Project setup

Configure Codex, Claude Code, Cursor, VS Code, or environment-only clients without writing credentials.

CLI troubleshooting

Resolve installation, origin, token, scope, output, and replay failures.
Last modified on August 14, 2026