Benzi Indexes Code with Tree-Sitter for O(1) AST-Gated Agent Edits
Benzi replaces repository-wide context dumping with a tree-sitter compiler pass that maps symbols, call chains, and inheritance in O(1) lookups. On SWE-bench Verified, running it alongside DeepSeek v4-flash resolved issues at approximately one cent per bug while enforcing syntax gates.
Why it matters
You can eliminate bloated prompt contexts and syntax regression loops by letting agents query a deterministic static index before altering your code.
Open the full story