aboutsummaryrefslogtreecommitdiffstats

codevec

Semantic code search via embeddings.

codevec index .
codevec query "websocket connection handling"

Status

Design phase — see DESIGN.md

Overview

Index your codebase, query by concept. Get relevant code chunks with file paths and line numbers.

  • AST-aware chunking (tree-sitter) for Go, TypeScript, Python
  • sqlite-vec for fast similarity search
  • Incremental updates (only re-index changed files)
  • Integrates with claude-flow as a CodeSearch tool

Why

grep finds keywords. codevec finds meaning.

# grep misses this
grep "authentication"  # won't find verifyJWT()

# codevec finds it
codevec query "authentication"
# src/auth.go:15-42 VerifyJWT (0.89)