HopX
Secure sandboxes for AI agents to run untrusted code safely
What is HopX? Complete Overview
HopX by Bunnyshell provides blazing-fast, secure sandboxes for running untrusted code in isolated Linux micro-VMs. Designed for AI agents, LLM execution, and secure MCP infrastructure, HopX enables developers to safely execute user-submitted or AI-generated code with hardware-level isolation. The platform offers near-instant startup times (~100ms), unlimited runtime, and supports multiple programming languages including Python, JavaScript, Go, .NET, Java, and PHP. With its simple SDK and powerful APIs, HopX is ideal for building AI agents, data analysis notebooks, autonomous workflows, and more while ensuring security and stability.
HopX Interface & Screenshots

HopX Official screenshot of the tool interface
What Can HopX Do? Key Features
Millisecond Startup
HopX sandboxes launch in ~100ms from prebuilt snapshots, enabling near-instant cold starts compared to traditional containers or serverless functions that take seconds or minutes to initialize.
VM-Level Isolation
Utilizing Firecracker microVMs, HopX provides hardware-level security and kernel isolation that far surpasses container-based solutions, ensuring complete separation between host and guest environments.
Unlimited Runtime
Unlike serverless functions with strict time limits, HopX sandboxes can run continuously for hours, days, or weeks with full state persistence, making it ideal for long-running AI agents and workflows.
Multi-Language Support
HopX supports execution of Python, JavaScript, and other languages with rich output capture, allowing developers to work in their preferred programming environment.
Real-time Streaming
The platform offers WebSocket-based real-time streaming of code execution output, enabling immediate feedback and monitoring of running processes.
Full Filesystem Access
Developers can upload, download, and watch files with complete filesystem access within the sandbox, while maintaining strict isolation from the host system.
Process Management
HopX provides APIs to start, monitor, and manage long-running background processes, essential for complex AI agent implementations.
Desktop Automation
Advanced capabilities include controlling desktop environments, automating GUI interactions, and handling browser automation for comprehensive testing scenarios.
Best HopX Use Cases & Applications
AI Agent Development
Developers can safely execute LLM-generated code in isolated environments, enabling the creation of autonomous AI agents that can write and run code without compromising host system security.
Data Analysis Notebooks
Data scientists can spin up Jupyter notebooks with ML libraries preinstalled, benefiting from persistent IPython kernels and rich output visualization capabilities while maintaining security.
Secure Code Evaluation
Platforms that need to execute user-submitted code (like coding challenge websites or educational platforms) can use HopX to safely run untrusted code submissions with complete isolation.
Continuous Research Agents
Researchers can deploy autonomous agents that gather and analyze data continuously over extended periods, with no arbitrary timeouts and full state persistence.
Multi-Agent Systems
Teams can coordinate specialized agents across a mesh of isolated micro-VMs, orchestrated via frameworks like LangGraph or AutoGen with fine-grained resource control.
How to Use HopX: Step-by-Step Guide
Install the HopX SDK for your preferred language (e.g., npm install @hopx-ai/sdk for JavaScript/TypeScript or equivalent for other supported languages).
Import the Sandbox module in your code and authenticate using your API key (available after signing up for HopX).
Create a new sandbox instance by specifying a template (e.g., 'code-interpreter') which defines the preconfigured environment for your execution.
Execute code within the sandbox using the runCode method, which supports multiple languages and provides rich output capture including stdout, stderr, and execution results.
Monitor execution in real-time through WebSocket streams or retrieve results after completion, with options for file operations and process management as needed.
Clean up by killing the sandbox instance when done, with the option to persist state if required for future sessions.
HopX Pros and Cons: Honest Review
Pros
Considerations
Is HopX Worth It? FAQ & Reviews
A Bunnyshell Sandbox is an isolated Linux micro-VM that launches in milliseconds, providing a secure environment to run untrusted code with hardware-level isolation using Firecracker technology.
HopX offers superior security through VM-level isolation (unlike containers which share a host kernel), faster cold starts (~100ms vs seconds/minutes), and no arbitrary runtime limits unlike serverless functions.
No, you can start using HopX without a credit card and receive $200 in free credits to explore the platform's capabilities.
HopX provides state persistence options, allowing you to recover from failures. For critical workloads, you can implement checkpointing using the snapshot functionality.
HopX supports multiple languages including Python, JavaScript, and others through its execution environment, with SDKs available for Python, JS/TS, Go, .NET, Java, and PHP.