Skip to main content
The Singularity Cloud Network ships official TypeScript and Python SDKs, plus full OpenAI-API compatibility.
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).
ProductHow 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 ProcessorsComing 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

npm install @singularity-layer/grid

Source & packages

Both are MIT-licensed and open source. See also the node software (for operators) and all links on the Resources page.