Rei
Local-first agent that writes and verifies code, reviews, and runs automated tasks.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 2 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 3 Nov 2026). Weigh this before you install it.
npm:body-parser 2.3.0body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body (GHSA-27r3-jxmh-p828, high, fixed in 2.4.0)npm:zod 4.6.5Zod can exhaust memory while validating oversized constrained collections (GHSA-mrhx-c7xc-m3w5, high, fixed in 4.6.6)
Linux x86_64
You need first
- Runtimes:
node>=20 - Keys or accounts: cloud provider API key
download install.sh from GitHub
curl -fsSL https://raw.githubusercontent.com/lucasaguilar/rei/main/install.sh -o /tmp/install.shrun install.sh (clones, npm ci, build, install rei command to ~/.local/bin)
bash /tmp/install.sh
Where the README and reality differ
- README: npx tsc --noEmit as verify command example
What worked: npx tsc resolves to deprecated tsc@2.0.4 stub; need typescript package installed then npx tsc --noEmit reports TS2322 correctly and detectProjectType returns 'npx tsc -p tsconfig.json --noEmit --pretty false'
Check that it works
rei --help 2>&1The output should contain “REI 0.1.0 — a local-first coding agent.”.
What it does
- Write code and check it with your compilerNot tested
- Review code with a reviewer sub-agentNot tested
- Get daily briefings through MCP serversNot tested
- Create custom personas from markdown filesNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 0 of 4 features work
- Works offline
Good for
- write code and verify with project compiler or tests
- review code as reviewer role or isolated sub-agent
- run morning briefing with news and weather via MCP
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 1 Nov 2026
- Version 0.1.0
Differences the test machine hit
- README: curl -fsSL https://raw.githubusercontent.com/lucasaguilar/rei/main/install.sh | bash
In the test: download script first with curl -o, read it, then bash it; direct pipe is discouraged per task - README: rei --config starts setup wizard
In the test: rei wrapper launches interactive wizard requiring TTY; non-interactive run times out (exit 137) and shows 'No configuration found — starting setup wizard' plus provider chooser