Library¶
Use agentgrep as a Python library from your own scripts and tools.
The same search, discovery, parsing, serialization, and path-privacy
layer powers the terminal CLI and the MCP server, so anything you can do
from the command line you can drive directly in code. Search results may
carry RecordOrigin; its path fields use the same
PrivatePath display layer as source paths, and
remote URLs are serialized without credentials.
Install¶
Pick an install method below — the snippet copies straight into your terminal, and the runnable quickstart mirrors the same search query you’d run from the CLI.
Run the CLI from first search to structured output.
Common workflows for search, discovery, progress, and scripting.
Core data types, discovery, search pipeline, and progress APIs.
CLI and MCP request examples.