Skip to main content
praxa init creates project-scoped client configuration and setup guidance. It does not write an access token or provider credential.

Choose targets

Preview the exact plan

Inspect:
  • the canonical project directory;
  • the exact HTTPS origin;
  • every requested target;
  • whether each file is create, update, or unchanged;
  • the next steps;
  • dryRun: true.
Delete the temporary plan after review if it contains local path details you do not want in the repository.

Apply the configuration

Review git diff immediately. Use --force only when you have inspected the existing files and intend to replace the CLI-owned portions. Do not use it to silence an unexplained conflict.

Environment auth mode

Set the token in the runtime that launches the CLI or host:
Keep .env and shell-secret files out of version control. CI should inject the token from its protected secret store.

OAuth auth mode

OAuth mode records setup guidance only. The CLI does not invent a client ID, redirect URI, token issuer, or tenant policy. Use the values supplied for your deployment and keep refresh tokens in the approved credential store for the host.

Verify the result

The secret search must show configuration variable names only, never a token value. doctor proves an authenticated read against the configured Gateway; it does not prove mutation scopes or external provider effects.

Recovery

Best practices

  • Pin the CLI version in team and CI instructions.
  • Commit non-secret project configuration so every developer gets the same Gateway origin and target behavior.
  • Keep credentials in the process or approved secret manager.
  • Use one initialized project per reviewed Gateway environment.
  • Run praxa version after dependency updates.
  • Treat generated setup guidance as code: review it and test it in each host.

Use Praxa from agent hosts

Continue with tool discovery, protocol negotiation, approval behavior, and negative host tests.
Last modified on August 14, 2026