v1.0.0-alpha
ast-sgrep v1.0.0-alpha
Hybrid code search that understands intent — lexical FTS + AST graph + offline semantic ranking. Alpha quality; APIs may change.
Install
git clone https://github.com/AdityaVG13/ast-sgrep
cd ast-sgrep
cargo build --release -p ast-sgrep-cli
./target/release/asgrep --helpBinaries: asgrep / ast-sgrep. Also: asgrep-lsp, asgrep-mcp.
What's in this alpha
- Persistent SQLite index under
.asgrep/ - Hybrid queries (unprefixed), plus
defs:,callers:,semantic,chain,pattern: - Offline semantic embeddings by default (no API key)
- CLI, LSP, MCP, agent-oriented JSON formats
- 8 languages via tree-sitter
Not in this release
- crates.io packages
- Homebrew bottles / homebrew-core (formula stub lives under
packaging/homebrew/) - Production stability guarantees