REA vs Ghidra: Start with REA's Agent, Use Ghidra for Deep Analysis

REA wraps your AI agent around decompilers so you can ask for answers. Ghidra is the full-featured analysis engine. Which to open first, and when to run both.

Published . 6-minute read.

REA or Ghidra

  • Just use REA

    if you are a developer, solopreneur, or vibe-coder who wants an agent to explain how a feature works without learning a GUI.

    Free

    Visit REA
  • Just use Ghidra

    if you are a security researcher, CTF player, or professional reverse engineer who needs scripting, exotic architectures, or collaborative multi-analyst sessions.

    Free

    Visit Ghidra
  • The Verdict: REA for developers who want answers. Ghidra for professionals who need control.
  • Winner for JS/Electron targets: REA outright — no decompiler needed, just npx rea-agents setup and a prompt.
  • Winner for native binaries, exotic architectures, multi-analyst teams: Ghidra, without contest.
  • Not mutually exclusive: REA can call Ghidra as its backend for native analysis, so you can run both.
  • Cost: both free — Ghidra under Apache 2.0, REA under MIT.

You spotted a feature in a competitor’s app. You want to know how it works. Do you open Ghidra’s Java GUI and spend two hours learning pseudocode navigation, or do you tell your coding agent “figure out how this works” and let REA drive the analysis? That question contains the whole comparison. REA is an interface layer that connects your agent to analysis engines. Ghidra is one of those engines. They are not really rivals — but most readers need to know which one to reach for first, and whether they need the other at all.

The Verdict

REA is the right starting point for anyone who runs Claude Code or Cursor daily and wants answers without a learning curve. Ghidra is the right tool for anyone who needs surgical depth: exotic processor architectures, scripting, shared collaborative sessions, or analysis that must hold up in a professional or legal context.

The clearest way to frame it: REA answers the question “how does this feature work?” Ghidra answers the question “what is this binary doing, exactly?” Those are different questions. Developers ask the first one. Security researchers ask the second.

REA

Set up REA with your AI agent in one command

Try REA

When to Pick REA

REA is an MCP server that registers itself with your agent and exposes a set of reverse-engineering methods your agent can call. Setup is npx rea-agents setup. That command registers the MCP server and installs matching workflow instructions. You then open Claude Code or Cursor, point it at a target, and ask in plain English.

For JavaScript, Electron apps, and website targets, REA needs nothing else installed. It analyzes JavaScript application directories and ASAR packages without executing the application, without Hopper, and without Ghidra. If you have ever wanted to understand how a competing Electron app implements a specific UI behavior, REA is a one-command answer. No binary format knowledge required.

REA 4.1 (released October 6, 2026) extended that coverage to Android APKs via headless JADX. The five exposed methods — inspect_android_package, search_android_classes, inspect_android_class, inspect_android_method, trace_android_references — give your agent a structured walk through the decompiled package. REA also added firmware analysis via Binwalk and Unblob in the same release. Documented targets now span native binaries, JavaScript and Electron apps, Android APKs, SQLite databases, and saved network captures.

For native binaries, REA needs an existing decompiler: Ghidra, Hopper, IDA, or Kuna. REA provides the agent-to-tool wiring; the decompilation itself is still done by one of those engines. That is not a weakness — it means REA inherits the depth of whichever engine you point it at, and you still control nothing through a GUI.

The legal ceiling is explicit in REA’s documentation: use is scoped to software you own or are authorized to examine. Adding Ghidra as the backend does not change that. The ceiling is the same regardless of what is doing the decompilation underneath.

Who should not start with REA: anyone analyzing a binary compiled for an obscure embedded architecture, anyone who needs to run custom analysis scripts across a large binary corpus, or anyone whose work product needs to reflect a specific tool chain. REA is an interface; it cannot give you something the underlying engine does not provide.

REA

Install REA and start investigating in minutes

Try REA

When to Pick Ghidra

Ghidra is the NSA’s Apache-2.0 reverse engineering framework, with a stable release at 12.2 on October 22, 2026. It is a full-featured analysis environment: disassembler, decompiler, scripting engine, debugger integration, and collaborative server, all in one download.

The architecture coverage is the first reason professionals choose Ghidra. It supports x86, ARM, MIPS, PowerPC, and dozens more processor families. If you are analyzing firmware for a router chipset, a smart meter, or an obscure IoT device, Ghidra almost certainly has a processor module for it. REA’s native-binary path inherits whatever the underlying decompiler supports — but Ghidra’s Sleigh language lets you define new processor specifications yourself.

The scripting depth is the second reason. Ghidra 12.2 ships 347 scripts: 322 in Java and 25 in Python. Those scripts automate repetitive analysis — finding all references to a function, renaming symbols at scale, extracting strings from obfuscated binaries. REA hands your agent the decompiler’s output; Ghidra lets you transform that output programmatically before you ever read it.

Collaborative analysis is the third reason, and it is underappreciated outside professional teams. Ghidra’s server lets multiple analysts check out the same binary simultaneously. Function names, decompilation annotations, comments, custom data types — all shared in real time. A four-person CTF team or a security firm working a large malware sample can divide the binary and merge their findings without duplicating work. REA has no equivalent.

The practical cost of Ghidra is friction. It requires a 64-bit JDK 25 installation and a 570 MB archive download before you open the first binary. The GUI is powerful and dense; it rewards investment. If you are analyzing binaries regularly, that investment pays off. If you want one answer about one app feature this afternoon, it does not.

REA has approximately 480k GitHub stars built up in weeks after a viral October 2026 spike. Ghidra has approximately 101k stars built over seven years of professional security work. Those numbers measure different things: REA’s reflect AI-agent user demand and social media attention; Ghidra’s reflect sustained institutional adoption.

Ghidra

Download Ghidra 12.2 and start analyzing

Try Ghidra

What They Share

Both tools are free and open source. Both are self-hostable — nothing phones home. Both are legitimate options for understanding how software works, within the limits of applicable law and the terms of whatever software you are examining.

For native-binary analysis, REA and Ghidra are genuinely complementary. Run Ghidra as REA’s backend, and you get Ghidra’s decompilation accuracy delivered through your agent’s natural language interface. The two tools occupy different layers of the same workflow, not competing positions in it.

What to Skip

Binary Ninja and IDA Pro are worth naming because they come up in every reverse-engineering discussion. Binary Ninja has a strong scripting API and a cleaner UI than Ghidra; IDA Pro is the industry standard for professional malware analysis. Neither is free. If your budget is zero, you are choosing between Ghidra and REA-over-Ghidra, not between four tools. Radare2 is free and scriptable but has a steeper CLI learning curve than Ghidra’s GUI. For the readers of this site — developers, solopreneurs, and small teams — none of those tools clear the bar that REA or Ghidra already clears for free.

The One Decision

If you spend your days in a coding agent and want to understand how a feature in another app works: start with REA. For JS and Electron targets it needs nothing else; for native binaries, install Ghidra behind it and let your agent drive. You will have an answer before you would have finished Ghidra’s tutorial.

If you are doing security research, CTF work, or professional reverse engineering where the analysis itself is the product: start with Ghidra. Its scripting depth, architecture coverage, and collaborative server are not things REA adds — they are things REA borrows from it. At that level of work, you want direct control over the engine, not an agent in front of it.

The two tools serve different people at different points in the same process. Most readers of this site belong in the REA column.

REA

Start with REA: one command, agent-driven analysis

Try REA

JustUse earns a commission if you sign up through some of our links. It never decides the pick: we recommend tools without affiliate programs whenever they’re the better choice.