rye.ai

Rye supervision workbench

Environment

Understand the local environment surface that AI coding agents inherit and how Rye supervises it.

route
/docs/config/environment
control point
external supervisor
signals
proxy / policy / audit
01Claude / Codex
02Rye local proxy
03policy + audit
04model API

Agent environment

Coding agents inherit the developer's shell environment. That can include API keys, cloud credentials, local config paths, SSH agent access, package manager settings, and proxy variables.

Rye supervision is most reliable when the agent process is launched through Rye, because the process sees proxy and trust settings at startup.

Use:

exec:bash
rye wrap claude
exec:bash
rye wrap codex

For repeated use, install shims:

exec:bash
rye app wrap claude
exec:bash
rye app wrap codex

Keep scope explicit

Avoid global proxy settings when you are testing. A targeted wrapper makes it easier to reason about what Rye is supervising and which process produced each audit record.

Files and secrets

Agents can read local files when the runtime permits it. Policy should account for files such as:

  • .env
  • cloud credential files
  • SSH config
  • package manager tokens
  • Terraform state
  • customer exports

The goal is not only to prevent obvious key leakage. It is to reduce accidental movement of sensitive context into model requests.