sandbox  by agent-infra

Containerized sandbox for AI agent development and execution

Created 2 months ago
646 stars

Top 51.7% on SourcePulse

GitHubView on GitHub
Project Summary

All-in-One Sandbox for AI Agents that combines Browser, Shell, File, MCP and VSCode Server in a single Docker container. It provides a unified, secure execution environment for AI agents and developers, streamlining workflows by integrating multiple functionalities and overcoming the limitations of single-purpose sandboxes.

How It Works

Built on cloud-native lightweight sandbox technology, AIO Sandbox consolidates browser, shell, file operations, VSCode Server, and MCP services within a single Docker container. Its core advantage is a unified filesystem, ensuring files accessed via the browser are immediately available in shell or file operations. It offers diverse interfaces like VNC, VSCode, Jupyter, and a terminal, all within a secure, zero-configuration environment ready for AI agent integration via MCP-compatible APIs.

Quick Start & Requirements

  • Docker: Run docker run --rm -it -p 8080:8080 ghcr.io/agent-infra/sandbox:latest. A separate image is available for users in mainland China.
  • SDKs: Install via pip install agent-sandbox (Python), npm install @agent-infra/sandbox (TypeScript/JavaScript), or go get github.com/agent-infra/sandbox-sdk-go (Golang).
  • Prerequisites: Docker installation. SDKs require respective language environments.
  • Access: The environment is accessible at http://localhost:8080/ for VNC Browser, VSCode Server, and MCP services. Documentation is available at http://localhost:8080/v1/docs.

Highlighted Details

  • Unified Environment: Seamless workflows enabled by a shared filesystem across browser, VSCode, shell, and file operations.
  • Browser Automation: Supports VNC for visual interaction, CDP for programmatic control, and MCP for high-level automation.
  • Integrated Development Tools: Includes VSCode Server, Jupyter Notebook, WebSocket-based terminal, and port forwarding for web app previews.
  • MCP Integration: Pre-configured Model Context Protocol servers for browser, file, shell, document processing (Markitdown), and research paper access (Arxiv).

Maintenance & Community

Developed by the Agent Infra team, the project welcomes contributions via its Contributing Guide. Community support is available through GitHub Discussions and an Issue Tracker.

Licensing & Compatibility

Released under the permissive Apache License 2.0, allowing for commercial use and integration into closed-source projects.

Limitations & Caveats

The README does not specify alpha status, known bugs, or unsupported platforms. Deployment configurations suggest recommended resource limits of 2GB memory and 1000m CPU per container.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
22
Issues (30d)
13
Star History
651 stars in the last 30 days

Explore Similar Projects

Starred by Jared Palmer Jared Palmer(SVP at GitHub; Founder of Turborepo; Author of Formik, TSDX), Shawn Lewis Shawn Lewis(Cofounder of Weights & Biases), and
4 more.

arrakis by abshkbh

1.4%
638
Sandboxing solution for AI agent code execution and computer use
Created 1 year ago
Updated 4 months ago
Starred by Joe Walnes Joe Walnes(Head of Experimental Projects at Stripe), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
22 more.

E2B by e2b-dev

0.4%
10k
Open-source cloud runtime for AI apps and agents
Created 2 years ago
Updated 6 hours ago
Feedback? Help us improve.