REA & AI RE Tools Guide (unofficial)What is REAInstallMCP SetupTroubleshooting & FAQREA vs Ghidra/IDAUse CasesAI RE Tools

Install REA on Windows

Unofficial guide. This site is an independent community guide and is not affiliated with the REA project. For authoritative docs see the official REA website and the morluto/rea GitHub repository. Commands here are taken from the official README/docs (checked 2026-10-25); REA changes quickly, so verify against the official docs.

Short answer: Yes — REA works on Windows 10/11 x64. Install with npx rea-agents setup (or npm install --global rea-agents then rea setup). Native PE analysis via Ghidra is the project's experimental Windows Ghidra P0 lane; set GHIDRA_INSTALL_DIR and JAVA_HOME in PowerShell, then check with rea doctor.

Requirements

1. Install REA and connect your agent

npx rea-agents setup

Or install the CLI globally:

npm install --global rea-agents
rea setup

On Windows, setup wraps package-runner commands in cmd.exe /d /c so clients can start them. For the newest release use npx rea-agents@latest setup.

2. Point REA at Ghidra (PowerShell)

$env:GHIDRA_INSTALL_DIR = "C:\tools\ghidra_12.1.4_PUBLIC"
$env:JAVA_HOME = "C:\Program Files\Java\jdk-21"
rea doctor --json
rea providers --json

The Windows guide also sets $env:REA_ANALYSIS_PROVIDER = "ghidra" to select the provider.

What works on Windows (and what doesn't)

Known Windows issues

rea doctor: native_authority / Delete owned object by handle failed (Win32 5)

Open issue #1701 (still open as of 2026-10-15): on some Windows hosts rea doctor reports ghidra-native_authority ok: false with Delete owned object by handle failed … (Win32 5), leaves empty rea-native-probe-<hex> directories under Temp, and hard-gates the Ghidra provider even when the other Ghidra checks pass. Multiple independent Windows 11 reproductions exist on rea-agents 5.0.0–6.4.0; on some machines the failure is transient and later passes with no config change. PR #1826 (0b4ce836) merged a ownership/cache fix that one commenter verified on main (native_authority passed 30/30); that fix is included in npm rea-agents 6.5.0, but maintainers kept #1701 open because the original intermittent Win32 5 host cause is still under investigation. There is no documented reliable user workaround in the issue — update to the latest release, retry rea doctor (transient cases sometimes self-clear), and watch #1701.

Separately, an intermittent Open Windows path component failed [C:\] (Win32 32) error has been reported in analyze-javascript-application (#2257). If you hit it, update REA first and check the issue.

Related guides

Sources: windows-ghidra-p0.md · installation.md · issue #1701

FAQ

Does REA work on Windows?

Yes on Windows 10/11 x64. Run npx rea-agents setup (or npm install --global rea-agents). Setup and static JavaScript/.NET analysis work; native PE analysis via Ghidra is experimental Windows Ghidra P0 — see requirements and known issues below.

rea doctor Delete owned object by handle failed / native_authority unavailable?

That is open bug #1701: Win32 5 on the native_authority self-test can gate Ghidra off even when other checks pass. Update to the latest rea-agents (ownership/cache fix from PR #1826 is in 6.5.0), retry doctor, and follow the issue — no reliable host workaround is documented.

Can REA install Hopper on Windows?

No. Hopper installation is unavailable on Windows; use an existing Ghidra 12.1.x install or the IDA adapter.