> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tai42.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# tai doctor

> Run read-only health diagnostics against the environment.

Run read-only health diagnostics against the environment.

Probes Python version, config mode, Postgres and Redis connectivity, and
whether the schema is applied. Purely read-only. Credentials are redacted:
connection-URL passwords are masked and no DSN is echoed. Exits non-zero when
any dependency check fails.

```console theme={null}
$ tai doctor [OPTIONS]
```

| Option                 | Description                            |
| ---------------------- | -------------------------------------- |
| `--json` / `--no-json` | Emit raw JSON instead of human tables. |
