grepai (root)
CLI reference for grepai
grepai
Semantic code search CLI
Synopsis
grepai is a privacy-first semantic code search tool.
Unlike grep (exact text matching), grepai indexes the meaning of your code using vector embeddings, enabling natural language searches.
It runs as a background daemon, maintaining a real-time “mental map” of your project to serve as reliable context for developers and AI agents.
Options
-h, --help help for grepai
SEE ALSO
- grepai agent-setup - Configure AI agents to use grepai
- grepai completion - Generate shell completion scripts
- grepai init - Initialize grepai in the current directory
- grepai mcp-serve - Start grepai as an MCP server
- grepai refs - Trace property/data readers and writers
- grepai search - Search codebase with natural language
- grepai stats - Show token savings achieved by using grepai
- grepai status - Display index status and browse indexed files
- grepai trace - Trace symbol callers and callees
- grepai update - Update grepai to the latest version
- grepai version - Print version information
- grepai watch - Start the real-time file watcher daemon
- grepai workspace - Manage multi-project workspaces