CODESTRUCT reframes codebases as AST action spaces to fix brittle LLM code agents

burkov · x · 2026-10-16

LLM code agents today treat repos as unstructured text, applying edits via string matching that often fails on formatting drift, ambiguity, or repeated text — causing costly trial-and-error and missing patches. CODESTRUCT reframes the codebase as a structured action space where agents operate on named AST entities (functions, classes) instead of text spans. Evaluated on SWE-Bench Verified (500 real Python bug-fix tasks) and CodeAs… benchmarks to test whether syntax-aware operations improve reliability and efficiency.

Original post →

More from coding & agent

coding & agent channel →