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

Download history 27/week @ 2026-03-21 1/week @ 2026-03-28 3/week @ 2026-04-04 7/week @ 2026-04-11 3/week @ 2026-04-18 25/week @ 2026-05-02 278/week @ 2026-05-09

307 downloads per month
Used in 12 crates (6 directly)

Apache-2.0

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 symbol
  • car-inference — for code detection in mixed-language responses
  • car-search — for indexing mined references

Dependencies

~9–78MB
~2M SLoC