Client libraries for interacting with the dstack guest agent from inside a TEE.
All SDKs communicate with the guest agent via HTTP over a Unix socket (/var/run/dstack.sock). See the HTTP API Reference for direct access using curl or any HTTP client.
| Language | Path |
|---|---|
| Python | sdk/python |
| JavaScript/TypeScript | sdk/js |
| Rust | sdk/rust |
| Go | sdk/go |
For local development without TDX hardware, use the simulator: