Decision Workspace
peek-code vs opengrep vs ast-grep-core
Side-by-side comparison of Rust crates
46
peek-code
experimentalv0.3.0
peek is a CLI tool that searches for code definitions (functions, classes, structs, etc.) across multiple programming languages using tree-sitter AST parsing.
48
opengrep
growingv1.1.0
Advanced AST-aware code search tool with tree-sitter parsing and AI integration capabilities
72
ast-grep-core
growingv0.50.0
Search and Rewrite code at large scale using precise AST pattern
Core Metrics
| peek-code | opengrep | ast-grep-core | |
|---|---|---|---|
| Health Score | 46 | 48 | 72 |
| Total Downloads | 153 | 1.5K | 2.8M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 2.0K |
| Releases | 8 | 2 | 183 |
| Last Updated | 135d ago | 488d ago | today |
| Age | 5m | 1y 4m | 4y 3m |
Health Breakdown
peek-code
Maintenance
13
Quality
9
Community
6
Popularity
3
Documentation
15
opengrep
Maintenance
6
Quality
17
Community
6
Popularity
4
Documentation
15
ast-grep-core
Maintenance
20
Quality
14
Community
15
Popularity
8
Documentation
15
Technical Details
| peek-code | opengrep | ast-grep-core | |
|---|---|---|---|
| Version | 0.3.0 | 1.1.0 | 0.50.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 30 | 65 | 5 |
| Crate Size | 162KB | 76KB | 49KB |
| Features | 0 | 2 | 1 |
| Yanked % | 0.0% | 0.0% | 0.5% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85 | 1.75 | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ast-grep-core leads with a health score of 72/100, but none of the options score above 80.
- •ast-grep-core is depended on by 2.0K crates — strongest ecosystem trust.
- •⚠ opengrep has not been updated in over a year.
- •peek-code, ast-grep-core are pre-1.0 — API may change.