99
1010** Example applications for [ dstack] ( https://github.com/Dstack-TEE/dstack ) - Deploy containerized apps to TEEs with end-to-end security in minutes**
1111
12- [ Getting Started] ( #getting-started ) • [ Use Cases] ( #use-cases ) • [ Core Patterns] ( #core-patterns ) • [ Dev Tools] ( #dev-scaffolding ) • [ Starter Packs] ( #starter-packs ) • [ Other Use Cases ] ( #other-use-cases )
12+ [ Getting Started] ( #getting-started ) • [ Confidential AI ] ( #confidential-ai ) • [ Tutorials ] ( #tutorials ) • [ Use Cases] ( #use-cases ) • [ Core Patterns] ( #core-patterns ) • [ Dev Tools] ( #dev-scaffolding ) • [ Starter Packs] ( #starter-packs )
1313
1414</div >
1515
@@ -44,7 +44,7 @@ phala simulator start
4444### Run an Example Locally
4545
4646``` bash
47- cd tutorial/01-attestation-oracle
47+ cd tutorial/01-attestation
4848docker compose run --rm \
4949 -v ~ /.phala-cloud/simulator/0.5.3/dstack.sock:/var/run/dstack.sock \
5050 app
@@ -57,7 +57,23 @@ phala auth login
5757phala deploy -n my-app -c docker-compose.yaml
5858```
5959
60- See [ Phala Cloud] ( https://cloud.phala.network ) for production TEE deployment.
60+ See [ Phala Cloud] ( https://cloud.phala.com ) for production TEE deployment.
61+
62+ ---
63+
64+ ## Confidential AI
65+
66+ Run AI workloads where prompts, model weights, and inference stay encrypted in hardware.
67+
68+ | Example | Description |
69+ | ---------| -------------|
70+ | [ confidential-ai/inference] ( ./confidential-ai/inference ) | Private LLM inference with vLLM on Confidential GPU |
71+ | [ confidential-ai/training] ( ./confidential-ai/training ) | Confidential fine-tuning on sensitive data using Unsloth |
72+ | [ confidential-ai/agents] ( ./confidential-ai/agents ) | Secure AI agent with TEE-derived wallet keys using LangChain and Confidential AI models |
73+
74+ GPU deployments require: ` --instance-type h200.small --region US-EAST-1 --image dstack-nvidia-dev-0.5.4.1 `
75+
76+ See [ Confidential AI Guide] ( https://github.com/Dstack-TEE/dstack/blob/master/docs/confidential-ai.md ) for concepts and security model.
6177
6278---
6379
@@ -67,10 +83,10 @@ Step-by-step guides covering core dstack concepts.
6783
6884| Tutorial | Description |
6985| ----------| -------------|
70- | [ 01-attestation-oracle ] ( ./tutorial/01-attestation-oracle ) | Use the guest SDK to work with attestations directly — build an oracle, bind data to TDX quotes via ` report_data ` , verify with local scripts |
71- | [ 02-persistence -and-kms ] ( ./tutorial/02-persistence -and-kms ) | Use ` getKey() ` for deterministic key derivation from a KMS — persistent wallets, same key across restarts |
72- | [ 03-gateway-and-ingress ] ( ./tutorial/03-gateway-and-ingress ) | Custom domains with automatic SSL, certificate evidence chain |
73- | [ 04-upgrades ] ( ./tutorial/04-upgrades ) | Extend ` AppAuth.sol ` with custom authorization logic — NFT-gated clusters, on-chain governance |
86+ | [ 01-attestation] ( ./tutorial/01-attestation ) | Build an oracle, bind data to TDX quotes via ` report_data ` , verify with local scripts |
87+ | [ 02-kms -and-signing ] ( ./tutorial/02-kms -and-signing ) | Deterministic key derivation from KMS — persistent wallets, same key across restarts |
88+ | [ 03-gateway-and-tls ] ( ./tutorial/03-gateway-and-tls ) | Custom domains with automatic SSL, certificate evidence chain |
89+ | [ 04-onchain-oracle ] ( ./tutorial/04-onchain-oracle ) | AppAuth contracts, on-chain signature verification, multi-device deployment |
7490
7591---
7692
@@ -120,15 +136,6 @@ TLS termination, custom domains, external connectivity.
120136| Example | Description |
121137|---------|-------------|
122138| [dstack-ingress](./custom-domain/dstack-ingress) | **Complete ingress solution** — auto SSL via Let's Encrypt, multi-domain, DNS validation, evidence generation with TDX quote chain |
123- | [custom-domain](./custom-domain/custom-domain) | Simpler custom domain setup via zt-https |
124-
125- ### Keys & Persistence
126-
127- Persistent keys across deployments via KMS.
128-
129- | Example | Description | Status |
130- |---------|-------------|--------|
131- | [get-key-basic](./get-key-basic) | ` dstack.get_key()` — same key identity across machines | Coming Soon |
132139
133140### On-Chain Interaction
134141
0 commit comments