Dev tools · alternatives · 2026

24 alternatives to ast-grep
It is heavily inspired by semgrep, but intends to be an AST-base searcher/linter/rewriter. https://github.com/ast-grep/ast-grep
AST-grep is a command-line tool that searches, lints, and rewrites code using abstract syntax tree analysis powered by tree-sitter. It combines the functionality of grep, ESLint, and codemod tools into a single… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Prices are shown for the 20 we have checked on their own sites, 20 of them free or with a free tier. ast-grep launched in 2023; newer entries below may have overtaken it.
the first sentences were written by AI from its launch page and website · 5 September 2026
Only the free ones: free alternatives to ast-grep →
- 1

Code search made fast
2020 · grep.app · its alternatives →
- 2

Codemod grep searches public code by syntax and structure, not just text or regex. Use ast-grep patterns to find code by shape across repositories.
Aug 2026 · grep.codemod.com · its alternatives →
- 3AI
This tool helps C++ developers perform static code analysis by providing interactive exploration of abstract syntax trees (ASTs).
May 2026 · uvic-aurora.github.io · its alternatives →
- 4

- 5
Semantic Grepfree▲356Much improved new version. Search for words similar to the query. For example, "death" will find "death", "dying", "dead", "killing"... Incredibly useful for exploring large text datasets where exact matches are too restrictive.
2024 · github.com · its alternatives →
- 6

A syntax-highlighting pager for git, diff, grep, rg --json, and blame output
2020 · github.com · its alternatives →
- 7

Transductive regular expressions for text editing is a command-line tool that extends standard regular expressions to simplify group logic for text editing tasks.
2025 · github.com · its alternatives →
- 8AB
My book on "GNU grep and ripgrep" is free to download today and tomorrow [1][2] Code snippets, example files and sample chapters are available on GitHub [3] The book uses plenty of examples and regular expressions are also covered from scratch. The book is suitable for beginners as well as serves as a reference. Hope you find it useful, I would be grateful for your feedback and suggestions. I used pandoc+xelatex [4] to generate the pdf. [1] https://gumroad.com/l/gnugrep_ripgrep [2] https://leanpub.com/gnugrep_ripgrep [3]…
2019 · its alternatives →
- 9
Semblefree▲445Semble is an open-source code search tool designed for AI agents working with large codebases.
May 2026 · github.com · its alternatives →
- 10

- 11
XRAY MCPfree▲5XRAY MCP provides progressive code intelligence and navigation capabilities for AI assistants through structural code analysis using ast-grep
2025 · github.com · its alternatives →
- 12

Local first semantic and hybrid BM25 grep / search tool for use by AI and humans! - GitHub - BeaconBay/ck: Local first semantic and hybrid BM25 grep / search tool for use by AI and humans!
2025 · github.com · its alternatives →
- 13
GNU grep as a PHP extensionfree▲32Uses upstream GNU grep to build a native php extension.
Apr 2026 · github.com · its alternatives →
- 14

- 15

- 16

An example of PEG usage.
2016 · github.com · its alternatives →
- 17
Gompfree▲92GOMP (Git cOMPare) is a tool for comparing branches.
2020 · github.com · its alternatives →
- 18
Gitloguefree▲159Gitlogue is a CLI that turns your Git commits into a typing-style replay. It visualizes diffs line by line, shows the file tree, and plays back each edit as if it were typed in real time. Key points • Realistic typing animation • Syntax-highlighted diffs • File-tree view • Replay any commit • Self-contained CLI Demo video is in the README. Repo: https://github.com/unhappychoice/gitlogue
2025 · github.com · its alternatives →
- 19
CodeRLMfree▲81CodeRLM is a code indexing tool that helps LLM coding agents navigate and understand large codebases more efficiently.
Feb 2026 · github.com · its alternatives →
- 20

- 21

- 22
Capn-hook for coding agentsfree▲29Navigational memory for coding agents: chart discoveries as you explore, cache-bust when files change
Jul 2026 · github.com · its alternatives →
- 23
Onboard-CLIfree▲24Onboard-CLI is an AI-powered command-line tool that uses abstract syntax trees (AST) to visualize codebases.
Jul 2026 · github.com · its alternatives →
- 24
CodeQL-Like Analyzer for Gofree▲39Define and run pattern-based custom linting rules.
2020 · github.com · its alternatives →
Also compare
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →