Skip to main content
Rye has a local component and a remote control plane. The local component is responsible for supervision and enforcement. The control plane receives presence, policy, and audit data.

Local components

Request flow

The daemon also sends presence heartbeats when gRPC is enabled. This lets the control plane understand which devices are active and which client version they run.

Local IPC

The CLI communicates with ryed over a local IPC socket. Commands such as rye up, rye down, rye status, and rye daemon stop send JSON requests to the daemon. The CLI starts the daemon automatically when needed. You can also manage it directly:

Policy sync

Rye starts with a local default policy. When connected, the daemon syncs policy snapshots over gRPC. Policy snapshots are:
  • Validated before use.
  • Cached in SQLite.
  • Applied atomically.
  • Acknowledged back to the server.
  • Reused locally if the network is unavailable.

Data retention

Rye stores captured data locally before upload. The default retention limits are:
  • 7 days by age.
  • 512 MB by local database size.
  • Retention checks every hour.
Use exports carefully. Request and response bodies can contain source code, prompts, tool output, and secrets copied into context.