sandbox_lifecycle
Sandbox Lifecycle
Receive real-time notifications for sandbox lifecycle events including creation, termination, updates, pause, resume, and snapshots.
Create, manage, and terminate secure cloud sandbox environments (lightweight Linux VMs) for executing AI-generated code. Run Python, JavaScript, and other code in isolated Jupyter-based interpreters with stateful sessions. Execute shell commands, install packages, and manage processes. Perform filesystem operations including creating, reading, writing, deleting, uploading, and downloading files. Pause and resume sandboxes to preserve full state including memory and running processes. Create snapshots of running sandboxes to rapidly spin up new instances from a known state. Build custom sandbox templates from Dockerfiles with configurable CPU, memory, and dependencies. Control desktop GUI environments with programmatic mouse, keyboard, screenshot, and streaming capabilities. Configure port forwarding for network access, connect external storage buckets, and manage MCP server integrations. Register webhooks for sandbox lifecycle events (created, updated, killed).
Common questions about connecting E 2 B to AI agents with Metorial.