rai doctor
Diagnose RaiSE setup, report problems, and auto-fix common issues. Checks project structure, knowledge graph, adapters, MCP servers, and more.
rai doctor
Section titled “rai doctor”Run all diagnostic checks. By default shows only failures; use --verbose to show passing checks too.
| Flag | Short | Description |
|---|---|---|
--verbose | -v | Show all checks including passing |
--json | JSON output for CI | |
--fix | Auto-fix common issues (creates backups before modifying) | |
--online | Include online checks (MCP, adapter connectivity) | |
--category | -c | Run only this check category |
# Quick checkrai doctor
# Verbose outputrai doctor --verbose
# Auto-fix common issuesrai doctor --fix
# Include online connectivity checksrai doctor --online
# JSON for CI pipelinesrai doctor --json
# Check specific categoryrai doctor -c graphExit codes: 0 all checks pass, 1 any check fails.
rai doctor report
Section titled “rai doctor report”Generate a diagnostic report, optionally send via email.
| Flag | Short | Description |
|---|---|---|
--send | Open email client with report |
# Generate report to stdoutrai doctor report
# Open email client with reportrai doctor report --sendSee also: rai gate check