Inspect app internals without source code and port similar features to your project
When you want to understand how a specific feature in an app works but cannot access its source code, this tool helps. It allows an agent to directly examine the app's binary or scripts to explain the underlying mechanics and provide evidence. This gives you the clues needed to implement the desired functionality in your own project.
How the agent analyzes
REA connects to your agent via MCP (Model Context Protocol). Through this connection, the agent inspects native binaries, JavaScript and Electron apps, .NET assemblies, and websites. The analysis runs locally, and each conclusion is returned with supporting evidence and limitations. You can also run CLI commands directly from the terminal. During this process, the agent uses the returned evidence to ask follow-up questions, explain behavior, and test implementations.
Analysis targets and required tools
For native binary analysis, you must select one of Hopper, Ghidra, IDA, or Kuna. During installation, you can use an existing tool or approve the installation of Hopper. In contrast, static JavaScript analysis is possible without a native analysis engine. You must select the appropriate provider for each target to obtain accurate results.
Practical use cases
In the DX-Ball case, the tool restored sound pan calculation logic from x86 instructions and verified that the C reimplementation code matched both the original 3,205 x86 cases and the 63 compiled function bytes. In the Notion case, it tracked how the renderer's clipboard API passes data through preload and IPC to the main process to understand rich clipboard data handling. In the TH04 case, it restored fixed and aiming angle calculation formulas from 16-bit instructions in a PC-98 game and compared the reconstructed C++ code against historical compiler output.
Installation and getting started
In an environment with Node.js and npm installed, run the npx rea-agents setup command from a trusted directory. This command guides you to select an agent, approve the configuration plan, and restart the agent. Existing configurations are backed up, and REA's MCP connection and investigation skills are added. To use it directly from the terminal, install it globally with npm install --global rea-agents and then use the rea command.
Pre-use considerations
REA is designed for legal research, education, interoperability, software preservation, and the analysis of software you own or have permission to inspect. Illegal or unauthorized use is not permitted, and this applies to all versions and distribution channels. Commercial tools such as IDA Pro, Hopper, and JEB must be legally acquired and used under their respective licenses. REA does not provide licenses, keys, or activation rights for these tools, and the use of cracked copies or stolen keys is prohibited. Although analysis results are generated locally, the agent's model provider has its own data policy, which you should review.