9 releases (breaking)
| new 0.14.0 | May 15, 2026 |
|---|---|
| 0.13.0 | May 15, 2026 |
| 0.12.0 | May 14, 2026 |
| 0.9.0 | May 12, 2026 |
| 0.1.1 | Mar 22, 2026 |
#1307 in Parser implementations
307 downloads per month
Used in 12 crates
(6 directly)
315KB
8K
SLoC
Tree-sitter AST parsing for code-aware inference.
Provides structured code understanding: parse source files into symbols (functions, structs, classes, imports) with signatures, spans, and doc comments. Used by car-reason for smart context assembly and by car-inference for accurate code detection.
car-ast
Tree-sitter AST parsing for code-aware inference in Common Agent Runtime.
What it does
Parses source files into structured symbols — functions, structs, classes, imports — with signatures, source spans, and doc comments. CAR uses this for smart context assembly (which symbol does the user mean?) and for accurate code detection (is this a Rust file or a markdown block that happens to start with fn?).
Where it fits
Consumed by:
car-reason— for context assembly when the user query references a symbolcar-inference— for code detection in mixed-language responsescar-search— for indexing mined references
Dependencies
~9–78MB
~2M SLoC