Search
raph search looks up code, docs, and knowledge in the graph with familiar
ripgrep ergonomics — no raph-specific query syntax to learn. It emits JSON when
called by an agent or through a pipe, and text in a terminal.
raph search "database connection" # ranked keyword (bm25), defaultraph search "ResponseWriter" --literal # exact substringraph search "Open[A-Z]\w+" --regex # regular expressionraph search "config loader" --vector # semantic (needs an embedding provider)Filters
Section titled “Filters”raph search "auth" --type func --type type # only functions and typesraph search "TODO" --global # across all workspacesraph search "handler" --path ../other-repo # scope to a specific workspaceraph search "router" --limit 20Node types include func, type, file, markdown_chunk, file_chunk,
doc, and doc_chunk.
Output
Section titled “Output”Each match returns the node id, type, name, url (path#symbol), and an excerpt.
In text mode results are grouped ripgrep-style by location; in JSON mode they
come back as a structured matches array ready for an agent to consume.
The same engine is exposed to agents as the MCP search tool — see
MCP & CLI.