Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Probe

$ probe Official Low Risk
Probe Labs · Agent Bridges & Meta · MIT · macos / linux / windows

Probe combines ripgrep speed with Tree-sitter AST parsing so AI agents get complete functions, classes, and structs instead of truncated line snippets. Includes probe search, probe query, probe extract, --format json, token limits (--max-tokens), and built-in probe mcp.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
npm install -g @probelabs/probe
CLI vs MCP Decision Hybrid (CLI + MCP)

probe search and probe extract work cleanly as fast read-only CLI commands, while probe mcp exposes the same AST-aware search to MCP clients.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Purpose-built for AI coding agents with --format json, --max-tokens, --max-results, AST-complete blocks, and probe mcp.

  • probe search, probe extract, --format json, --max-tokens, and probe mcp
Trust & Safety 23 / 25

Local read-only code search and extraction respecting .gitignore with zero repository mutations.

  • Read-only AST code search respecting .gitignore
Setup & Portability 14 / 15

Ships via npm install -g @probelabs/probe, npx @probelabs/probe, Cargo, and standalone binaries across macOS, Linux, and Windows.

  • Distributed via npm (@probelabs/probe), Cargo, and binaries
Utility & Efficiency 14 / 15

Combines ripgrep filtering, Tree-sitter AST expansion, and BM25 ranking so agents read complete functions in one call.

  • Ripgrep + Tree-sitter AST block expansion + token budgeting
Maintenance & Lineage 8 / 10

Actively maintained by Probe Labs (probelabs/probe) under MIT license.

  • Active probelabs/probe repository under MIT
Docs & Verifiability 8 / 10

Clear docs at probeai.dev and GitHub README covering CLI flags, Tree-sitter queries, and MCP mode.

  • Official docs at probeai.dev and GitHub README

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key
Credential Storage

Offline local code search requires no credentials; optional probe agent LLM features read provider API keys from env.

Side Effects
Read-Only
Cost & Quotas

100% free and MIT open-source.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Probe Agent Rules
- Always pass `--max-tokens` and `--format json` on `probe search` to keep context bounded.
- Prefer `probe search` / `probe extract` over whole-file reads on large codebases.

Agent-Ready Command Recipes

Safe Read-Only Queries

Search code with AST boundaries and JSON output
probe search "rate limit" ./src --format json --max-tokens 6000

Finds matching code blocks expanded to complete AST nodes and caps response size at 6000 tokens in JSON.

Extract specific symbol or line range cleanly
probe extract src/server.ts:45-90 --format json

Extracts complete AST blocks around the requested file range as JSON.

Strengths for Agents

  • + Returns complete AST functions/classes rather than arbitrary grep context lines.
  • + Built-in --max-tokens and --format json prevent context overflow.
  • + Works identically as a standalone CLI (probe search) or MCP server (probe mcp).

Caveats & Pitfalls

  • ! Language support depends on bundled Tree-sitter grammars; unsupported filetypes fall back to text chunks.
  • ! First npx @probelabs/probe run fetches a platform-specific native binary.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI