Reverse Engineer Anything With AI: Five Places to Point REA

Most people who build with AI have watched a project fall apart the moment they tried to use it. The screen looked right. The rules underneath it were wrong. Nate B. Jones made a strong case this month that the fix is to look inside software you already use before you ask an agent to build your own. His tool of choice is REA, short for Reverse Engineer Anything, a free open-source add-on that lets coding agents like Claude Code and Codex inspect apps, websites and compiled programs. It passed 316,000 GitHub stars by Oct 18, 2026. This page turns his five investigations into an AI reverse engineering method you can follow, and shows where it pays off for agencies, SEO and paid media teams.

AI reverse engineering: your AI can now look inside the apps you use. Five places to point REA, and how to ask, from Nate B. Jones. Use it on software you own.

What AI reverse engineering is, in one table

What it means
The tool REA, an MCP server plus instructions that plug into your coding agent
What it can open Packaged JavaScript and Electron apps, live websites through a browser session, compiled programs through Ghidra, Hopper or IDA
What it can't open Anything that stays on someone else's server
What you get An explanation of how a feature works, with the evidence and its limits
The rule Use it on software you own or have permission to examine. Licenses can forbid it

His framing is useful. If you build software, REA speeds you up. If you don't, it works like an X-ray: you can see why a feature behaves the way it does, then describe what you want far more precisely.

Why we look under the hood before we build

I've built, scaled, and sold three companies, generated over $85 million in the last seven years in my own companies. The builds that went wrong almost never failed on the screen. They failed on a rule nobody wrote down: when a fee applies, what happens on a refund, which number wins. At WKND we write those rules first.

Evidence Source
316,689 GitHub stars, MIT license GitHub, morluto/rea, Oct 18, 2026
3,205 matching comparisons on a rebuilt game function REA showcase, DX-Ball
Found the IPC channel, handler and bridge API in a test app in about 2.5 seconds WKND hands-on test, Oct 18, 2026

How to reverse engineer anything with AI: five steps

Step 1: Ask a question you can finish

The best investigations start from work you know well, not from code. You may not be able to design an invoicing database, but you know exactly what a wrong invoice looks like. That knowledge tells the agent where to look.

Give it five things: the software and version, the operating system, the exact file path or web page, the one action or calculation you care about, and the decision you're trying to make. A question like "how does this app record a partial payment, so I can decide how mine should" has a clear finish line. When you can walk someone through the math, the records involved and the odd cases, you're done.

Our version of his starter prompt:

I want to understand one behavior in an app I use so I can decide something about my own project.
First ask me, one question at a time: the app, version and OS; the path or page (help me find it);
the single action or calculation; and the decision I'm making.
Then use REA. Start small. Tell me what you read in code, what you saw it do, and what you're guessing,
separately. End with the open questions and one test that could prove you wrong, and say if you ran it.

If the answer is a wall of text, narrow it. Ask the agent to follow one input from start to finish, or to draw the path.

Step 2: Connect REA and confirm it

Setup takes a few minutes. Check your Node.js version first; REA wants 22.19 or later in the 22 line, 24.11 or later in the 24 line, or 26 and up. Then run the official command shown in his video:

npx rea-agents@latest setup

Pick your agent, read the config changes it proposes, approve them and restart the agent. What else you need depends on the target. An Electron app like Notion needs only its local app files. A live website needs its own Chrome or Chromium profile with local debugging switched on. A compiled program needs Ghidra, Hopper or IDA installed, and Ghidra also needs Java.

Then prove it works. Ask the agent for one tiny inspection of your target and one real finding from the tool's output. A green config check doesn't mean the current session loaded the tools. With Electron apps the first finding is often an integrity warning about packaged files; that's normal.

Step 3: Turn a business rule into a spec

This is where AI reverse engineering earns its keep for a business. His main example is Ledger Reborn. A developer pointed REA and Ghidra at a few functions in a QuickBooks Desktop for Mac trial, such as inventory math and reconciliation balances. Then, as a separate project, he wrote his own accounting app in Python and SQLite and compared three reports from a sample company.

The lesson is the order: study one behavior, write it down, build separately, then check. Apply it to a rule you can judge. Point the agent at the screen or report label where the number shows up, have it follow only what feeds that number, and ask for one numeric check against sample data before anyone writes code. Then add the awkward case you know from experience and decide if your version should copy it.

As one of his slides put it, copying the screen shows where a number appears; investigating the behavior shows how it's produced. That second part is the spec.

