Skip to content

praxis config ​

Inspect or edit the project configuration without leaving the terminal.

Usage ​

bash
praxis config show
praxis config edit

praxis config show ​

Prints .praxis/config.json with a formatted header showing the file path, followed by the full JSON contents.

bash
praxis config show

Example output:

  Praxis Config
  ──────────────────────────────────────────
  /path/to/my-org/.praxis/config.json

{
  "sources": ["experts", "practices", "reference", "context"],
  "expertsDir": "experts",
  "practicesDir": "practices",
  "agentProfilesOutputDir": "./agent-profiles",
  "plugins": [],
  "reviewers": [
    {
      "name": "default",
      "model": "x-ai/grok-4.3",
      "apiKeyEnvVar": "OPENROUTER_API_KEY"
    }
  ]
}

Does not require an API key. Exits with code 1 if no .praxis/ directory is found.


praxis config edit ​

Opens .praxis/config.json in your preferred editor. It is human-only — it starts an interactive session, so agents and scripts should edit the file directly instead. Resolves the editor in this order:

  1. $VISUAL
  2. $EDITOR
  3. vi (fallback)
bash
praxis config edit

# Or with an explicit editor:
EDITOR=nano praxis config edit
VISUAL=code praxis config edit

The terminal is handed directly to the editor (stdio: inherit), so interactive editors like vim, nano, and code --wait all work correctly. Without a terminal (scripts, CI) it refuses with exit 2 — edit .praxis/config.json directly there — and exits 1 if the editor cannot be launched.

See also ​

Built for teams that want both humans and AI agents to operate from the same knowledge.