Discover and explore top open-source AI tools and projects—updated daily.
sandecoLegacy system reverse-engineering framework for AI agents
Top 34.5% on SourcePulse
Reversa by sandeco addresses the challenge of extracting actionable, executable specifications from legacy codebases for AI coding agents. It serves engineers and developers working with older systems, enabling AI agents to safely evolve these systems by providing a bridge between undocumented code and AI-driven development. The primary benefit is the transformation of trapped knowledge within legacy code into operational contracts that AI agents can reliably use.
How It Works
Reversa employs a sophisticated 5-phase pipeline orchestrated by a central Reversa agent, coordinating specialized AI agents. These agents perform distinct roles: Scout maps the project structure, Archaeologist analyzes code modules, Detective extracts implicit business rules, Architect synthesizes architectural views, and Writer generates traceable specifications. This modular, agent-based approach allows for deep, systematic analysis and ensures that generated specifications are operational contracts with code traceability, rather than just human-readable documentation.
Quick Start & Requirements
Installation is performed via npx reversa install within the root of the legacy project. The primary requirement is Node.js 18+. Reversa detects and leverages existing AI engines (e.g., Claude Code, Codex, Cursor) present in the environment, eliminating the need for Reversa to handle API keys or external authentication.
Highlighted Details
.agents/skills/, .reversa/, _reversa_sdd/) and never modifies or deletes existing project files.Maintenance & Community
Contributions are welcomed via GitHub issues before Pull Requests. The project is hosted on GitHub at https://github.com/sandeco/reversa.git.
Licensing & Compatibility
Reversa is released under the MIT License, which permits broad use, modification, and distribution, including for commercial purposes and integration into closed-source projects.
Limitations & Caveats
While Reversa guarantees immutability of the project's original files, AI agents are fallible. Users are strongly advised to back up their projects using version control (Git), remote repositories, or local copies before initiating the analysis process, as AI agents can potentially make mistakes. Some extracted information may be inferred and require human validation.
3 days ago
Inactive