Claude Code costs money every month. Here is how a free AI can study how a coding agent works and build your own: its own engine, its own window, on free models (DeepSeek V4.1 Flash and GLM 5.3 Flash), with REA (Reverse Engineer Anything) and OpenCode. Every prompt, and the walls you will hit on the way, with the one line that gets you past each one.
⏱ Chapters
0:00 Claude Code for $0: the plan
1:01 The body, the brain and the detective (REA)
2:31 Install OpenCode + pick a free model
3:00 Install REA with one prompt
4:46 When the install breaks: paste the error back
5:42 Warm-up: study igloo.inc with DeepSeek Harness
7:16 Error 429 on OpenRouter: the one-line fix
8:15 REA studies the site
9:06 Rebuild in its own code + check the receipts
10:10 Our own coding agent: window + engine
11:19 AGENTS.md, FEATURES.md, SPEC.md
13:13 One build prompt + the self-check
14:22 When the free model runs out
15:05 Done is a claim: check SPEC.md
16:22 Which model are you? (the fix)
17:25 The challenge: Claude vs your free build
18:11 3 things before you go
🔗 Links
OpenCode (free, open source): https://opencode.ai/download
REA, Reverse Engineer Anything (free, MIT): https://github.com/morluto/rea
DeepSeek Harness: https://www.deepseek.com/en/harness
OpenRouter free models: https://openrouter.ai
OpenRouter limits (50 free requests a day): https://openrouter.ai/docs/api/reference/limits
NVIDIA free API key: https://build.nvidia.com
Ghidra (NSA, open source): https://github.com/NationalSecurityAgency/ghidra
📋 The prompts
1. Get my computer ready and install REA from its official GitHub. Ask me one question, my use case. Install only the engines I need, and run REA's health check until it passes.
2. Set up the project and turn on git. Write AGENTS.md, the rules. Write FEATURES.md, our own engine and window on my free keys. Then use REA to study OpenCode, read Claude Code's public docs, and write SPEC.md. Every feature, one test for each, and a three-part build plan.
3. Read AGENTS.md, SPEC.md and our saved versions. Build the next unfinished part of the plan, one feature at a time, and test each one with the self-check.
4. Read our files and saved versions, check any unsaved changes, and carry on where the work stopped.
5. Build what is missing from SPEC.md. For every gap you fix, add a test.
6. At the start of every chat, tell the model which model and provider it runs on, today's date and the OS, and to answer honestly when asked. Update it when I switch models.
Warm-up: "Use REA to study igloo.inc. Print which tool you use before each step. List every 3D model, texture and sound it loads, and explain every scene in your own words in reverse.md." then "Read reverse.md and rebuild the site scene by scene in your own code. Plain HTML and three.js. Never load the site's own scripts or files. Make your own models and textures. Check each scene in the browser before moving on."
Rate limit fix: make a free key at build.nvidia.com, add NVIDIA as a second provider, pick GLM 5.3 Flash, and type "Carry on from where you stopped."
⚠️ Honest notes
- We did not reverse engineer the Claude app: Anthropic's terms don't allow it. REA studies OpenCode (open source) plus Claude Code's public docs.
- Screens of OpenCode, Harness and "Ember" are illustrations made for this video (labelled on screen). The web pages shown are real recordings.
- Study only software you own or may examine, write your own code, and never use another product's name or logo.
- Free is not unlimited and not private: free endpoints may log what you send. No passwords or client code.
Not affiliated with Anthropic, OpenCode, DeepSeek, Z.ai, NVIDIA, OpenRouter or REA.
#ClaudeCode #REA #OpenCode #DeepSeek #FreeAI