How rea-githu/rea works
REA is a local MCP tool for evidence-based inspection of built applications, including native binaries, JavaScript, and Electron apps. Its documented user workflow is to install or launch the CLI, configure agent access, then ask the agent to inspect an app; optional reverse-engineering tools include Hopper, Ghidra, and IDA. The tree separates CLI, agent, JavaScript, native-tool, and Windows-host code, but the sampled source excerpts contain only filenames, so internal calls and routing cannot be verified. .NET support is documented, but no corresponding source path appears in the tree.
Main entry points: Prompt.cpp Agent prompts · Setup.cpp CLI setup · Electron.cpp Electron inspection · Pad.cpp JS runtime
Components 21
CLI and setup
- CLI setup
cli/Setup.cpp - JSON handling
cli/Json.cpp - CLI runtime
cli/Pad.cpp
Agent interface
- Agent prompts
agent/Prompt.cpp - Agent skills
agent/Skill.cpp - Agent runtime
agent/Pad.cpp
JavaScript analysis
- JS bundles
js/Bundle.h - Electron inspection
js/Electron.cpp - Web inspection
js/Web.cpp - JS runtime
js/Pad.cpp
Native analysis
- Ghidra adapter
native/Ghidra.cpp - Hopper adapter
native/Hopper.h - IDA adapter
native/Ida.cpp - Native runtime
native/Pad.cpp
Windows host
- Host integration
win/Host.cpp - Windows runtime
win/Pad.cpp - Path handling
win/Path.cpp
Other components
- Engineer
- npx installer
- Local MCP
- Hopper / Ghidra / IDA
Connections 10
- Engineer → npx installer: runs setup
README.md - npx installer → CLI setup: starts setup
- Engineer → Agent prompts: requests inspection
README.md - Agent prompts → Local MCP: inspects apps
- Local MCP → Native runtime: supports binaries
README.md - Local MCP → JS runtime: supports JavaScript
README.md - Local MCP → Electron inspection: supports Electron
README.md - Hopper / Ghidra / IDA → Ghidra adapter: optional integration
README.md - Hopper / Ghidra / IDA → Hopper adapter: optional integration
README.md - Hopper / Ghidra / IDA → IDA adapter: optional integration
README.md