Back to browse
GitHub Repository

move/copy/swap/replace using AST for agents.

4 starsTypeScript

Asto – AST-based code editing for AI agents

by ntaraujo1·Mar 31, 2026·1 point·0 comments

AI Analysis

●●●BangerBig BrainWizardry

AST operations beat fragile text patches for AI agent code edits.

Strengths
  • Structural AST operations avoid the fragility of text-based patching.
  • Dry-run mode and JSON output enable auditable agent workflows.
  • Selector syntax with capture groups allows precise targeting.
Weaknesses
  • Requires explicit import management after structural changes.
  • New project with zero stars means unproven in production.
Target Audience

Developers building AI coding agents, automation engineers

Similar To

ast-grep · codemod · tree-sitter based tools

Similar Projects

AI/ML●●Solid

I built Dirac, Hash Anchored AST native coding agent, costs -64.8 pct

Hash-anchored AST edits beat Cline and Roo on cost with reproducible evals.

Big BrainNiche Gem
GodelNumbering
212mo ago
AI/ML●●Solid

rik – Limited Agent Edition

Marker-based AI coding beats chat interfaces for version-controlled instructions.

Big BrainNiche Gem
xlii
1015d ago