AST-aware code transformation tool with 180+ refactoring and 30 analysis operations across 160+ grammars.
act101 is an AST-aware code transformation and refactoring tool designed for developers and AI agents to perform precise semantic edits and structural analysis. It addresses inefficiencies inherent in whole-file rewrites by providing targeted abstract syntax tree (AST) operations, improving token usage and preserving code formatting. With support for over 160 programming grammars, act101 offers a robust set of 180 refactoring operations and 30 analysis tools in a single native Rust binary.
act101 is an AST-aware code transformation tool focused on semantic refactoring and structural analysis across more than 160 programming grammars. It enables precise and token-efficient codebase navigation and editing through a single native binary.
By providing targeted AST operations instead of file-based rewrites, act101 reduces unnecessary token consumption and formatting errors. AI agents gain capabilities for safe refactors, structural insights, and checkpoint-based undo operations, enhancing automated code transformation reliability.
While act101 excels in syntax-aware transformations, it requires AI agents or users to operate within its MCP-native setup and is optimized primarily for environments prioritizing local execution and privacy. Very small repositories or extremely simple codebases may see reduced token savings.
The tool offers over 180 AST-aware refactoring operations, including renaming identifiers, code extraction, inlining, moving code elements, organizing imports, and code generation based on semantic understanding.
All code analysis and transformations occur locally through its single Rust binary without telemetry or external code uploads. License verification may contact servers, but no code data is transmitted remotely, ensuring developer source code remains private.