AgentBox Documentation
What is AgentBox?
Section titled “What is AgentBox?”Tip: The linux_arm64 platform will be available soon, offering better cost efficiency and lower resource consumption.
AgentBox is an infrastructure that lets you run AI-generated code in secure, isolated Sandboxes in the cloud. To start and control Sandboxes, use the Python SDK.
AgentBox supports x86 and Android platforms, so you can create Sandboxes on the platform that fits your needs.
Common use cases include AI data analysis and visualization, running AI-generated code, providing a playground for coding agents, and hosting code-generation evaluations.
Next Steps
Section titled “Next Steps” Getting Started This Getting Started guide will walk you through setting up your first AgentBox Sandbox and introduce you to the core concepts.
Lifecycle Learn about the lifecycle of a sandbox, from creation to shutdown.
Persistence Learn how to pause and resume a sandbox to maintain its state.
Metadata Attach and retrieve metadata from your sandboxes.
Environment Variables Set and manage environment variables within the sandbox.
Commands Execute commands inside the sandbox and handle their output.
List Sandboxes Learn how to list all your running and stopped sandboxes.
Connect to Sandbox Connect directly to a running sandbox for interactive sessions.
Internet Access Configure and manage internet access for your sandboxes.
ADB Shell Use adb_shell to run commands, transfer files, and manage APKs in Android sandboxes.
Sandbox Template Learn how to create custom sandbox templates using the AgentBox CLI.
Start Command Specify a command to run automatically when your custom sandbox starts.
Ready Command Define a command to check for sandbox readiness before creating a template snapshot.
Customize CPU & RAM Learn how to customize CPU and RAM for your sandbox templates.
Read & Write Learn how to read and write files to the sandbox's filesystem.
Watch Directory Monitor a directory within the sandbox for any file changes.
Upload Data Upload files and data from your local machine to the sandbox.
Download Data Download files and data from the sandbox to your local machine.
Commands Run terminal commands inside a sandbox.
Streaming Learn how to stream output from commands running in the sandbox.
Background Commands Execute long-running commands in the background of the sandbox.
Installation Install the AgentBox CLI to manage sandboxes and templates from your terminal.
Authentication Authenticate with the AgentBox CLI to access your resources.
List Sandboxes Use the CLI to list all your active and stopped sandboxes.
Shutdown Sandboxes Learn how to shut down sandboxes using the AgentBox CLI.
Python SDK Install the Python SDK to programmatically control your sandboxes.