Compute
Provision persistent sandbox environments, run ephemeral code, deploy web apps to live preview URLs, and run serverless jobs — with tier-based per-second pricing and no infrastructure setup.
Call it from an agent step
Section titled “Call it from an agent step”Sandboxes are on the typed ctx.sapiom.* client, so sapiom_dev_agents_check validates the call at author time:
const sandbox = await ctx.sapiom.sandboxes.create({ name: "build-env", tier: "s", // xs | s | m | l | xl ttl: "1h",});create / get / list / attach manage sandboxes; attach returns a live handle for process, filesystem, and network operations. Autocomplete surfaces the full input and response types. See Using Capabilities.
Call it directly (no agent)
Section titled “Call it directly (no agent)”From Claude Code or Codex, reach compute—sandboxes, one-shot code runs, and serverless jobs—through Sapiom Cloud MCP. Ask for the outcome in ordinary language; your coding agent can discover the current tool and input contract. To deploy and preview a web app while authoring an agent project, use Sapiom Project MCP.
From your own code
Section titled “From your own code”Outside an agent, call the same capability through the typed client—see the @sapiom/tools package:
const sandboxes = await sapiom.sandboxes.list();© 2026 Sapiom, Inc.