# nvidia/nvcf architecture

> Architecture diagram of the GitHub repository nvidia/nvcf, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nvidia/nvcf
- Repository: https://github.com/nvidia/nvcf

## Overview

NVCF is a platform for deploying, managing, and invoking GPU workloads across clusters. The documented user flow configures the CLI, creates and deploys a function, then invokes it; the broader architecture connects control-plane management to invocation services and GPU-cluster execution. The graph also preserves documented task, registry, telemetry, and UI capabilities. Most service internals were not sampled, so cross-service links rely on README statements rather than inferred source-level calls.

Main entry points: [`src/control-plane-services/cloud-functions`](https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions) (Control APIs), [`src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/service/function`](https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/service/function) (Function lifecycle), [`src/invocation-plane-services/http-invocation`](https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/http-invocation) (HTTP and gRPC ingress), [`src/compute-plane-services/nvca`](https://github.com/nvidia/nvcf/tree/main/src/compute-plane-services/nvca) (GPU cluster agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["Clients and operations"]
  node_cli["NVCF CLI"]
  node_ui["NVCF UI"]
end

subgraph group_control["Control plane"]
  node_cpapi["Control APIs"]
  node_function["Function lifecycle"]
  node_cluster["Cluster management"]
  node_ratelimit["Request limits"]
end

subgraph group_invoke["Invocation plane"]
  node_invocation["HTTP and gRPC ingress"]
  node_grpc["gRPC proxy"]
  node_llm["LLM gateway"]
  node_limits["Rate limiting"]
end

subgraph group_compute["Compute plane"]
  node_nvca["GPU cluster agent"]
  node_workload["GPU workloads"]
  node_ess["ESS Agent"]
end

subgraph group_support["Artifacts and observability"]
  node_registry["Artifact registries"]
  node_otel["Telemetry collector"]
end

node_user(("Platform user"))

node_user -->|"configures and commands"| node_cli
node_user -.->|"manages workloads"| node_ui
node_cli -->|"creates and deploys"| node_cpapi
node_cpapi -->|"manages lifecycle"| node_function
node_cpapi -->|"coordinates operations"| node_cluster
node_function -.->|"validates artifacts"| node_registry
node_user -->|"invokes workload"| node_invocation
node_invocation -->|"routes requests"| node_workload
node_grpc -->|"proxies requests"| node_workload
node_llm -.->|"routes inference"| node_workload
node_invocation -.->|"applies limits"| node_limits
node_cluster -->|"integrates clusters"| node_nvca
node_nvca -->|"manages execution"| node_workload
node_nvca -.->|"uses secrets services"| node_ess
node_workload -->|"emits telemetry"| node_otel
node_function -.->|"configures request limits"| node_ratelimit

click node_cli "https://github.com/nvidia/nvcf/tree/main/src/clis/nvcf-cli/cmd"
click node_ui "https://github.com/nvidia/nvcf/tree/main/src/uis/nvcf-ui/ui/src"
click node_cpapi "https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions"
click node_function "https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/service/function"
click node_cluster "https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/instance-cluster-management"
click node_invocation "https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/http-invocation"
click node_grpc "https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/grpc-proxy"
click node_llm "https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/llm-api-gateway"
click node_limits "https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/ratelimiter"
click node_nvca "https://github.com/nvidia/nvcf/tree/main/src/compute-plane-services/nvca"
click node_ess "https://github.com/nvidia/nvcf/tree/main/src/compute-plane-services/ess-agent"
click node_registry "https://github.com/nvidia/nvcf/tree/main/src/libraries/java/nv-boot-parent/nv-boot-starter-registries"
click node_otel "https://github.com/nvidia/nvcf/tree/main/src/compute-plane-services/byoo-otel-collector"
click node_ratelimit "https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/rest/function/management/dto"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cli,node_ui,node_user toneBlue
class node_cpapi,node_function,node_cluster,node_ratelimit toneAmber
class node_invocation,node_grpc,node_llm,node_limits toneMint
class node_nvca,node_workload,node_ess toneRose
class node_registry,node_otel toneIndigo
```

## Components

### Clients and operations

- [NVCF CLI](https://github.com/nvidia/nvcf/tree/main/src/clis/nvcf-cli/cmd): `src/clis/nvcf-cli/cmd`
- [NVCF UI](https://github.com/nvidia/nvcf/tree/main/src/uis/nvcf-ui/ui/src): `src/uis/nvcf-ui/ui/src`

### Control plane

- [Control APIs](https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions): `src/control-plane-services/cloud-functions`
- [Function lifecycle](https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/service/function): `src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/service/function`
- [Cluster management](https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/instance-cluster-management): `src/control-plane-services/instance-cluster-management`
- [Request limits](https://github.com/nvidia/nvcf/tree/main/src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/rest/function/management/dto): `src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/rest/function/management/dto`

### Invocation plane

- [HTTP and gRPC ingress](https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/http-invocation): `src/invocation-plane-services/http-invocation`
- [gRPC proxy](https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/grpc-proxy): `src/invocation-plane-services/grpc-proxy`
- [LLM gateway](https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/llm-api-gateway): `src/invocation-plane-services/llm-api-gateway`
- [Rate limiting](https://github.com/nvidia/nvcf/tree/main/src/invocation-plane-services/ratelimiter): `src/invocation-plane-services/ratelimiter`

### Compute plane

- [GPU cluster agent](https://github.com/nvidia/nvcf/tree/main/src/compute-plane-services/nvca): `src/compute-plane-services/nvca`
- **GPU workloads**
- [ESS Agent](https://github.com/nvidia/nvcf/tree/main/src/compute-plane-services/ess-agent): `src/compute-plane-services/ess-agent`

### Artifacts and observability

- [Artifact registries](https://github.com/nvidia/nvcf/tree/main/src/libraries/java/nv-boot-parent/nv-boot-starter-registries): `src/libraries/java/nv-boot-parent/nv-boot-starter-registries`
- [Telemetry collector](https://github.com/nvidia/nvcf/tree/main/src/compute-plane-services/byoo-otel-collector): `src/compute-plane-services/byoo-otel-collector`

### Other components

- **Platform user**

## Connections

- Platform user → NVCF CLI: configures and commands (evidence: `README.md`)
- Platform user → NVCF UI: manages workloads (evidence: `README.md`)
- NVCF CLI → Control APIs: creates and deploys (evidence: `README.md`)
- Control APIs → Function lifecycle: manages lifecycle (evidence: `README.md`)
- Control APIs → Cluster management: coordinates operations (evidence: `README.md`)
- Function lifecycle → Artifact registries: validates artifacts
- Platform user → HTTP and gRPC ingress: invokes workload (evidence: `README.md`)
- HTTP and gRPC ingress → GPU workloads: routes requests (evidence: `README.md`)
- gRPC proxy → GPU workloads: proxies requests (evidence: `README.md`)
- LLM gateway → GPU workloads: routes inference (evidence: `README.md`)
- HTTP and gRPC ingress → Rate limiting: applies limits (evidence: `README.md`)
- Cluster management → GPU cluster agent: integrates clusters (evidence: `README.md`)
- GPU cluster agent → GPU workloads: manages execution (evidence: `README.md`)
- GPU cluster agent → ESS Agent: uses secrets services
- GPU workloads → Telemetry collector: emits telemetry (evidence: `README.md`)
- Function lifecycle → Request limits: configures request limits (evidence: `src/control-plane-services/cloud-functions/nvcf-core/src/main/java/com/nvidia/nvcf/service/function/FunctionLlmService.java`)
