What are Hopx Sandboxes?
Hopx Sandboxes are secure, isolated cloud virtual machines that enable you to run AI-generated code, execute multi-language programs, and perform complex computations in production-like environments. Each sandbox is a fully isolated microVM that starts in ~100ms and provides complete filesystem access, code execution capabilities, desktop automation, and real-time streaming — all accessible through production-ready SDKs in Python and JavaScript/TypeScript. With Hopx Sandboxes, you can execute code in Python, JavaScript/TypeScript, Bash (shell), Go, .NET (C#), Java, and PHP; manage files and directories; run shell commands; control processes; automate desktop GUI interactions via VNC; stream execution output in real-time; build custom VM templates; and integrate seamlessly with LLMs, CI/CD pipelines, and data workflows — all with enterprise-grade security, automatic retries, error handling, and comprehensive observability.- Isolation: Each sandbox runs in a separate VM for strong security boundaries.
- Ephemeral: Sandboxes start in ~100ms and can be discarded or rebuilt at any time.
- Versatile: Ideal for code execution by LLMs, automated testing, data analysis, desktop automation, and more.
- Managed: No DevOps or server setup—just run your code through simple SDK calls.
- Templatized: Sandboxes can be created from pre-configured templates or custom-built templates using our fluent template builder API.
- Multi-Language SDKs: Production-ready SDKs for Python and JavaScript/TypeScript with consistent APIs and full feature parity.
AI Fast
~100ms cold start • MicroVM technology • Template-based instant VMs
Secure by Default
True VM isolation • JWT authentication • Complete sandbox separation
Production Ready
2 SDKs (Python, JavaScript/TypeScript) • Auto-retry • Enterprise observability
Getting Started
Ready to start building? Follow our comprehensive guides to get up and running quickly.Quickstart
Get your first sandbox running in 2 minutes
Installation
Install the SDK for Python or JavaScript
Authentication
Set up API keys and authentication
Popular Use Cases
AI Code Interpreter
Build ChatGPT-style code execution for AI assistants. Run untrusted AI-generated code safely.
Data Analysis Pipelines
Process CSV/Excel files, generate reports, create visualizations. Pandas + NumPy + Matplotlib.
Automated Testing
Run integration tests in isolated environments. Parallel test execution. Clean state every time.
LLM Integration
Connect OpenAI, Anthropic, Google AI. Let LLMs write and execute code autonomously.
What Makes Us Different?
100ms Cold Starts
10x faster than traditional containers. Start sandboxes in ~100ms.
True Isolation
VMs, not containers. Complete isolation between sandboxes. Zero security compromises.
Rich Output
Auto-capture Matplotlib charts, Pandas tables, HTML, images. Beautiful data visualization.
Global Scale
Deploy to 6 regions worldwide. Auto-scale to millions of concurrent sandboxes.
Developer First
Best-in-class SDKs for Python & JavaScript. Full TypeScript support. Amazing DX.
LLM Optimized
Built for AI agents. Structured errors, request tracing, deterministic execution.
Learn More
Core Concepts
Learn about sandboxes, templates, lifecycle, architecture, and core features.
Python SDK
Complete Python SDK documentation with examples and API reference.
JavaScript SDK
TypeScript-first SDK with full IntelliSense and type safety.
API Reference
Complete REST API documentation with examples and endpoints.

