| title | StacyVM |
|---|---|
| description | Self-hosted sandbox infrastructure for running agent code in isolated, disposable environments. |
StacyVM gives your applications disposable execution environments for AI agents, code runners, browser previews, and automation workflows. You keep control of the runtime, network, credentials, and audit trail while developers get a simple API and SDK.
Understand the product, use cases, advantages, and where it fits. Run one command, verify the server, execute code, and clean up. Check the host, runtime, CLI, SDK, and production requirements before you start. Start a local server, create a sandbox, run code, and destroy it. See the control plane, scheduler, workers, providers, store, and sandbox lifecycle. Build Python and TypeScript services that run code inside StacyVM. Use StacyVM from Python services, jobs, and agent frameworks. Use StacyVM from Node.js, web backends, and TypeScript agents.- Run untrusted or generated code in short-lived sandboxes.
- Give coding agents a filesystem, shell, and live preview URL without exposing your host.
- Route sandbox work across Docker, Firecracker, PRoot, local providers, or remote workers.
- Track quotas, audit events, runtime health, and production readiness evidence.
- Integrate through REST, Python, or TypeScript.
from stacyvm import Client
client = Client(
base_url="http://localhost:7423",
api_key="sk_test_YOUR_API_KEY",
)
with client.spawn(image="python:3.12", ttl="10m") as sandbox:
result = sandbox.exec("python3 -c 'print(40 + 2)'")
print(result.stdout)import { Client } from "stacyvm";
const client = new Client({
baseUrl: "http://localhost:7423",
apiKey: "sk_test_YOUR_API_KEY",
});
await client.withSandbox({ image: "node:20", ttl: "10m" }, async (sandbox) => {
const result = await sandbox.exec("node -e 'console.log(40 + 2)'");
console.log(result.stdout);
});For public deployments, only claim support for runtimes you have certified on the target host.