Looking for every package across the platform (payments SDK, node CLI, on-chain program)? See the single SDKs & Packages catalog.
What the SDKs cover today
The current SDKs are Grid inference clients — chat completions, model/capacity/pricing discovery, explicit job submission, and TEE attestation. They’re named for the grid (@singularity-layer/grid, singularity-grid).
| Product | How to access today |
|---|---|
| SGL Grid (inference) | These SDKs, or the OpenAI SDK (drop-in) |
| SGL Machines (instances) | The provisioning API + the x402-compute skill |
| SGL Processors | Coming soon — client support will land here when it ships |
As Processors launch and Machines client helpers are added, they’ll live in this SDKs section alongside the Grid clients — so this is the one place to look for libraries.
Pick your client
TypeScript SDK
@singularity-layer/grid — typed, zero-dependency, native fetch.Python SDK
singularity-grid — jobs, attestation, OpenAI helper.OpenAI-compatible
Already using the OpenAI SDK? Just change the base URL.
Install
Source & packages
| Package | Repository | |
|---|---|---|
| TypeScript | @singularity-layer/grid (npm) | Singularity-Layer/sgl-network-sdk-ts |
| Python | singularity-grid (PyPI) | Singularity-Layer/sgl-network-sdk |
