Skip to main content
Measured savings across 11 LLMs, from Claude Opus 4.7 to Gemini Flash.→ See per-model data
Connect your client
All products

tensor-grep

Apache-2.0

Fast text, AST, and symbol-aware code search for AI agents.

A ripgrep-compatible search CLI with native AST search/rewrite, symbol intelligence, and blast-radius analysis — plus a built-in MCP server so agents get machine-readable code context. It is the open-source engine behind gc_blast_radius and gc_callers.

View on GitHubRead the docs on GitHub

What it does

  • Ripgrep-compatible text search with pure-Python BM25 re-ranking
  • Symbol intelligence: definitions, references, callers, impact + blast-radius
  • Native AST structural search and guarded rewrite
  • Built-in MCP server, LSP support, and agent context capsules
  • Rust-native engine (via maturin) — runs locally, no API key (GPU optional, opt-in)

Get started

Install from PyPI
pip install tensor-grep
Or run without installing
uvx tensor-grep

License: Apache License 2.0