General Questions
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 starts in ~100ms and provides complete isolation.How fast are sandboxes?
Sandboxes start in approximately 100ms (cold start time). This is much faster than traditional containers or VMs.What languages are supported?
You can execute code in:- Python
- JavaScript/TypeScript
- Bash (shell)
- Go
- .NET (C#)
- Java
- PHP
How secure are sandboxes?
Each sandbox is completely isolated:- Separate filesystem
- Separate network namespace
- Separate process tree
- Resource limits enforced
- Encrypted storage
Usage Questions
How do I get started?
- Get your API key from the dashboard
- Install the SDK:
pip install hopx-aiornpm install @hopx-ai/sdk - Create your first sandbox (see Quickstart)
How much do sandboxes cost?
Pricing is based on:- Sandbox runtime (per second)
- Resources used (CPU, memory, disk)
- Data transfer
Can I reuse sandboxes?
Yes! Reusing sandboxes for multiple operations is recommended and more cost-effective than creating new ones for each operation.How long can sandboxes run?
Sandboxes can run for up to 24 hours (configurable). They automatically delete after inactivity or max lifetime.Technical Questions
What templates are available?
Common templates include:code-interpreter: Python with data science libraries (Pandas, NumPy, Matplotlib)- Custom templates: Build your own with the template builder API
Can I build custom templates?
Yes! You can build custom templates with pre-installed packages and configurations. See the Custom Templates tutorial.How do I handle errors?
Use try-except blocks and check error types. See the Error Handling guide for best practices.What are rate limits?
Rate limits vary by plan. Default limits:- Sandbox Creation: 100 requests/minute
- Code Execution: 1000 requests/minute
Support Questions
Where can I get help?
- Discord: Join our Discord community
- GitHub: Open an issue on GitHub
- Email: Contact support at support@hopx.dev

