grepai search
grepai search
Search codebase with natural language
Synopsis
Search your codebase using natural language queries.
The search will:
- Vectorize your query using the configured embedding provider
- Calculate cosine similarity against indexed code chunks
- Return the most relevant results with file path, line numbers, and score
grepai search <query> [flags]Options
-c, --compact Output minimal JSON without content (requires --json) -h, --help help for search -j, --json Output results in JSON format (for AI agents) -n, --limit int Maximum number of results to return (default 10)SEE ALSO
- grepai - Semantic code search CLI