Last updated: · Applies to: REA with Claude Code and Codex

How to Use REA (Reverse Engineer Anything) with Claude Code or Codex

To use REA (Reverse Engineer Anything) with Claude Code or Codex, install a supported Node.js version and npm, then run npx rea-agents setup. Choose your agent, review and approve the changes, and restart it. Use REA only for software you own or are authorized to examine, while respecting licenses, terms and laws.

Compliance: authorized analysis only

Respect licenses, Terms of Service (ToS) and applicable laws. Do not use REA for cracking, DRM bypass or license circumvention. Work only on software you own or are authorized to examine. Commercial tools must be legally obtained; cracked copies, stolen keys, unauthorized key sharing and bypassing license restrictions are not authorized.

Frame your work around lawful research, education, debugging your own programs, interoperability, software preservation or authorized security research. Read the REA disclaimer.

What is Reverse Engineer Anything?

REA: Reverse Engineer Anything provides one MCP for reverse engineering across binaries, applications and runtime behavior. It supports Claude Code, Codex, Cursor, Gemini CLI and others. Analysis runs locally, and results include evidence and limitations.

Targets include native binaries, JavaScript and Electron apps, .NET assemblies, Android APKs, websites, network captures and firmware. Native analysis can use Hopper, Ghidra, IDA or Kuna; static JavaScript analysis needs no native engine. The repository uses the MIT license.

How to use REA AI with Claude Code or Codex

  1. Check Node.js and npm

    REA requires npm and Node.js 22.x (at least 22.23.4), 24.x (at least 24.22.1), or 26.12.1 and later.

  2. Run setup

    npx rea-agents setup

    Choose Claude Code or Codex, review the proposed changes, and approve them. Setup adds the REA MCP server and workflow instructions with backups.

  3. Restart your agent

    Restart Claude Code or Codex after setup. Keep your analysis within the authorized scope and review the evidence and limitations in the results.

Analyze an authorized JavaScript application

For an application you own or are authorized to examine, replace the example path with its absolute path:

npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json

For a global CLI installation and its help:

npm install --global rea-agents
rea --help

FAQ

How do I set up REA for Claude Code or Codex?

Run npx rea-agents setup with a supported Node.js version and npm. Choose your agent, review and approve changes, then restart the agent. Setup adds the MCP server and workflow instructions with backups.

Does REA analysis run locally?

Yes. Analysis runs locally, and results include evidence and limitations. Static JavaScript analysis needs no native engine.

Can I use REA to bypass DRM or license restrictions?

No. Respect licenses, Terms of Service and laws. Use only software you own or are authorized to examine; do not use REA for cracking, DRM bypass or license circumvention.

Sources

Unofficial, not affiliated with or endorsed by the REA authors.