Architecture
How entities are onboarded, selected, executed and audited.
Compute services

Select the diagram to open it at full size.
Entity
| Component |
Role |
| Private key wallet |
Generates the key and signs |
| Root certificate |
Provided by the creator of the entity |
| Initializer and DID generator |
Derive the DID from the private key |
| Capabilities client |
Prepares capabilities specific to the entity |
| Entity signer |
Signs capabilities and metadata with the wallet |
| Entity submission and dry run client |
Applies for registration |
Registry and capability verification
| Component |
Role |
| Create, update and delete API, and controller |
Change entity records |
| REST and GraphQL query APIs |
Read entity records |
| Entity heartbeat events, queue and update module |
Record liveness |
| Onboarding client |
Starts onboarding for new entities and updated capabilities |
| Entities verifier API, capabilities validator and policy API |
A separate service that evaluates a policy against the capabilities before onboarding |
| Database |
Entities registry, current quorum lease table and entity heartbeats |
Lease manager
| Component |
Role |
| Lease manager APIs and controller |
Create and query leases |
| Leases initializer |
Loads all assigned leases upon restart |
| Local Redis cache and polling timer |
Scan periodically for expired leases and queue expiry events |
| Leader rotation module |
Rotates the leader once the term expires |
VRF system
| Component |
Role |
| Config store |
Entity type, epoch period, VRF parameters and policies map |
| Epoch timer, initiator and database checker |
Start an epoch when the previous one expired |
| Epoch starter and cache |
Save the epoch start time, which is used for deterministic seed generation |
| Entities selector and filtering policy executor |
Select entities of the configured type and filter them with policies |
| VRF initiator, RPC caller and RPC server |
Broadcast the start of the VRF round to the selected entities |
| VRF gateway |
Accepts VRF scores only within the window |
| Seed generator |
Generates the seed |
| VRF computation in the entity |
vrf_output = VRF(private_key, seed), score = normalize(vrf_output), with a proof. A one-time key is derived for the epoch |
| TEE / enclave |
Optionally generates and verifies scores and proofs, so that the code is attested |
| VRF verifier, verification and sorting function |
Verify proofs against registered public keys and order the scores |
| Quorum finalizer |
Finalizes the quorum of the epoch |
| BFT committer |
Submits the selection to the ledger and creates the epoch in the lease database |
Ledger and watcher
| Component |
Role |
| CometBFT distributed ledger |
Records epochs, leaders, actions, verifications and evidence |
| Ledger watcher |
Watches for committed blocks with the required event types |
| Event types configuration |
Decides which entities receive which events |
| Broadcaster and cache API client |
Push epoch, leader and verification events to entities and the quorum |
Controller entity
| Component |
Role |
| Entity API and request verifier |
Accept a task. The cache tells whether this entity leads the current epoch and may perform the operation. Every task has a task_id |
| Local controller cache and lock manager |
Current epoch, expiry, leader, role mapping and event outputs |
| Action dispatcher |
Dispatches the action to the entity-specific module |
| Deferred execution manager and queue |
Hold an action that waits for verification by the quorum |
| Verification request and result interceptor |
Receives verification events and checks signatures |
| Verification action dispatcher, result collector and signer |
Verify on behalf of the quorum and publish the result |
| Verification completeness checker |
Executes the deferred action once verification is complete |
| Result collector, signer and ledger publisher |
Publish (state, timestamp, input, output) with the required-verification flag |
Auditor entity
| Component |
Role |
| Watch events listener, parser and type handler |
Receive and route ledger events |
| Ledger query module |
Obtains all events about the action and verifies the chain |
| Action check |
Checks execution by calling the entity-specific module, for synchronous (verified) and asynchronous (unverified) actions |
| Finalized event |
Written to the ledger when the action is confirmed |
| Evidence gathering |
Gathers and signs evidence when the action is invalid or did not happen |
Evidence service
| Component |
Role |
| Evidence report API and controller |
Accept reports |
| Queue |
Orders reports by timestamp |
| Dedup checker, cache manager and cache |
Drop repeated reports |
| Signature verification |
Checks the reporter |
| Database |
Evidence data and evidence verification records |
| REST and GraphQL query APIs |
Read evidence |
Permissioned onboarding
registry-service verifier-deployer verifier-service
┌─────────────────────────────────┐ ┌────────────────────────────────┐ ┌────────────────────────────────┐
│ REST API │ │ Verification config DB CRUD │ │ REST API │
│ Onboarding client │ │ Verifiers registry CRUD │ │ Config loader, config store │
│ Certs generator ◀── Root CA │ │ Verification service deployer │ │ Application validation DSL │
│ Certs revoke client, revoker │ │ ├ Verifier registration │ │ Capabilities parser │
│ DB client │ │ ├ Kubernetes deployer │ │ Capability DSL deployer │
└───────────────▲─────────────────┘ │ └ Config update │ │ DSL event listener and handler │
│ └───────────────┬────────────────┘ │ Action parser and executor │
│ onboarding │ deploy, configure │ Results notifier │
└────────────────────────────────────┴──────────────────▶│ Registry of registries client │
└────────────────────────────────┘
Registry of registries
| Component |
Role |
| REST API |
Accepts onboarding and revocation requests |
| Onboarding client |
Initiates onboarding |
| Certs generator and root CA |
Generate the verification certificate and the registry certificate |
| Certs revoke client and certs revoker |
Revoke a certificate and update its status in the database |
| DB client |
Creates and updates the registry entry |
A registry entry has registry_id, registry_metadata, registry_api_url, registry_public_ip, registry_certificate, registry_server_ca and registry_status.
Verification configuration and deployment
| Component |
Role |
| Verification config DB CRUD APIs |
Manage entity types and capabilities |
| Verification service deployer client |
Deploys verifiers, registers existing ones and updates their configuration |
| Verifier registration module |
Registers a verifier that already exists |
| Kubernetes deployer module |
Uses Kubernetes to deploy a verifier |
| Config update module |
Queries the URL, pushes the configuration and updates the database |
| Verifiers registry |
service_id, metadata, verification_service_api_url, config_parameters, public_host_ip, status, cluster_id |
Verifier
| Component |
Role |
| Config loader and config store |
Load the initial configuration and serve reads and updates |
| Entities config DB client |
Pulls entity type and capability data to start verification |
| Application validation DSL executor |
Runs the validation DSL on a submitted application |
| Capabilities parser |
Parses capabilities and pulls the capability for each DSL |
| Capability DSL deployer |
Deploys DSLs on the DSL server. DSLs can be one-time checks or continuous monitoring modules, and respond with an event once they complete or in between |
| Event pusher and DSL event listener |
Capture events from the DSLs |
| Events handler DSL |
Is loaded and executed for each event |
| Action parser and executor |
Parses the output of the events handler DSL and acts on it |
| Results notifier |
Notifies the submitter of the application |
| Registry of registries DB client and onboarding client |
Initiate onboarding, which generates the unique id and certificates |
Configuration data
| Table |
Fields |
| Entity types |
entity_type_id, entity_application_validation_dsl, entity_metadata, events_handler_dsl |
| Capabilities |
capability_id, entity_type_id, capability_check_dsl, capability_metadata, capability_check_mock_data, dsl_run_mode, dsl_run_config |
Confidential computing
Confidential GPU VM (Service Provider Controlled)
CPU Trusted Execution Environment
| Component |
Role |
| Attestation Agent |
Collects measurements |
| Key Broker Client |
Requests secret keys |
| Model Decryptor |
Decrypts model weights |
| Inference Server |
Loads model and handles requests |
| Confidential OS Kernel |
Measured boot |
| Input Decryptor |
Decrypts user data |
Provider Storage
| Component |
Role |
| Encrypted Model Weights |
Stored at rest |
Secure CPU–GPU Channel
| Component |
Role |
| NVIDIA Confidential Driver |
SPDM-secured channel |
| Encrypted Bounce Buffer |
Shared system memory |
GPU Trusted Execution Environment (H100)
| Component |
Role |
| GPU Secure Firmware |
CC mode enabled |
| Compute Protected Region |
Isolated GPU memory |
| Inference Kernel |
Executes model in plaintext |
External Trust Infrastructure
| Component |
Role |
| Attestation Service |
Verifies TEE measurements |
| Key Broker Service (KBS) |
Conditional key release |
| Policy / RIM Store |
Expected measurements |
User Client (Decentralized Actor)
| Component |
Role |
| User Application |
Prepares inference request |
| Data Encryptor |
Encrypts input with session key |
| Attestation Verifier |
Validates TEE report |
| Result Decryptor |
Decrypts inference output |
Interactions: Confidential computing
| From |
Interaction |
To |
| Attestation Agent |
generate attestation report |
Attestation Service |
| Attestation Service |
verify measurements |
Policy / RIM Store |
| Attestation Service |
attestation result |
Key Broker Service (KBS) |
| Encrypted Model Weights |
encrypted model blobs |
Model Decryptor |
| Key Broker Service (KBS) |
release model key |
Key Broker Client |
| Key Broker Client |
deliver model key |
Model Decryptor |
| Model Decryptor |
decrypt model weights |
Inference Server |
| User Application |
prepare input |
Data Encryptor |
| Data Encryptor |
encrypted input data |
Inference Server |
| User Application |
encrypted session key |
Inference Server |
| Inference Server |
decrypt session key |
Input Decryptor |
| Input Decryptor |
plaintext input |
Inference Server |
| Inference Server |
submit inference request |
NVIDIA Confidential Driver |
| NVIDIA Confidential Driver |
encrypt payload |
Encrypted Bounce Buffer |
| Encrypted Bounce Buffer |
encrypted transfer |
GPU Secure Firmware |
| GPU Secure Firmware |
decrypt inside CPR |
Compute Protected Region |
| Compute Protected Region |
load model + input |
Inference Kernel |
| Inference Kernel |
execute inference |
Compute Protected Region |
| Compute Protected Region |
encrypt output |
GPU Secure Firmware |
| GPU Secure Firmware |
encrypted output |
Encrypted Bounce Buffer |
| Encrypted Bounce Buffer |
encrypted result |
NVIDIA Confidential Driver |
| NVIDIA Confidential Driver |
deliver result |
Inference Server |
| User Application |
decrypt output |
Result Decryptor |
| Attestation Service |
attestation result |
User Client (Decentralized Actor) |