@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
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
0.3.0 fields:
3. Inspect before writing project files
--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:
--base-urlPRAXA_BASE_URLor legacyAURA_BASE_URL.praxa/config.jsonin the current project
PRAXA_ACCESS_TOKEN or legacy
AURA_ACCESS_TOKEN. The CLI does not persist the token.
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
- Run
praxa versionin a clean directory. - Run
praxa init --dry-run --jsonand assert it writes nothing. - Run
praxa doctorwith no token and require a nonzero exit. - Run
praxa doctorwith a short-lived read token and inspect the JSON. - Revoke the token and require the diagnostic to fail.
- 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.