What is REA?
REA, short for Reverse Engineer Anything, is an open-source reverse engineering toolkit for AI coding agents. It runs as a local Model Context Protocol server and as a command-line tool called rea. An agent calls REA to inspect a target such as a native binary, an Electron app, a .NET assembly, an Android APK or a website, and REA returns pseudocode, assembly, modules, references and other findings together with the evidence and the limitations behind each conclusion. The project website describes it as reverse engineering with your coding agent.
Distribution is through the rea-agents npm package. npx rea-agents setup registers the MCP server with selected agents and installs matching workflow instructions, writing backups of existing configuration first. npm install --global rea-agents installs the CLI, and rea update updates it; Bun global installs are also supported. The current requirement is Node.js 22.x (22.23.4 or later), 24.x (24.22.1 or later) or 26.12.1 and later; Node 23 and 25 are not supported. On Linux, several workflows need a procps-compatible ps. The website provides setup instructions for Windows PowerShell, macOS and Linux.
The latest release is rea-agents 6.8.0, published on October 25, 2026. It adds building local agent environments from network captures, browser scenarios or a prompt, inspection of more shipped formats (GPU code objects, Erlang BEAM, Python bytecode, Unity IL2CPP metadata, Godot PCK, PyInstaller, Node.js single-executable applications, devicetree and further PE and ELF tables), and retained summaries for large investigations. It also contains breaking changes: analyze_function now defaults to a retained summary, --format jsonl output changed, and MCP input schemas default to a compact profile. Versions 6.1.0 to 6.8.0 were released between October 9 and October 25, 2026.
Deep native analysis relies on an external engine: Hopper, Ghidra, IDA or the Kuna decompiler, with objdump and Rizin as caller-supplied options for offline inspection. Setup can install Hopper after approval; Ghidra, IDA and Kuna use existing installations. Static JavaScript, .NET and many binary-format inspections are built in and need no engine. According to the README, analysis runs locally and REA does not upload the target, while the agent's model provider receives the tool results under its own data policy.
REA-authored code is licensed under MIT; third-party material keeps its own licenses, listed in the repository's third-party notices. The README states that commercial tools such as IDA Pro, Hopper and JEB must be legally obtained and licensed by the user, and the project's disclaimer limits use to lawful research, education, interoperability, preservation and analysis of software the user owns or is authorized to examine. Documentation lives in the website guides and the repository docs folder. Similar listings: reverse-skill and Reverse Engineering.
Key capabilities
- Local MCP server for coding agents REA exposes its analysis tools to any agent that supports local MCP servers. Input schemas are compact by default to reduce context use;
REA_MCP_INPUT_SCHEMA_PROFILE=fullrestores complete field guidance, andREA_MCP_OUTPUT_SCHEMA_PROFILEcan bound or omit output schemas for clients that cap the tool list size. The tool catalog is generated in the MCP contracts reference. - Guided setup for many agents
npx rea-agents setuplets the user choose agents, review the proposed changes and approve them, with backups of existing configuration. The installation guide lists more than 25 clients, including Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, Windsurf, OpenCode, VS Code, GitHub Copilot CLI, Qwen Code and LM Studio; some require a minimum rea-agents version. - The rea CLI The same workflows run from a terminal, for example
rea analyze-javascript-application /path/to/app --json. The CLI guide covers native commands, provider selection, snapshots, import and export, exit statuses and JSON or JSON Lines output. - Native binary analysis With Hopper, Ghidra, IDA or Kuna, REA returns pseudocode, assembly, strings, symbols, calls and references. Version 6.8.0 adds paged native inventories, function matching across builds, resumable pseudocode export and GameCube or Wii DOL support. Ghidra also covers 16-bit DOS, and Windows Ghidra support is marked experimental.
- Built-in static format inspection Without any engine, REA reads Go build information, Rust cargo-auditable data, PE imports and Authenticode certificates, ELF notes, binary hardening flags, Linux kernel modules, Erlang BEAM, Apple IPS crash reports, Windows shortcuts, PyInstaller archives, Deno compile binaries, Godot PCK, Unity IL2CPP metadata, GGUF and safetensors model headers and CUDA or HIP code objects.
- JavaScript and Electron applications Static analysis of an extracted app directory or ASAR returns modules, imports, source maps, routes, IPC channels and native add-on relationships with their evidence, without running the application.
- .NET assemblies Managed-code inspection returns metadata, CIL instructions, declared native dependencies and build comparisons. It is static only and needs no external tool.
- Android analysis APK work uses headless JADX and a full JDK for manifests, classes and decompiled methods. APK signature inspection (v1 to v3.1), Flutter build provenance and Apktool resource decoding are available, and a caller-supplied adb connects to emulators or hardware for packages, processes, logs and file transfers. JEB projects can be read through a JEB MCP client.
- Websites and network captures With a Chrome-family browser, REA records page structure, scripts, network observations and requested screenshots. Saved HAR and Fiddler Everywhere SAZ captures can be analyzed, and mitmdump is supported on Linux.
- Firmware, packets and signals On Linux, Binwalk or Unblob extract firmware regions and hand them to native analysis, TShark summarizes recorded packets, and sigrok-cli decodes recorded logic signals.
- Process capture On Linux and macOS with a native PTY, REA runs or interacts with a selected target and records terminal output, interactions, exit status and filesystem observations for comparison between runs. Runtime capture uses the user's permissions, and each guide describes its effects.
- Evidence-based results Findings are returned as Evidence records that carry the supporting data and stated unknowns. Large investigations can keep retained summaries and query selected facts while the complete Evidence stays available.
- RL and agent environments REA turns recorded API requests and responses into tools and exports a runnable environment for AgentEnv, for example with
rea environment-build ./session.har ./my-env. Writes are served only when the recording confirms their effects. Running the result requires AgentEnv and Docker; Linux desktop app environments need Linux on amd64 or arm64. - Agent skill and plugins Setup installs workflow instructions as an agent skill, also listed on skills.sh. The installation guide covers Claude Code and Codex plugin marketplaces and skill-only installation.
- Update and diagnostics
rea update(orrea --update) updates a global npm or Bun installation; Bun updates require Bun 1.2.17 or later. The installation guide describes readiness checks per agent or engine, troubleshooting and uninstall. - Documentation in many languages The README is available in more than 20 languages, and the website hosts worked guides, showcases and a blog.
Where REA fits
Understanding a feature in an existing application
The workflow described in the README starts with a request to the agent, such as how search works in a notes app. The agent calls REA through MCP to inspect the target, trace the relevant code and return findings with evidence. The agent then explains the behavior or writes and tests a similar implementation in the user's own project.
Reconstructing native functions
The project's DX-Ball case study follows a sound call into a position-to-pan helper, inspects the instructions and turns pseudocode into C; the project reports that the reconstruction passes 3,205 original x86 cases and reproduces all 63 compiled function bytes. A second case study recovers a bullet-ring calculation from 16-bit PC-98 code of the game TH04.
Tracing Electron app internals
For JavaScript and Electron targets, REA follows code from the renderer through preload scripts and IPC into the main process. The Notion case study traces the clipboard bridge and inspects the rich clipboard format.
Inspecting packaged files and build metadata
Built-in readers extract facts from shipped artifacts without running them: compiler and module versions in Go and Rust binaries, signing certificates in PE files and APKs, hardening flags, PyInstaller entry scripts, Godot and Unity game data and model file headers.
Building environments for agent training
A recorded web app session (for example a HAR file) can be turned into an environment with tools an agent can call. The project's RL environment guide describes defining tasks and reward checks for reinforcement learning or for testing how agents complete tasks, without running the original app.
Android and mobile analysis
With JADX, Apktool or adb supplied by the user, REA reads manifests, classes, decompiled methods, resources and APK signatures, and connects to emulators or devices for logs, processes and screen captures.
Install
npx rea-agents setupReviews of REA
Be the first to share your experience with REA.
Write a review
Loading review form…
Found REA useful? Upvote it todayYour vote helps other IT teams find it in the daily ranking.





