car-ast 0.6.0

Tree-sitter AST parsing for code-aware inference
Documentation

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