rea.run

Docs · Install

Install REA

Community paraphrase of upstream install notes. Product behavior is defined by github.com/morluto/rea and the rea-agents package on npm. Versions change — re-check before you automate.

Use on software you are authorized to analyze. Compliance

Codex walkthrough

Want the whole loop in one sitting? The install demo pins rea-agents@6.9.0, checks Node, registers Codex, opens Chrome on port 9222, and has Codex recover the public dinosaur game’s acceleration rule — then build a one-file game with a speed slider.

Open the Codex install demo

Requirements

1
Node

^22.23.4 || ^24.22.1 || >=26.12.1 plus npm (6.9.0 package.json). Node 23 and 25 are unsupported. The 6.5.0 SQLite lane still asked for 24.15+ or 26+.

2
MCP client

28 --client IDs in rea-agents@6.9.0, including CodeBuddy, Cline, LM Studio, and FreeBuff — or CLI alone. Table below.

3
Native engines

Deep native analysis needs existing Hopper, Ghidra, or IDA. JEB is a separate BYO MCP. Static JS/Electron does not.

Client matrix (rea-agents@6.9.0)

Rows are the supported-agents table in upstream docs/getting-started/installation.md at tag rea-agents-6.9.0. npm latest checked on 2026-11-13 17:02:45 CST (Asia/Shanghai) was 6.9.0; runbooks on this site still pin the version. MCP Registry id: io.github.morluto/rea. Engines on that tarball: ^22.23.4 || ^24.22.1 || >=26.12.1. The 6.5.0 release said SQLite snapshots need Node 24.x ≥24.15 or 26+; later highlight sections reviewed here do not lift that gate. New versus this site’s 6.5.0 matrix: CodeBuddy (codebuddy), Cline (cline), LM Studio (lm_studio), FreeBuff (freebuff) — see the matrix.

