AST-Edit is a next-generation code editor that operates directly on the Abstract Syntax Tree (AST) of code. Unlike traditional text-based editors, AST-Edit understands the structure and semantics of code, enabling more intelligent refactoring, code generation, and error detection. It leverages the concept of “Files are the interface humans and agents interact with” by providing a structured, machine-readable representation of code that can be easily manipulated by both developers and AI agents. This allows for more robust and context-aware code editing, moving beyond simple text manipulation to true code understanding.