Getting started
raph is a single Go binary. It stores everything locally under ~/.raph — no
server, no account, no network required for the core graph.
Install
Section titled “Install”# macOS / Linuxcurl -fsSL https://raw.githubusercontent.com/tesh254/raph/main/install.sh | shOr build from source:
git clone https://github.com/tesh254/raphcd raphgo build -o raph ./cmd/raphIndex a codebase
Section titled “Index a codebase”raph init --path .This scans the workspace, builds the graph, and arms a background watcher that keeps the graph current as you edit.
Optional: enable semantic search
Section titled “Optional: enable semantic search”Keyword, literal, and regex search work fully offline. To also enable vector (semantic) search, configure an embedding provider:
raph config init# then set OPENROUTER_API_KEY in your environmentConnect an agent
Section titled “Connect an agent”Install the project MCP config for supported agents:
raph agents mcp setup --path .This writes the right config for OpenCode, Claude Code, Codex, Cursor, and Pi. See MCP & CLI for details, or Plugins to install raph as a packaged plugin.
Try it
Section titled “Try it”raph search "database connection" --limit 5raph mem set "We use modernc sqlite (no cgo)" --type decision --title "sqlite driver"raph rules add "Run go test before commit" --scope project