# Rio Code Review > Rio Code Review (v0.3.0, Apache-2.0, by Pixel Infinito) is an open-source, self-hosted AI code review CLI and TUI written in Rust. Deterministic checks (typecheck, lint, tests, changed-line coverage, secret scanning, dependency audit, bounded blast-radius impact graph) run locally before push with zero cloud account ($0 forever). Optional AI code review, blind multi-voter verification, GitHub PR automation, and finding memory run on your own Cloudflare account ($5/mo Workers Paid base + direct BYOK model provider tokens, 0% markup). Optional Browser QA runs scripted user journeys in an isolated Linux Docker container across mobile/desktop and light/dark themes. ## Site pages (Markdown mirrors) - [Home](https://getrio.dev/index.md): Product overview, 7-step local-to-cloud pipeline, language adapters, evidence tiers, impact graph, Browser QA, Cloudflare self-hosting, and CI/SARIF integration. - [Workflows & Pre-Push Hooks](https://getrio.dev/workflows.md): Local review (`rio review`, `rio doctor`), Git pre-push hook setup, hosted multi-agent council presets (`quick`, `standard`, `deep`), and GitHub PR publish policies (`ask`, `auto`, `never`) with `--since-last` finding memory. - [How it works](https://getrio.dev/how-it-works.md): Execution boundary between local machine (steps 01, 02, 03, 07) and Cloudflare account (steps 04, 05, 06), evidence tiers and blind quorum false-positive filtering, CI exit code contract (`0`, `1`, `2`, `3`, `4`, `5`, `130`), SARIF 2.1.0, and YAML profile inheritance. - [Browser QA](https://getrio.dev/browser-qa.md): Isolated viewport and theme matrix (`mobile` and `desktop`, `light` and `dark`), 4 QA workflow commands, PII-masked screenshots, DOM traces, accessibility findings, and Linux Docker host prerequisites. - [Self-Hosted & Cost](https://getrio.dev/self-hosted.md): Cloudflare Workers + Workflows + D1 + R2 + Queues + AI Gateway + Sandbox/Docker architecture, transparent cost breakdown ($0 local, $5/mo Cloudflare Paid base, BYOK tokens at cost), and YAML budget limits. - [Compare Alternatives](https://getrio.dev/compare.md): Factual comparisons of Rio Code Review vs CodeRabbit, PR-Agent (Qodo Merge), and Kodus (`/compare/coderabbit`, `/compare/pr-agent`, `/compare/kodus`). - [Install CLI](https://getrio.dev/install.md): One-line installers for Linux, macOS, and Windows, Rust source build, SHA-256 and GitHub attestation verification, and offline `rio docs` CLI for coding agents. ## On-domain documentation - [Documentation Home (English)](https://getrio.dev/docs): Complete 37-page Rio Code Review documentation hosted on getrio.dev/docs (Quick start, Installation, Review, Doctor, Results, TUI, Profiles, Configuration, Budgets, Providers, Modules, Hosting, GitHub PRs, Feedback, Suppressions, Security, Council, Browser QA, CI/SARIF, Cache, Offline Docs, Reference, Troubleshooting). - [Documentação (Português Brasil)](https://getrio.dev/docs/pt-br): Complete 37-page Portuguese (BR) documentation hosted on getrio.dev/docs/pt-br. ## Pricing and cost summary - **Local deterministic CLI (`rio review`)**: $0 forever, Apache-2.0 open source, no account or API key required. - **Self-hosted Cloudflare infrastructure (`rio init`)**: Cloudflare Workers Paid plan ($5/month base per account, unlimited developers). Includes 10M Worker requests, 30M CPU ms, D1 (25B reads, 50M writes, 5 GB), plus R2 ($0.015/GB, $0 egress) and Containers allowances. - **Model tokens (BYOK)**: Direct billing from your provider (OpenRouter, Anthropic, OpenAI, or compatible endpoint) with 0% vendor markup. Typical per-PR spend ranges roughly from ~$0.04 (`quick`) to ~$0.12 (`standard`) to ~$0.35 (`deep`) depending on diff size and model choice, capped by `budget.fast.tokens` and `wall_time` in YAML. ## Complete reference - [Full documentation dump](https://getrio.dev/llms-full.txt): Single-file plain-text technical reference containing all marketing, pricing, comparison, and technical content from getrio.dev. ## Quick install - Linux & macOS: `curl -fsSL https://getrio.dev/install.sh | sh` - Windows (PowerShell 5.1 / 7): `Invoke-RestMethod -UseBasicParsing -ErrorAction Stop https://raw.githubusercontent.com/pixelinfinito/rio/main/scripts/install.ps1 | ForEach-Object { & ([scriptblock]::Create($_)) }` - Build from source (Rust): `cargo install --git https://github.com/pixelinfinito/rio rio-cli --locked` ## Offline docs for coding agents If the `rio` binary is installed locally, agents can read version-matched documentation offline with bounded token output instead of fetching web pages: - `rio docs` (list embedded topics) - `rio docs search "profiles"` (search topics and sections) - `rio docs profiles --section inheritance` (read one focused section) - `rio docs review --format json` (machine-readable JSON) ## External links - [Pixel Infinito](https://pixel.ao) - [GitHub Repository](https://github.com/pixelinfinito/rio) - [Issues](https://github.com/pixelinfinito/rio/issues) - [License (Apache-2.0)](https://github.com/pixelinfinito/rio/blob/main/LICENSE)