Inspector
@db0-ai/inspector is a web UI for browsing and debugging agent memories, state, and logs.
Install and run
npm i @db0-ai/inspector
npx db0-inspect --storage ./agent.db
Opens at http://127.0.0.1:6460.
Views
Memories
Browse all memories with filtering by scope, status, source type, and extraction method. Includes semantic search. Click any memory to see its version history, relationship edges, and full metadata.
Dashboard
Charts showing memory distribution by scope, extraction method, source type, and confidence level. Useful for understanding your agent's memory composition at a glance.
Health
Integrity report that flags:
- Contradictions between active memories
- Missing summaries
- Orphaned relationship edges
- Missing provenance metadata
Useful for debugging memory quality and catching issues before they affect agent behavior.
Options
| Flag | Default | Description |
|---|---|---|
--storage <path> |
auto-detect | Storage path or PostgreSQL URL |
--port <n> |
6460 |
Server port |
--host <addr> |
127.0.0.1 |
Bind address |
--token <str> |
(none) | Auth token for access control |
--profile <name> |
generic |
Runtime profile (generic, openclaw, claude-code) |
Auto-detection
Without --storage, the inspector checks these locations:
~/.openclaw/db0.sqlite~/.claude/db0.sqliteDB0_STORAGEenvironment variable
Export
Click "Export all" in the Memories view to download all memories as JSON for backup or analysis.