Installation
System Requirements
Section titled “System Requirements”| Requirement | Minimum |
|---|---|
| Node.js | 24+ (uses node:sqlite) |
| npm | 9+ |
| OS | macOS, Linux, Windows (WSL recommended) |
| Disk | ~50 MB for Omnodex + space for event logs |
Install from Source
Section titled “Install from Source”git clone https://github.com/omnodex/omnodex.gitcd omnodexnpm installnpx tsc -bThis builds all packages in the monorepo. The CLI is then available at packages/cli/dist/index.js or via npx omnodex.
Configure OMNODEX_HOME
Section titled “Configure OMNODEX_HOME”By default, Omnodex stores event logs and configuration in ~/.omnodex. You can override this with the OMNODEX_HOME environment variable:
export OMNODEX_HOME=/path/to/your/omnodex/dataThis directory will contain:
events.jsonl- The append-only event log (source of truth)omnodex.db- SQLite read model (derived, can be rebuilt from the event log)config.json- Local configuration
Install the Hook
Section titled “Install the Hook”npx omnodex install claude-codeThis registers a Claude Code hook that fires on every tool invocation. The hook runs asynchronously and does not affect Claude’s execution speed or token usage.
To verify the hook is installed:
npx omnodex statusnpx omnodex install codexThis creates a .codex/hooks.json file that integrates with OpenAI Codex’s hook system. Currently captures bash commands and session lifecycle events.
npx omnodex install antigravity --hooks --mcpThis creates .agents/hooks.json for hook-based tracing and .agents/mcp_config.json for the MCP proxy. Use --hooks or --mcp individually to install only one. Works across all Antigravity surfaces (CLI, Desktop App, IDE extensions).
See the Antigravity setup guide for platform-specific details.
Multi-Root Dashboard
Section titled “Multi-Root Dashboard”If you use multiple AI tools that write to different OMNODEX_HOME directories (for example, Antigravity Desktop on Windows alongside Claude Code in WSL), you can aggregate all event logs into a single dashboard:
{ "dashboard": { "roots": [ "/home/user/.omnodex", "/mnt/c/Users/user/.omnodex" ] }}The dashboard will merge sessions from all roots, tagging each with its source.
Uninstall
Section titled “Uninstall”To remove the hook without deleting your data:
npx omnodex uninstallTo remove everything including event logs:
npx omnodex uninstall --purgeNext Steps
Section titled “Next Steps”- Claude Code Setup - Detailed guide for the Claude Code integration
- OpenAI Codex Setup - Detailed guide for the Codex integration (beta)
- Google Antigravity Setup - CLI, Desktop App, and IDE setup
- Cowork Desktop Setup - Plugin installation and proxy configuration for Cowork
- Configuration Reference - All configuration options