---
title: "Rea explained: AI reverse engineering for business tools"
description: "What Rea's AI reverse-engineering toolkit could mean for legacy business software, where browser evidence stops, and what needs a hands-on test."
url: https://prahas.me/insights/rea-ai-reverse-engineering
author: Prahas Vichakshana
published: 2026-10-17
updated: 2026-10-18
---

REPOSITORY REVIEW · 03 · WRITTEN BREAKDOWN

# How does your software work? Inside Rea's approach to AI reverse engineering.

Before rebuilding an old business tool, understand what it actually does. Rea gives AI agents ways to investigate software — and makes the unanswered questions part of the discussion.

17 October 2026 · Updated 18 October 2026 · By Prahas Vichakshana · 11 min read

[Prefer to watch? **3 min 55 sec video review**](https://youtu.be/kJrE-Urjn-4)

What I learned from Rea

1.  **Investigate before rebuilding.** Rea connects AI agents to software-analysis tools. For an old business application, the useful starting question is what one workflow actually does.
2.  **Keep the unknowns visible.** A browser observation can show part of a system. It cannot establish every server rule, failure path or business requirement.
3.  **This is a research breakdown.** I am sharing what I learned from the 6.5.0 documentation. I have not fully tested Rea; a practical evaluation belongs in a follow-up.

## THE PROJECT · What is Rea, and why might a business owner care?

[Rea](https://github.com/morluto/rea/blob/rea-agents-6.5.0/README.md), short for Reverse Engineer Anything, is morluto's toolkit for giving AI agents access to software analysis through MCP and a command-line interface. Its documented integrations include native-code tools such as Ghidra, Hopper and IDA, Android analysis with JADX, and browser observation.

The business question that caught my attention is simpler than the project name: **could an assistant help explain a tool before someone replaces it?** Many rebuild discussions begin with screens. The harder requirements sit behind them: which state changes, which records are affected, and what happens when an action fails.

Imagine a small company with an old stock-management app. Staff know the sequence of clicks, but nobody has a reliable map of the workflow. Understanding one operation could help produce a clearer brief for a new website, integration or internal tool. That is a possible application of the idea, not a result I have delivered with Rea.

## THE MECHANISM · How does Rea help an AI agent investigate software?

The [README](https://github.com/morluto/rea/blob/rea-agents-6.5.0/README.md) describes tools an agent can use to inspect a target and work with evidence. MCP provides the connection between the assistant and those tools; the model still has to decide which observations support its explanation.

My useful distinction is between *observing* and *explaining*. A tool might return a code reference or a browser event. The assistant can propose what that means. A person still needs to check whether the observation is relevant and whether the proposed explanation survives another test. Giving a model more evidence does not make its interpretation infallible.

That distinction also connects this review to [ThunderID and agent identity](https://prahas.me/insights/why-ai-agents-need-identity): deciding what an agent can inspect is a separate design choice from deciding what it may change.

## INSIDE THE REPOSITORY · How is the Rea repository put together?

The [architecture map](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/architecture.mermaid) shows a layered design. One executable dispatcher routes a call either to an **MCP server** (the long-running process an AI agent talks to over stdio) or to a **one-shot command-line run**. Both entry points call the same application layer, so a question asked by an agent and the same question typed in a terminal follow one workflow and return the same kind of result.

Below that layer sit the *providers*: adapters for the engines that actually read a target. Native binaries go to Hopper, Ghidra or IDA through bridge scripts that run inside those tools; Android packages go to headless JADX; websites go to a Chrome-family browser over the Chrome DevTools Protocol (CDP). Static JavaScript, Electron and .NET inspection read the files directly and need no separate engine. The README lists more than twenty target types, from SQLite databases to firmware images.

Two design choices stood out to me. First, provider selection is deliberate: once a target is opened, one engine is bound to it, and the [runtime contract](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/mcp-contracts.md) states that a selected provider is never replaced automatically after a failure. Second, results are kept. An evidence ledger retains each result for the session, together with the open questions the investigation has not answered.

![Animated architecture diagram: a question from an AI agent enters Rea's MCP server, passes through the shared application layer, where a provider router binds Ghidra, and returns as Evidence that is retained in the evidence ledger; the same path then runs from the rea command line to the static JavaScript reader.](https://prahas.me/insights/rea-ai-reverse-engineering/architecture.jpg)

Figure 1 — One workflow, two doors. The agent and the terminal share the application layer; the router binds one engine per target, and every result comes back as retained Evidence. Simplified from the project's architecture map.

## THE RESULT FORMAT · What does a Rea tool result actually contain?

Rea calls each tool result an **Evidence record**. According to the runtime contract, a record carries an identifier, the identity of the analysed file and provider, the analysis profile used, the normalised result and any limitations. Results that can be compared, such as two function analyses, can be passed straight into a comparison tool, and a whole session can be exported as a bundle for someone else to review.

The part I found most useful for business work is coverage. A function dossier states, facet by facet, whether pseudocode, callers or a control-flow graph were actually observed. The [tool-design guide](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/tool-design.md) puts the rule plainly: missing coverage is unknown, not absence. An empty list of callers with unknown coverage is not proof that nothing calls the function.

Records also carry a provenance marker when their content came from the target. Strings, page text and decompiled code are treated as data; Rea's server instructions tell the agent never to follow directives found inside them. That matters because a target can contain text written to look like an instruction.

![Animated diagram: an agent calls analyze\_function on a hypothetical stockroom.exe; an Evidence record builds field by field with evidence\_id, artifact hash, provider, analysis profile, normalised result, caller coverage marked complete, a control-flow graph marked unavailable, a limitation and an untrusted-content marker; callouts explain identity, coverage and target text; the record is then retained in the session beside earlier records.](https://prahas.me/insights/rea-ai-reverse-engineering/evidence-record.jpg)

Figure 2 — A result that shows its workings. Identity says what was analysed and how; coverage says what was and wasn't observed; target-derived text is flagged as data. Field names follow the contract; the values are illustrative.

Rea also ships six guided investigation prompts through MCP, described in the [prompts guide](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/mcp-prompts.md). They suggest starting points rather than forcing a sequence of calls, and each asks the agent to keep observations, inferences and unknowns distinct.

| Guided prompt | What it is for |
| --- | --- |
| investigate\_feature | Trace one feature from discovery into the relevant code evidence |
| compare\_application\_versions | Compare two shipped versions of an application |
| verify\_reconstruction | Check a rebuilt version against retained comparison evidence |
| trace\_crash | Connect a crash symptom with code paths and optional process captures |
| audit\_residual\_unknowns | Review the questions an investigation still has open |
| prepare\_bounded\_process\_capture | Design a limited, controlled run before executing anything |

## THE BOUNDARY · What can browser evidence reveal, and what stays hidden?

The [browser guide](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/browser-observation.md) describes attaching to a user-owned Chrome-family browser, inspecting a page, analysing selected scripts and observing events within a defined window. The passive provider observes rather than clicking through the application itself. Its output reports coverage limits.

The guide is specific about what a capture keeps. Network observations retain the method, status, content type, size and the script location that started the request. Cookies and authorisation headers are never retained. Request and response bodies are not read by default; if selected, only JSON from allowed origins is reduced to value-free shapes. Each capture is marked with coverage such as `complete_within_window` or `attach_limited`.

![Animated timeline: a page loads and requests GET /login and GET /account before Rea attaches, so they stay outside the evidence; Rea attaches over CDP and a capture window opens; GET /billing and POST /api/cancel inside the window are captured; the server behind the cancel request remains a black box with unknown billing rules, refunds and emails; cards list what the capture keeps, never retains, leaves off by default and marks as attach\_limited.](https://prahas.me/insights/rea-ai-reverse-engineering/attach-window.jpg)

Figure 3 — The window is the boundary. Requests before attachment are absent from the evidence, cookies and authorisation headers are discarded, and the server's behaviour stays out of view. The page and endpoints are illustrative.

Earlier network activity is unavailable to that observation window. A missing request therefore cannot establish that a request never happened. Nor does seeing a client-side route reveal the hidden implementation behind an endpoint. These limits matter when turning a trace into a rebuild specification.

| Evidence | What it could support | What still needs checking |
| --- | --- | --- |
| A visible control | Where a user begins an action | Who is allowed to use it in other account states |
| A captured request | An interaction with an endpoint during that observation | Server-side rules and downstream effects |
| A route or script reference | A candidate path worth investigating | Whether that path runs in the relevant workflow |
| No matching event | A gap in this capture | Whether the event occurred outside its coverage |

The table is an investigation aid I would use, not a tested Rea output. Its purpose is to prevent a plausible explanation from quietly becoming an assumed requirement.

## ONE BUSINESS IDEA · How would I investigate a cancellation workflow?

The video uses a cancellation button as an illustration. For a practical evaluation, I would choose an application I own or have explicit permission to investigate and use a test account with synthetic records.

1.  **Write the question first.** What changes when a customer cancels, and which parts can this client-side observation actually answer?
2.  **Define the observation.** Record the starting account state, tool version and capture window. Let an authorised person perform the action.
3.  **Separate facts from hypotheses.** A request was observed; its effect on a billing service may still be unknown.
4.  **Compare against the intended behaviour.** Ask the system owner, inspect available server code or logs, and repeat a controlled case.
5.  **Turn verified findings into a small brief.** List the expected transition, failure behaviour and unanswered questions before designing the replacement.

The tool-design guide asks for observed, derived and inferred relationships to stay distinct. A call-path trace reports each unresolved expansion as a *residual unknown*; if the goal was not reached because a step could not be resolved, the result says `unknown` rather than `not_reached`. Applied to the cancellation idea, that would look like the figure below.

![Animated trace of a hypothetical cancellation feature: a Cancel plan button leads by an observed click listener to onCancelClick, by a source map to cancelPlan in billing.ts, by an observed request initiator to POST /api/cancel, then to an unknown server; an inferred claim that it sends a cancellation email stays labelled as inference; residual unknowns U1 and U2 are recorded with goal\_status unknown, beside ways to resolve them.](https://prahas.me/insights/rea-ai-reverse-engineering/trace-path.jpg)

Figure 4 — Each hop is labelled by the strength of its evidence. The trace stops honestly at the server, and the tempting conclusion about the email becomes a question rather than a requirement. The app, file names and line numbers are hypothetical.

For an entrepreneur, one useful direction could be a documentation assistant for an ageing internal tool. The first deliverable would be a reviewed workflow map. Whether Rea makes that task easier, faster or more accurate remains a question for hands-on testing.

## FROM EVIDENCE TO A BRIEF · How could Rea evidence become a rebuild brief?

The repository has a tool for this step. [`build_reconstruction_obligation_ledger`](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/reconstruction-obligation-ledgers.md) turns an exported evidence bundle into a list of *obligations*: specific behaviours a reconstruction must reproduce. Application-graph and process-capture evidence generate candidate obligations automatically; a reviewer can add others.

The ledger is conservative by design. A required obligation closes only when it has a single owner, every required test case and a passing verifier with authority comparable to the original observation. Contradictions, residual unknowns and missing dependencies keep it open. An empty bundle returns an `unknown` ledger rather than claiming success.

That is close to the brief I would want before quoting a rebuild: a list of behaviours, each with evidence and a test, and the open items stated rather than hidden.

![Animated ledger: an evidence bundle feeds build\_reconstruction\_obligation\_ledger; four hypothetical obligations are checked for owner, fixtures and verifier; one closes, one stays open because its verifier fails, one is blocked by residual unknown U1 and one by contradicting observations, so the ledger is not ready; Rea's DX-Ball showcase is shown with 3,205 original-x86 cases passing and 63 of 63 compiled function bytes reproduced.](https://prahas.me/insights/rea-ai-reverse-engineering/obligation-ledger.jpg)

Figure 5 — Closure is earned row by row. One missing verifier or unresolved question keeps the whole brief from being ready. The rows are hypothetical; the DX-Ball figures are from Rea's published showcase.

For a sense of what a closed reconstruction looks like, the README's [DX-Ball showcase](https://github.com/morluto/rea/blob/rea-agents-6.5.0/README.md#showcases) follows a game's sound call into its position-to-pan helper and rebuilds it in C. The project reports that the reconstruction passes 3,205 cases against the original x86 code and reproduces all 63 compiled function bytes. That is the project's published result, not one I have reproduced.

## BEFORE ADOPTION · What would I check before using Rea in a real project?

The [installation guide](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/installation.md) separates the runtime, agent client and analysis providers. It recommends exact-version registrations; a successful package startup does not verify every provider integration. I would begin with the documented requirements for one target type rather than install every integration.

The [Rea source is MIT-licensed](https://github.com/morluto/rea/blob/rea-agents-6.5.0/LICENSE). That does not describe the licence of a target application or every optional provider. There may also be model usage, tooling and investigation costs; I have not measured a total cost for this workflow.

Rea's [responsible-use statement](https://github.com/morluto/rea/blob/rea-agents-6.5.0/DISCLAIMER.md) sets out the project's intended boundaries. For my proposed evaluation, I would use authorised software and an isolated environment. The browser guide also makes clear that observation is not a sandbox: the running page retains its existing privileges.

One detail from the runtime contract affects how I would configure it. Rea does not ask for per-call approval itself; each tool declares its effects, such as running code it does not own or changing an attached Android device, and the MCP client decides what to confirm. Those annotations are hints, not authorisation controls. In practice, the agent client's approval settings are the safety catch, so I would keep confirmation on for any tool that launches or drives a program.

## MY TAKEAWAY · What is the useful idea before the hands-on test?

**My take:** A rebuild can start with better questions about the software that already exists. Rea is interesting because it gives an agent tools for investigating those questions. My next step is to test a small workflow and show which conclusions the evidence actually supports.

That is the purpose of these weekend breakdowns: understand how emerging technology is built, then find practical things worth trying. My [Storytold review](https://prahas.me/insights/can-ai-replace-adobe) explores another version of that idea through agent-controlled creative tools. Neither review is a claim that I built the underlying project.

**Thinking about replacing an old business tool?** Bring one workflow and the part nobody can explain. We can start by defining what a useful investigation or rebuild would need to answer.

[Talk it through with me →](https://prahas.me/#contact)

## QUESTIONS · What else should you know about this Rea breakdown?

### Have I tested Rea fully?

No. This episode explains what I learned from the 6.5.0 repository documentation. A hands-on evaluation is planned for another video; no benchmark or completed deployment is claimed here.

### Can Rea recover a website's hidden server source?

Browser observation alone does not establish a hidden server implementation. It supplies evidence from the selected page and capture scope; server rules need separate evidence.

### Does Rea automatically clone an application?

This review demonstrates no application clone. Understanding behaviour, having permission to reuse material and building a dependable replacement are separate questions.

### Which AI agents can use Rea?

Any agent that supports local MCP servers, according to the README. Its setup command configures Claude Code, Codex, Cursor, Gemini CLI and others; the same workflows are also available from the `rea` command line.

### Does Rea upload the application it analyses?

The README says analysis runs locally. The agent still receives the tool results, so the model provider behind that agent sees them under its own data policy.

### What is an Evidence record in Rea?

It is the result format every analysis tool returns: what was analysed, by which engine and settings, what was found, how complete that coverage was and which limitations apply. Records are retained for the session and can be exported as a bundle.

### Is this sponsored, and how was the video made?

It is unsponsored. I use NotebookLM to help learn from repository sources. This motion edit uses custom-coded graphics and an ElevenLabs clone of my own voice; its workflow screens are illustrative. The five figures in this article are also custom-coded diagrams drawn from the repository documentation.

**Prahas Vichakshana**

Independent AI & digital studio. Each week I review a repository and ask what it could mean for the websites, automations and tools small businesses rely on.

[Subscribe on YouTube ↗](https://www.youtube.com/@PrahasMe?sub_confirmation=1)[RSS feed](https://prahas.me/insights/rss.xml)[All insights](https://prahas.me/insights)

### Explore the sources

[Rea README, pinned 6.5.0 source ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/README.md)[6.5.0 release ↗](https://github.com/morluto/rea/releases/tag/rea-agents-6.5.0)[Architecture map ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/architecture.mermaid)[MCP runtime contracts: Evidence, coverage and effects ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/mcp-contracts.md)[MCP tool design guide ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/tool-design.md)[Guided MCP prompts ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/mcp-prompts.md)[Reconstruction obligation ledgers ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/reconstruction-obligation-ledgers.md)[Browser observation guide ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/browser-observation.md)[Installation and provider setup ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/docs/installation.md)[MIT licence ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/LICENSE)[Project responsible-use statement ↗](https://github.com/morluto/rea/blob/rea-agents-6.5.0/DISCLAIMER.md)[Watch the video review on YouTube ↗](https://youtu.be/kJrE-Urjn-4)

Rea is morluto's project, not software I built. This unsponsored breakdown shares what I learned from its documentation; I have not fully tested it. The video reviews 6.5.0 from a 16 October 2026 research snapshot; article sources were rechecked on 17 October. Business workflows are illustrative, not client results or product demonstrations. NotebookLM supports my repository learning; this motion edit uses an ElevenLabs clone of my own voice and custom-coded graphics. The five article figures are custom-coded motion diagrams based on the 6.5.0 documentation; their apps, file names and values are illustrative. The cover is AI-generated. Hands-on evaluation is planned for a later video.
