---
title: rdev System Context Diagram
---
flowchart TB
    subgraph External
        Client[Client Applications<br/>SDK, CLI, Web]
        K8s[Kubernetes Cluster<br/>claudebox pods]
        Postgres[(PostgreSQL<br/>API keys, audit)]
    end

    subgraph rdev["rdev API"]
        API[HTTP API<br/>REST + SSE]
    end

    Client -->|HTTP/SSE| API
    API -->|kubectl exec| K8s
    API -->|SQL| Postgres

    style rdev fill:#f9f,stroke:#333,stroke-width:2px
