REA: let your AI find out how an app's feature works
Reel 29 · 3 tools · October 12, 2026
Point your agent at an app, ask how one feature works, and it answers with the files and functions behind it.
How it works
- 1Set it up. Run npx rea-agents setup, pick your agent, approve the changes, restart the agent.
- 2Ask about one feature. For example: "Using REA, find out how MarkText exports a document to PDF. Show me the evidence: file and function names, step by step."
- 3Read the evidence. The answer lists where each step lives. Check the claims against the files it names before you rely on them.
- 4Build your own version. Use what you learned to write your own implementation. Learn from the design; don't copy someone else's code.
Example
Using REA, find out how MarkText exports a document to PDF. Show me the evidence (file + function names).
MarkText exports PDFs with Electron's built-in webContents.printToPDF: the renderer lays the document out as styled HTML, and the main process prints that window to a file.
1. Menu → renderer: exportFile(win, type) in out/main/index.js sends mt::show-export-dialog to the window.
2. Renderer → main: the EXPORT({ type, content, pageOptions }) store action sends mt::response-export with the title, path and page options.
3. Main handler: out/main/index.js registers ipcMain.on("mt::response-export", handleResponseForExport).
4. The export itself: handleResponseForExport shows dialog.showSaveDialog, then for type === "pdf" calls win.webContents.printToPDF(options).
5. Write and report: it calls removePrintServiceFromWindow(win), then writeFile(filePath, data, extension, "binary"), and sends mt::export-success back.A real run in Claude Code (Opus 5.5) with REA on MarkText 0.21.2, Oct 12, 2026, quoted from the answer. REA's automatic graph did not find printToPDF on its own; Claude read the app's packaged files through REA to finish the trace. It took about 15 minutes.
Good to know
- It only sees what reaches your machine: the app's files, or a website's scripts. Anything that runs on a company's servers stays hidden.
- Analysis runs locally, but the results go to your agent, so your model provider's data policy applies.
- JavaScript / Electron apps and .NET need only Node.js. Native binaries need Hopper, Ghidra or IDA; Android needs JADX and a JDK.
- Other people's apps are protected by copyright and their license terms. REA's own disclaimer: it is for lawful research, education, interoperability, software preservation, and analysis of software you own or are authorized to examine. It does not support copying proprietary software, bypassing DRM or license checks, or making game cheats.
- In REA's case studies (rea.tools/showcase), code from the 1996 game DX-Ball was rebuilt until it matched all 63 compiled bytes; REA supplied the evidence and the reconstruction project wrote and tested the code.
- "Software is done." was Matthew Berman's post about REA on X (Oct 8, 2026), not the project's own claim.
- An independent guide by @copilot_shogo. Not affiliated with REA or its authors.
Free for people building with Claude Code
Two of us run a six‑figure business on this Claude Code setup.
Most setups forget who you are every session. This one knows your goal, pushes back when you drift, and checks its own work. Take the starter version. It takes 15 minutes to set up.
✻
CLAUDE.md
- START-HERE.md
- CLAUDE.md
- prompts/interview.md
- agents/verifier.md
- diagnostic.md
Confirm your email and the download starts. One email a week after that, unsubscribe any time.
MORE LIKE THIS