Policy enforcement
Block secrets, restrict model/API destinations, cap oversized payloads, and apply centrally managed policy before model traffic leaves the workstation.
Docs
Rye sits outside Claude Code, Codex CLI, Cursor, Windsurf, and other coding assistants. It supervises the local process, routes model traffic through a policy-aware proxy, and keeps an audit trail security teams can actually use.
First command
curl -fsSL https://storage.googleapis.com/barn.rye.ai/install.sh | sh
Block secrets, restrict model/API destinations, cap oversized payloads, and apply centrally managed policy before model traffic leaves the workstation.
Capture request/response metadata, model traffic, approval events, wrapped process lifecycle, file changes, and assistant session history.
Use `rye app wrap claude` and `rye app wrap codex` to make common CLIs start under Rye automatically from the developer's normal shell.
Use `rye doctor`, `rye status`, `rye history`, and `rye app doctor` to verify auth, daemon state, proxy routing, CA trust, and captured traffic.
Quickstart
Install the local CLI and daemon on a developer workstation. Rye runs beside the AI coding tools your team already uses.
curl -fsSL https://storage.googleapis.com/barn.rye.ai/install.sh | sh
Sign in with device-code auth so traffic and policy events are attributed to the right user and workspace.
rye auth login
Start the local proxy and install the CA needed for HTTPS model traffic inspection.
rye up --install-ca --intercept-patterns openai.com,anthropic.com,claude.com,chatgpt.com,cursor.com,windsurf.com
Run Claude Code, Codex CLI, or another coding assistant through Rye so proxy settings, CA trust, process telemetry, and file-change monitoring are applied together.
rye wrap claude rye wrap codex
Command reference
These are the local controls for setup, diagnostics, supervision, and audit review. Use `rye --help` or `rye up --help` for the full CLI surface.
rye statusShow daemon, proxy, policy, and device state.
rye doctorDiagnose auth, CA, proxy, DNS, gRPC, and app shim setup.
rye history --last 1hInspect captured proxy traffic from the last hour.
rye app wrap claudeInstall a shim so `claude` runs under Rye supervision.
rye app wrap codexInstall a shim so `codex` runs under Rye supervision.
rye downStop the local proxy and restore proxy settings.
Learn the model
The local runtime, tool calls, session logs, and policy layers behind Claude Code and Codex.
MITM proxy setup, CA trust, API shim mode, redaction, and traffic inspection.
Allow, deny, ask, hooks, approval accumulation, and the gap between local settings and org policy.