@sandblocks/sdk
v0.6.1
Published
Readme
@sandblocks/sdk
Programmatic Sandblocks sandbox and agent orchestration for Node.js, Bun, and TypeScript.
npm install --save-dev @sandblocks/sdk
npx sandblocks-sdk initimport { run, CodexAgent } from "@sandblocks/sdk";
import { DockerProvider } from "@sandblocks/sdk/providers/docker";
const result = await run({
provider: new DockerProvider({ image: "node:22-bookworm" }),
agent: new CodexAgent({ model: "gpt-5.3-codex" }),
prompt: "Implement and verify the requested change.",
});See docs/SDK.md in the Sandblocks repository for providers, reusable sandboxes, hooks, worktrees, logging, structured output, security, and CLI parity.
