What changes
Reverse engineering means working out how a program works when you only have the finished app, not its source code. Traditionally that took an expert reading low-level code by hand for hours.
With an AI agent, you start with a question in plain words, such as “Where does this app save my notes?” The agent looks inside the program, follows the relevant code and comes back with an explanation and the places it found it. You can then ask a follow-up, just as you would with a colleague.
What the AI needs
- An AI agent that can use tools on your computer, such as Claude Code, Codex or Cursor.
- The program: an app, game or file on your computer, or a website open in your browser.
- Tools to look inside it. A chat model alone can only guess. REA gives your agent free tools to read app files, read a program's machine instructions and record what a website does, all on your own computer.
What it can work out
Each of these started with one plain question:
- How does an authenticator app make its login codes?An Android app, a six-digit code and a clock.
- Why does the Chrome dinosaur game get faster?A browser game and the rule behind its speed.
- How does Notion copy text to the clipboard?A desktop app, followed from button to system.
- How does a 1996 game pan its sound?A Windows game, rebuilt one function at a time.
- What does this website send when I click?One click, one recorded request, the code behind it.
Checking its answers
An AI can sound sure and still be wrong, so treat its first answer as a good guess. Three habits keep it honest:
- Ask where it found the answer. A useful answer points to files and lines you can open yourself.
- Ask what is still unknown. REA reports what it could not work out, and a good answer says so too.
- Test a prediction. Ask what the program will do in a specific case, then run it. The first-try exercise ends with exactly this kind of check.
Limits
- REA reads and observes programs. It does not change them or break copy protection.
- Large or deliberately scrambled programs take longer, and some questions stay open until you find another way to check them.
- REA runs on your computer. What your agent sends to its AI model is covered by that model provider's data policy.
- Respect the licence of the software you study. Is reverse engineering legal?
Start
REA is free and open source for macOS, Windows and Linux. Run this in a terminal, or ask your agent to run it for you:
npx rea-agents@latest setup
- Get started with REAStep-by-step setup for your agent.
- Your first tryAsk your AI where a small app saves exported notes.