The Short Version
Your application calls StacyVM when it needs a clean runtime. StacyVM creates a sandbox, runs work inside it, streams output back, exposes files and previews, and destroys the environment when the task is done.Why StacyVM Exists
AI coding agents, workflow engines, and developer tools increasingly need to execute generated code. Running that code directly on your host is risky. Outsourcing every execution to a cloud sandbox can be expensive, slower, or difficult to govern. StacyVM sits in the middle: you keep the execution plane under your control while developers get a simple API.Advantages
Your runtime, network, logs, credentials, and certification boundary stay with you.
Agents get a simple API for shell, files, streaming output, and previews.
TTL cleanup, quotas, audit logs, typed errors, and conformance gates are built in.
Common Use Cases
Coding agents
Give agents a real shell and filesystem without giving them your host.
Code execution APIs
Run submitted snippets, scripts, tests, and generated code in short-lived environments.
Live app previews
Let users inspect web apps built inside sandboxes through preview URLs.
Internal automation
Run build, migration, analysis, or validation jobs with consistent cleanup.
Comparison
Mental Model
Think of StacyVM as a control plane in front of many possible sandbox runtimes.What StacyVM Is Not
- It is not a promise that every provider is safe on every host. You must certify runtime claims.
- It is not a replacement for application-level authentication.
- It is not a general Kubernetes distribution.
- It is not a reason to run unbounded user code without TTLs, quotas, and audit logging.
Next Steps
- Start with the quickstart.
- Review the system architecture.
- Build the Python example app or TypeScript example app.