Step 4: See what has to survive a copy

Copy a block in Notion and you'd assume you copied words. REA's published study of the Notion desktop app (version 7.6.1) found more going on. Plain text and HTML land on the system clipboard. The structured block data stays in a local store. An id tucked into the HTML ties the two together, so a paste on the same machine can restore the full block, and a stale or missing entry falls back to text.

His video turns that into design questions. If the saved entry is gone, what happens? What about pasting on another computer? Should more travel inside the copy itself, or as a separate export? Does the content need to survive being sent to a colleague, or only inside your workspace? Have the agent trace one clipboard write through the app package (Electron apps usually keep it in a file called app.asar), then design two options for your own feature, choose the simpler one and test the fallback, not just the happy path.

Step 5: Point REA at your own app, equipment or an old program

Three more places to aim it.

  • Your own site. One team inspected its own portal and asked what a signed-out visitor could see. They found the login form was also served over plain HTTP and fixed it. Start with one page and one expectation, such as which scripts load before login, and have REA watch a single reload in its own browser profile. Its browser tools record key names but hide stored values.
  • Your equipment. A Linux project for a PreSonus audio interface used REA findings from the vendor's libraries to rebuild the gain to decibel conversion. Ask for the formula, the edge cases (zero, negative infinity) and what's still unproven before you touch hardware.
  • An old program. A reconstruction of the classic DX-Ball game needed more than pseudocode to rebuild how a brick's position sets stereo panning. The investigator read the raw instructions, the calling function and the constants. The rebuilt function matched the original in 3,205 comparisons.

One hard limit of AI reverse engineering with REA: it sees what ships to your machine. A company's server code stays out of reach.

Where AI reverse engineering helps an agency: SEO, AEO and paid media

At WKND, the most useful target is the one you already own: your live site. Your repo describes what you meant to ship. The browser gets what you actually shipped. Three checks we'd run with reverse engineering with AI:

  • SEO and AEO: confirm which scripts and structured data a signed-out visitor really gets, and whether key content depends on code that loads late.
  • Paid media: list the tags and pixels that fire before consent or login, and compare that with what your tracking plan says.
  • Agencies and freelancers: before rebuilding a client's internal tool, spec its rules from the version they own, then build from the spec.

Worked example: a paid media agency's pacing rule

A 12-person agency uses a desktop budgeting app it licensed years ago. The vendor is gone, the license allows internal analysis, and the agency wants its own web tool.

  1. Question: "How does the app compute the daily pacing alert, so we can decide whether to keep that rule?"
  2. Connect: REA is set up in Claude Code, with Ghidra for the compiled app, and one tiny inspection proves it loaded.
  3. Spec: the agent traces the alert from the screen label to the math: spend to date, divided by days elapsed, against the monthly cap, with a 15% tolerance. The team checks it against last March's numbers.
  4. Survive a copy: they decide campaign notes must keep their links to campaigns when exported, which the old app never did.
  5. Own site: after launch, they watch the tool's sign-in page once to confirm no client data loads before login.

Want your rules mapped before you build?

We document how your current tools and site actually behave, write a plain spec your team signs off, and have AI build and test the new version against your data. You confirm ownership or permission first, nothing gets built before you approve the spec, and you keep everything. Why now: tools like REA made this kind of investigation take days instead of months.

What you get Where
A behavior spec, a rebuilt tool or a site check, tested against your data AI automation

Free tools

One free, MIT-licensed skill for Claude, Codex and Grok comes with this guide: Behavior Spec (writes the investigation brief and starter prompt for one behavior; turns what you observe into a spec by context, with the test that could prove it wrong; decides what has to survive a copy; and checks your own page as a signed-out visitor gets it: scripts, tracking tags, structured data and forms over plain http). Download the skill (free zip)

FAQ

Is REA free?

Yes. It is open source under the MIT license. Ghidra is free too; Hopper and IDA are paid.

Do I need to code?

No, but you need a coding agent on your computer and patience with setup. Non-developers get a diagram and a sharper spec.

Is it legal?

It depends on what you own and what the license says. REA's own docs limit it to software you own or may examine. See our post on whether reverse engineering is legal. Not legal advice.

How is it different from cloning an app?

Here the goal is understanding one behavior, then building your own version from your spec. Read our REA review for how it held up in our test.

Sources

Which feature have you used for years without knowing how it works?

Book a call and we'll map the rules behind the tool or page that matters most to you.

Book a Search Strategy Call