Autonomous Agent Workflows
From multi-file codebase refactoring to self-healing test loops. LEGECY CLI runs locally inside your repo, executes commands with your permission, and synthesizes diffs directly in your editor.
Multi-File Code Refactor
Parses AST trees, traverses import graphs, and executes atomic rewrites across dozens of files simultaneously with dependency preservation.
Self-Healing Test Loops (TDD)
Executes your test runner (Jest, Vitest, Pytest, Cargo), inspects stack traces, isolates failing assertions, and iteratively patches code until all tests pass.
Security & CVE Remediation
Performs static taint analysis to detect SQL injections, remote code execution risks, prototype pollution, and hardcoded secrets before deployment.
Interactive Terminal TUI
Full-screen keyboard-driven terminal user interface with live syntax-highlighted diffs, tab-completed slash commands, and multi-line editor.
Smart Git PR & Commits
Analyzes your working tree diff, generates semantic conventional commits, writes markdown release notes, and pushes ready-to-merge GitHub pull requests.
Full-Stack Scaffolding
Synthesizes database migrations, ORM schemas, REST/gRPC endpoints, and typed frontend client hooks in one coordinated agent execution.