
AI代理的一站式沙盒,将浏览器、Shell、文件、MCP和VSCode Server集成在一个Docker容器中。
概览
🌐 浏览器 |💻终端 |📁文件 |🔧 VSCode |📊 Jupyter |🤖 MCP 对于可复现的部署,请固定一个发布标签。用你想要的版本替换1.11.0: 这些示例是有意将主机端绑定到127.0.0.1,因为沙箱在容器内监听的是0.0.0.0。对于云部署,保持8080端口私有,并通过反向代理或Ingress:云部署指南发布。 运行后,访问环境:- 📖 : http://localhost:8080/v1/docs - 🌐 : http://localhost:8080/vnc/index.html?autoconnect=true - 💻 : http://localhost:8080/code-server/ - 🤖 : http://localhost:8080/mcp AIO 沙盒是一个将浏览器、Shell、文件、MCP 操作和 VSCode 服务器集成在单一 Docker 容器中的代理沙箱环境。它基于云原生的轻量级沙箱技术,为 AI 代理和开发者提供了一个统一且安全的执行环境。
概述(AI 翻译)
🌐 浏览器 |💻终端 |📁文件 |🔧 VSCode |📊 Jupyter |🤖 MCP
🌐 网站 & nbsp   |  🔌 API    |  📑 纸张    |  🌟 示例    |  📊 评估   
🚀 快速启动
30秒内启动:
对于中国大陆的用户:
对于可复现的部署,请固定一个释放标签。将1.11.0替换为你想要的释放:
这些示例有意将主机端绑定到 127.0.0.1,因为沙箱在容器内部监听 0.0.0.0。对于云部署,保持端口 8080 私有,并通过反向代理或 Ingress: Cloud Deployment Guide发布。
运行后,访问环境:
- 📖 文档:http://localhost:8080/v1/docs
- 🌐 VNC 浏览器:http://localhost:8080/vnc/index.html?autoconnect=true
- 💻 VSCode 服务器: http://localhost:8080/code-server/
- 🤖 MCP服务:http://localhost:8080/mcp
🎯 什么是AIO Sandbox?
AIO 沙箱是一个一体化代理沙箱环境,将浏览器、Shell、文件、MCP 操作和 VSCode 服务器集成在一个 Docker 容器中。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
AIO Sandbox - All-in-One Agent Sandbox Environment
🌐 Browser | 💻 Terminal | 📁 File | 🔧 VSCode | 📊 Jupyter | 🤖 MCP
🚀 Quick Start
Get up and running in 30 seconds:
# Recommended: Enable API Key authentication (protects all services: API, JupyterLab, VNC)
# - Supports three methods: X-AIO-API-Key header, Authorization: Bearer header, ?api_key= query parameter
# - Without SANDBOX_API_KEY, services remain open (backward compatible)
docker run --security-opt seccomp=unconfined --rm -it \
-e SANDBOX_API_KEY=your-secret-key \
-p 127.0.0.1:8080:8080 ghcr.io/agent-infra/sandbox:latest
For users in mainland China:
docker run --security-opt seccomp=unconfined --rm -it \
-e SANDBOX_API_KEY=your-secret-key \
-p 127.0.0.1:8080:8080 enterprise-public-cn-beijing.cr.volces.com/vefaas-public/all-in-one-sandbox:1.11.0
For reproducible deployments, pin a release tag. Replace 1.11.0 with the release you want:
docker run --security-opt seccomp=unconfined --rm -it \
-p 127.0.0.1:8080:8080 ghcr.io/agent-infra/sandbox:1.11.0
# or use the pinned mainland China mirror
docker run --security-opt seccomp=unconfined --rm -it \
-p 127.0.0.1:8080:8080 enterprise-public-cn-beijing.cr.volces.com/vefaas-public/all-in-one-sandbox:1.11.0
These examples intentionally bind the host side to 127.0.0.1 because the sandbox listens on 0.0.0.0 inside the container. For cloud deployment, keep port 8080 private and publish it through a reverse proxy or Ingress: Cloud Deployment Guide.
Once running, access the environment at:
安装
docker run --security-opt seccomp=unconfined --rm -it \