Client --client 6.9.0 wiring
Claude Code claude_code Setup writes MCP plus the bundled skill. Confirm the skill landed where this client loads it.
Claude Desktop claude_desktop Follow the setup plan, then restart the desktop app.
Codex codex Unset or empty CODEX_HOME means ~/.codex.
Cursor cursor IDE MCP entry. Reconnect after setup so the tool list refreshes.
CodeBuddy codebuddy In the 6.9.0 supported-agents table. client-configuration.md: writes ~/.codebuddy/mcp.json; loading the registration, the bundled skill, and real REA tool calls are verified.
Cline CLI cline In the 6.9.0 table (#10128). setup --client cline configures the CLI only; the VS Code extension uses rea mcp add --agent cline. Acceptance tests cover setup/doctor/uninstall. That page does not state a live Cline session called an REA tool.
Gemini CLI gemini_cli Honors a nonempty GEMINI_CLI_HOME. Untrusted workspace settings do not replace the user entry.
Windsurf windsurf IDE MCP entry. Reconnect after setup.
Devin devin On non-Windows, config follows XDG_CONFIG_HOME for devin/mcp_config.json.
OpenCode opencode Setup honors OPENCODE_CONFIG_DIR (fixed since 6.4.0). Confirm with doctor after setup.
Antigravity antigravity Select it in setup or pass --client antigravity.
GitHub Copilot CLI copilot_cli #1554: full schemas blocked gpt-4.1 metadata on Copilot CLI 1.0.95. From 6.8.0, input advertisements default to compact; set REA_MCP_INPUT_SCHEMA_PROFILE=full for the previous complete advertisement (#5975).
Command Code commandcode Setup client since 4.1.0. Confirm with doctor on 6.9.0.
Qwen Code qwen_code Added in 6.4.0. User settings: ~/.qwen/settings.json, or $QWEN_HOME/settings.json.
Kimi Code kimi Added in 6.5.0. 6.9.0 client-configuration.md: an LM Studio entry with no explicit schema profile is reported stale, as for Kimi Code. Confirm with doctor.
VS Code vscode Select it in setup or pass --client vscode, then reload the window.
Grok Build grok_build [mcp_servers.rea] in $GROK_HOME/config.toml, or ~/.grok/config.toml.
OMP omp User mcp.json under ~/.omp/agent, or the profile from OMP_PROFILE / PI_PROFILE.
Pi pi Added in 6.4.0. Strict JSON at ~/.pi/agent/mcp.json, or PI_CODING_AGENT_DIR.
Hermes hermes Added in 6.4.0. mcp_servers.rea in config.yaml under HERMES_HOME; active profile is followed.
Qoder qoder Added in 6.5.0. 6.9.0 client-configuration.md: ~/.qoder/settings.json, or QODER_CONFIG_DIR.
Factory Droid droid Added in 6.5.0. 6.9.0 docs: ~/.factory/mcp.json, or FACTORY_HOME_OVERRIDE. Confirm with doctor.
Trae trae Added in 6.5.0. 6.9.0 client-configuration.md: loading this registration in Trae remains unverified.
WorkBuddy workbuddy Added in 6.5.0. 6.9.0 client-configuration.md: loading this registration and real REA tool calls through WorkBuddy are verified. Setup writes the user-level file only.
LM Studio lm_studio In the 6.9.0 table. installation.md: requires a release after 6.8.0. client-configuration.md: LM Studio 0.4.26 on macOS loaded the registration and a local model called an REA tool. Linux and Windows remain unverified. Setup selects compact unless a profile is already set.
ZCode zcode Added in 6.5.0. 6.9.0 docs: nested mcp.servers in ~/.zcode/cli/config.json. Confirm with doctor.
DeepSeek Harness dsh Included from 6.5.0. 6.9.0 client-configuration.md: native verification uses a local model fixture; live DeepSeek API compatibility remains unverified.
FreeBuff freebuff First appears in 6.8.0 (#2736). 6.8.0 and 6.9.0 docs: installed native FreeBuff loading and skill discovery remain unverified. Older releases reject --client freebuff.

Paths, Copilot schema limits, and the Grok Bot manual connector: client matrix page. Skill directories: skill paths.

Connect your coding agent

Ask your agent to run setup with approval, or run it yourself. This guide pins the package the rest of the site teaches:

npx -y rea-agents@6.9.0 setup

Choose your client, review the plan, and approve changes. Setup registers the MCP server and matching investigation skill, backing up existing config. Restart the client afterward.

Manual MCP registration shape (confirm against upstream if your client needs hand-edited JSON):

{
  "mcpServers": {
    "rea": {
      "command": "npx",
      "args": ["-y", "rea-agents@6.9.0", "mcp"]
    }
  }
}

The snippets above already pin rea-agents@6.9.0. @latest matched that version on 2026-11-13 17:02:45 CST (Asia/Shanghai), and the next minor can break contracts (always-bump-minor).

Optional: global CLI

npm install --global rea-agents

Ghidra (bring your own)

REA does not install Ghidra or Java. Export absolute paths, then doctor + setup:

export GHIDRA_INSTALL_DIR=/absolute/path/to/ghidra_PUBLIC
export JAVA_HOME=/absolute/path/to/jdk-21
npx -y rea-agents@6.9.0 doctor --provider ghidra --json
npx -y rea-agents@6.9.0 setup

Supported host / Ghidra / JDK combinations are defined upstream — see docs/getting-started/installation.md at rea-agents-6.9.0 in the GitHub repo.

First question to try

After reconnecting the agent, give an absolute path to a target you may analyze and a specific question (entry points, export paths, a named feature). Prefer Evidence + unknowns over speculative narratives.

See how others use it

After install, start with three community demos on devices the authors own (hosted here, not hotlinked from X): a status-bar toilet remote, an own TV, and an own body-composition scale.

GitHub Actions demo (no local install)

Prefer a pipeline over installing locally? Open ylwl1997/rea-run-lab → Actions → workflow demo-smoke → Run workflow (branch main). When the run finishes, open the run summary → Artifacts → download smoke-report (JSON + HTML Evidence-style teaching report).

  • Primary path: download Artifacts (smoke-report). Latest report may also appear on the lab’s GitHub Pages when the pages job succeeds.
  • Runs only the bundled self-owned Electron-shaped demo under demo/ — no arbitrary binary uploads.
  • Authorized / own targets only; see legal boundary.
  • Deeper Electron Evidence teaching: rea-playbook.

Try in GitHub Codespaces

Prefer a disposable cloud shell? Open the public lab ylwl1997/rea-run-lab in Codespaces (Node 22 Dev Container), then run npx -y rea-agents@6.9.0 setup against the bundled self-owned Electron-shaped demo only.

Same lab as the Actions track above — interactive shell when you want it.

  • No arbitrary binary uploads — lab ships one teaching target under demo/.
  • Authorized / own targets only; see legal boundary.
  • Same lab repo as the Actions demo — two tracks, one demo/.

Next: turn REA captures into AgentEnv environments?

REA records browser sessions / HAR against targets you are authorized to analyze. AgentEnv exposes those captures as replay environments with MCP tools for training and eval. This site’s Environments page mirrors 50+ datasets published on Hugging Face by earakely-scale (Scale Labs) using REA — categories, notes, baselines, and outbound links. rea.run does not host the RL runtime or parquet/HAR blobs.