- Reverse Engineer Anything (REA) is a free, open-source toolkit that lets AI coding agents inspect software locally.
- Two interfaces: a CLI for terminal users and an MCP server for agent tool calls.
- Free access: install via
npx rea-agents@latest setupwith no paid license required. - Evidence-first workflow: REA records hashes, tool outputs, and reasoning chains so findings stay reproducible.
- Local analysis: targets never leave your machine, keeping investigations private and auditable.
What Is Reverse Engineer Anything Free?
Reverse Engineer Anything, commonly shortened to REA, is an open-source reverse engineering toolkit built specifically for AI coding agents. It exposes a CLI and an MCP server so agents such as Claude Code, Cursor, Codex, Gemini CLI, Windsurf, and Devin can analyze applications, websites, JavaScript, Electron packages, and native binaries. The project emphasizes local analysis, evidence chains, and reproducible investigations rather than recovering original source code or cloning software.
Because REA is open source, the free tier is the full toolkit. There is no paid unlock, subscription gate, or feature paywall: you get the CLI, the MCP server, agent integrations, and the official multilingual documentation on rea.tools at no cost.
| Aspect | Details |
|---|---|
| Project type | Open-source reverse engineering toolkit |
| Interfaces | CLI + MCP server (2 interfaces) |
| Agent integrations | Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Devin and more (6+) |
| Supported targets | Native binaries, Electron apps, JavaScript, websites, browser runtimes, APKs |
| Cost | Free and open source |
| Official site | rea.tools |
| GitHub | morluto/rea |
Always confirm installation commands and configuration snippets against the official REA GitHub repository, since the project updates frequently.
Free Setup in Five Steps
The fastest way to get REA running is through its guided setup command. Follow this sequence to install, diagnose, and connect your first agent.
Prepare the environment
Verify Node.js and npm are installed and up to date, then create a dedicated working directory for analysis. Keep target binaries read-only and separate from generated reports.
Run the installer
Execute npx rea-agents@latest setup in your terminal. The setup plan walks you through installation options and agent configuration checks.
Diagnose with rea doctor
Run rea doctor to detect missing dependencies, path errors, or Node.js version problems. Fix any flagged issues before connecting an agent.
Connect a coding agent
Register the MCP server in your agent's configuration (for example, Claude Desktop or Cursor MCP settings). Restart the host and confirm the REA tools appear in the tool list.
Pick a target and analyze
Choose a target such as an Electron app or a sample binary, record its SHA-256 hash, and issue focused analysis requests. Export evidence for human review.
Analyze unknown binaries inside a disposable virtual machine or container. Disable unnecessary network access and never give an agent unrestricted filesystem permissions.
MCP Server vs CLI: Choosing Your Interface
REA offers two complementary entry points. The CLI suits terminal-driven users and scripted automation, while the MCP server exposes typed tools that AI agents discover and call on their own.
| Criteria | CLI | MCP Server |
|---|---|---|
| Primary user | Terminal users, scripts | AI coding agents |
| Commands | analyze, inspect, search, function, xrefs, trace | Registered tools with typed schemas |
| Setup effort | Low, one command | Moderate, host configuration JSON |
| Automation | Shell pipelines, batch jobs | Agent-driven tool calls |
| Best for | Fast triage, repeatable scripts | Interactive agent investigations |
CLI Triage
- Fast first-pass inspection
- Works with
file,strings,objdump - Ideal for scripted reports
MCP Investigation
- Agent-discoverable tools
- Narrow, validated inputs
- Structured, citable outputs
Hybrid Workflow
- CLI for deterministic stages
- Agent for interpretation
- Evidence exported for review
The most productive REA workflows combine both interfaces: run deterministic CLI commands for inventories and hashes, then let the agent interpret results and propose the next focused tool call.
Free Tools Tier List for AI Reverse Engineering
REA orchestrates a broader free toolchain. This tier list ranks companion tools by how well they fit an agent-assisted, evidence-based workflow. Rankings reflect platform coverage, automation, MCP adaptation difficulty, output quality, and learning cost.
| Tier | Tool | Primary Role | Automation | Learning Cost |
|---|---|---|---|---|
| S | Ghidra | Integrated static analysis and decompilation | High | Medium-high |
| S | GDB | Interactive runtime debugging | High | Medium |
| A | LLVM toolchain | Disassembly, object-file inspection, custom pipelines | Very high | High |
| A | GNU binutils | Command-line symbols, sections, strings | Very high | Low-medium |
| B | Custom Python scripts | Task-specific parsing and reports | Very high | Varies |
| B | AI-assisted analysis | Explanation, planning, report drafting | High | Low-medium |
For a zero-cost starting stack, pair REA with Ghidra for decompilation, binutils for triage, and GDB for runtime validation. Every tool in the S and A tiers is free to use.
Evidence-First Workflow and Safety
A trustworthy investigation moves from low-risk observation to focused analysis and controlled validation. REA's evidence system exists to stop agents from guessing: every conclusion should link to a hash, an address, a function, or a captured trace.
| Phase | Agent Tasks | Key Tool Calls | Deliverable |
|---|---|---|---|
| Identify target | File type, hash, architecture | file, sha256sum, metadata tools | Target profile |
| Static analysis | Symbols, strings, sections | Disassembler, string tools | Static overview |
| Trace relationships | Cross-references, call graphs | xrefs, decompiler | Call map |
| Dynamic analysis | Breakpoints, memory inspection | Debugger, trace export | Runtime evidence |
| Validate and report | Separate facts from inference | Context export, report generator | Final report |
Evidence Checklist:
- Record the target SHA-256 hash before analysis
- Keep original targets read-only
- Link every conclusion to an address or artifact
- Reproduce key findings in the underlying tool
- Save the report with the target hash for reproducibility
REA is designed for legitimate research, interoperability, and learning. Respect software licenses and local law; do not use the toolkit to circumvent protections or copy proprietary software.
FAQ
Q: Is Reverse Engineer Anything really free?
Yes. REA is an open-source project, and the CLI, MCP server, agent integrations, and documentation are all available at no cost through the official GitHub repository and rea.tools.
Q: Which coding agents work with REA?
REA supports Claude Code, Cursor, Codex, Gemini CLI, Windsurf, Devin, and other MCP-capable agents. Configuration details for each host are provided in the official documentation.
Q: Can REA recover the original source code of any program?
No. REA focuses on local analysis, evidence chains, and reproducible investigation of behavior, structure, and logic. It does not magically restore original source or automate software copying.
Q: What targets can I analyze with the free toolkit?
REA handles native binaries, Electron applications, JavaScript, websites, browser runtimes, and Android APKs. Official showcases include Chrome Dino, Windows Calculator, Electron apps, and native programs.
Q: Where do I get help with setup problems?
Run `rea doctor` for automated diagnostics, then consult the official Discord community or GitHub Issues linked from rea.tools for installation help and bug reports.