Skip to content

vecgrepLocal-first semantic code search

Index codebases, search with natural language, and keep vectors on your machine by default.

vecgrep mark

What vecgrep Does

vecgrep indexes a source tree into code chunks, embeds those chunks, and stores them in VecLite. You can search with natural language, exact keywords, or a hybrid of both.

The default setup is local-first:

  • vecgrep init registers projects in ~/.vecgrep/config.yaml.
  • Vector data is stored under ~/.vecgrep/projects/<project>/.
  • Ollama provides local embeddings with nomic-embed-text.
  • Repository-local .vecgrep/ directories are only created when you use vecgrep init --local.

Common Workflows

GoalStart Here
Install and run your first searchQuick Start
Learn the CLI commandsCLI Usage
Configure storage and providersConfiguration
Use the terminal workspaceStudio
Connect an AI assistantMCP Integration
Understand VecLite storageVecLite Integration

Local-first semantic code search.