Component brief / Developer Tools
REA: helping your AI assistant understand compiled software.
What it is
REA, short for Reverse Engineer Anything, connects an AI assistant to software inspection tools. Reverse engineering means working out how a program works by examining the program itself.
REA supplies the findings. The assistant reads them, asks follow-up questions and explains what it has found. The project documents support for native executables, JavaScript and Electron applications, .NET assemblies and browser pages, among other targets.
The name describes a broad ambition. What you can recover depends on the file, the available tools and the kind of question you ask.
Where it fits
REA runs between your assistant and the tools that inspect the program. It exposes those tools through MCP, a protocol assistants use to call external tools. Its command-line interface provides the same analysis workflows without an assistant.
According to the FAQ, detailed native-code analysis needs Hopper, Ghidra or IDA. Static JavaScript and .NET inspection do not need one of those engines. Check the host and target requirements before choosing a setup.
When to use it
Start with one concrete question: how does this application export a file, calculate a value or call another library?
The project website illustrates this with Windows Calculator's percentage button. Its example traces why 200 + 10% produces 220, while 200 × 10% produces 20. The useful outcome is an explanation tied to the inspected instructions and calculation.
For a .NET developer, the managed-code tools can inspect assembly metadata, method instructions and calls, or compare members across builds. They read the assembly without loading or executing it. This could help investigate a library when its source project is unavailable.
Trade-offs
Inspection does not automatically recover the original source. Native analysis can return assembly and pseudocode: a readable reconstruction of the instructions. The assistant must still work out what those instructions mean and check its explanation.
The .NET tools read CIL, the intermediate instructions in ordinary managed assemblies. NativeAOT compiles those method bodies to native code, so it requires a different analysis route. Do not assume every .NET executable can be reconstructed as C#.
Local inspection also does not mean all findings stay on your machine. The FAQ says the assistant receives the results and its model provider's data policy applies. Review what you share from private software.
REA's security policy also states that its analysis tools are not a sandbox. Use an isolated environment when examining untrusted files.
Alternatives
For a single inspection, using a decompiler or debugger directly may be enough. REA is worth considering when you want the assistant to request further inspections and connect their results into an explanation.
If you have the source, start by reading and testing it. There may be no need to reconstruct behaviour from the compiled application.
Integration example
The documented setup command requires Node.js and npm:
npx rea-agents@latest setup
Choose your assistant, review the proposed configuration changes and approve the setup plan. Restart the assistant afterwards. Setup connects the MCP server and installs matching investigation instructions.
For a .NET library you want to investigate, a focused request could be:
Use REA to inspect C:\samples\Example.dll without executing it.
Find the methods involved in CSV export and explain how they handle
commas and quotes. Show the method names and instructions supporting
your answer. Separate what you found from what you inferred.
Review the findings, then test the proposed explanation against known inputs before relying on it.
AI Disclosure
Researched and drafted with AI assistance, then reviewed by Søren Dalby. Sources are linked; errors may remain, and corrections are welcome.