# grep-ast — card for AI agents

Greps source files and shows matches with their AST context, used by Aider.

Category: Scraping, browsers and parsing · PyPI package `grep-ast` · latest version 0.9.0 (checked 2026-11-01)
Install: `pip install grep-ast`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 26.4 (#4176 of all tools, 139 of 141 in its category)
- Downloads last week: 131,329 (as of 2026-11-24), -31.2% over 4 weeks
- GitHub stars: 366 (as of 2026-11-24)
- Last push: 2025-05-08

## Often used with
NetworkX 100.0%, OpenAI Python Library 100.0%, aiohttp 96.2%, Beautiful Soup 96.2%, GitPython 92.3%, NumPy 92.3%

## Links
- AgentGid page: https://agentgid.com/tools/grep-ast/
- Homepage: https://github.com/paul-gauthier/grep-ast
- Repository: https://github.com/paul-gauthier/grep-ast

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
