From the videos
Reverse engineer any app for free
Set up REA with OpenCode and a cheap model, then let your agent take apps apart and rebuild the features you like.
What you need
- A Mac, Windows or Linux computer with Node.js installed
- OpenCode, a free open-source coding agent
- An API key for a model provider (DeepSeek V4 Flash is fast and cheap)
REA stands for Reverse Engineer Anything. It's an open-source tool that plugs into your coding agent and lets it take an app apart, work out exactly how each feature works, and show you the evidence. Then it can build you a working version of that feature to test, so you can learn how the best apps are built and make something of your own.
If your usual coding agent won't run it, this is the free route: OpenCode + REA + a cheap model.
The links
Quick start
- Install OpenCode.
- Add REA with one command and pick OpenCode when it asks.
- In OpenCode, choose DeepSeek V4 Flash as your model.
- Point it at an app and paste the prompt below.
Use REA to analyse [app name or path]. Map its main features, work out how each one works, and show me the evidence for every claim.
Full setup guide5 steps · about 15 minutesShowHide
1. Install Node.js
REA runs on Node.js. If you don't have it, download the LTS version from nodejs.org and install it. Check it worked:
node --version
2. Install OpenCode
On Mac or Linux:
curl -fsSL https://opencode.ai/install | bash
On Windows, or if you prefer npm:
npm install -g opencode-ai
3. Add REA
Open a terminal in a folder you trust, outside the app you plan to analyse (your home folder is fine), and run:
npx rea-agents setup
- When it asks which agent you use, pick OpenCode.
- It shows you a plan of what it will change. Read it and approve.
- Restart OpenCode so it loads REA.
4. Pick the model
- Start OpenCode by typing
opencodein your terminal. - Type
/connect, choose DeepSeek (or OpenCode Zen) and paste your API key. - Type
/modelsand choose DeepSeek V4 Flash. It's fast and costs very little per session. Check current pricing in OpenCode before a big job.
5. Check REA is working
Ask OpenCode the question below. If it lists REA's tools, you're ready.
What REA tools do you have available? List them in one line each.
Optional: native apps
REA can read JavaScript, Electron, .NET and Android apps, plus live websites, out of the box. To go deeper into native binaries it needs a disassembler. Ghidra is free; Hopper and IDA are paid alternatives.
Prompts to try6 copy-and-paste promptsShowHide
Use REA to analyse [app name or path]. Map its main features, work out how each one works, and show me the evidence for every claim.
Use REA to work out exactly how the [feature] in [app] works. Walk me through it step by step, with the evidence for each step.
Based on what you found, build me a small working version of [feature] that I can run and test. Write it from scratch in your own code, and explain the key ideas as you go.
Use REA to watch how [website] behaves when I [action, e.g. sign up or search]. Show me the requests it makes and what each one does.
Use REA to compare how [app A] and [app B] handle [feature, e.g. onboarding]. What does each do well, and what would you combine into one better version?
Turn everything we've learned into a build plan for my own app with this twist: [your idea]. Keep it original, with no copied code or assets.