probe  by buger

Semantic code search engine for AI-assisted development

created 5 months ago
313 stars

Top 87.4% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Probe is a fully local, AI-friendly semantic code search engine designed for large codebases, aiming to be a foundational tool for next-generation AI coding assistants. It targets developers and AI models needing precise, context-aware code retrieval.

How It Works

Probe combines the speed of ripgrep for initial file scanning with the structural understanding of tree-sitter for accurate code parsing. It then applies NLP techniques and re-rankers (BM25, TF-IDF, hybrid) to identify and extract complete code blocks like functions or classes, providing rich context for AI.

Quick Start & Requirements

  • Install: npm install -g @buger/probe (also available via curl or PowerShell scripts).
  • Requirements: macOS, Linux, or Windows; x86_64 or ARM64 architecture.
  • AI Chat: npx -y @buger/probe-chat (requires API key for Anthropic/OpenAI).
  • Docs: https://github.com/buger/probe

Highlighted Details

  • Fully local and privacy-focused.
  • Extracts entire functions/classes for AI context.
  • Supports CLI, MCP server, and AI Chat modes.
  • Integrates with AI editors via MCP.
  • Offers hybrid, BM25, and TF-IDF re-ranking.

Maintenance & Community

  • Active development with releases managed via GitHub Actions.
  • Community support via Discord.

Licensing & Compatibility

  • MIT License.
  • Compatible with commercial and closed-source applications.

Limitations & Caveats

  • AI Chat requires external API keys (Anthropic/OpenAI).
  • Tree-sitter support is language-dependent; new languages require grammar additions.
Health Check
Last commit

17 hours ago

Responsiveness

Inactive

Pull Requests (30d)
42
Issues (30d)
9
Star History
126 stars in the last 90 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
12 more.

opencode by sst

7.8%
16k
CLI tool for AI-assisted coding in the terminal
created 3 months ago
updated 22 hours ago
Feedback? Help us improve.