SDKs
All three SDKs expose the same programmable sandbox boundary: source, lifecycle, execution, attached processes, files, archive transfer, tunnels, metadata, and typed errors. Mutating RPCs are never retried implicitly.
| SDK | Best fit | Start |
|---|---|---|
| Python | Agent tooling, notebooks, orchestration | Python SDK |
| Go | Infrastructure controllers and Go agents | Go SDK |
| TypeScript | Node.js applications and tools | TypeScript SDK |
Capability matrix
Section titled “Capability matrix”The sandbox boundary is shared; language depth differs by design.
| Capability | Python | Go | TypeScript |
|---|---|---|---|
| Sandbox lifecycle, exec, processes | ✓ | ✓ | ✓ |
| Files and archive transfer | ✓ | ✓ | ✓ |
| Reverse tunnels | ✓ | ✓ | ✓ |
| Computer Use | ✓ | ✓ | ✓ |
| Environments and Runs | ✓ | ✓ | ✓ |
| Concurrency model | sync + AsyncSandbox |
context.Context |
Promise-native |
Secret lifecycle, quota, namespace and access administration use the CLI or generated public APIs. SDK execution configuration accepts references to stored Secrets for runtime injection; secret values do not belong in images or Run arguments. SSH sessions use the CLI’s Allocation-scoped connection surface.
Install the official packages from their public registries:
- Python:
uv add axern-sdk==<version>from PyPI - Go:
go get github.com/cofy-x/axern/sdk/go@<version>from the Go module index - TypeScript:
pnpm add @cofy-x/axern-sdk@<version>from npm
Each Sandbox selects exactly one source: an OCI image for a new Environment, or an existing immutable Environment ID. A new Sandbox execution creates a new Run, Allocation and writable layer; changes in another Allocation are not shared automatically. Lifecycle and data-plane operations flow through Axern public APIs; SDKs do not add SSH or shell fallbacks for platform behavior.
Axern publishes the CLI, Helm chart, runtime images, and all three SDKs under one repository version. Python and TypeScript use public package registries; Go uses the versioned sdk/go module. Treat a pre-1.0 Axern release as one coherent unit, and commit your package-manager lockfile or resolved go.mod version for repeatable builds.