agentbox  by madarco

AI agent orchestration in sandboxed VMs

Created 2 months ago
295 stars

Top 89.5% on SourcePulse

GitHubView on GitHub
Project Summary

AgentBox addresses the complexity of managing multiple AI agent development environments by providing a unified command-line interface to run parallel, sandboxed virtual machines (VMs) on local machines or in the cloud. It targets developers, researchers, and power users who need isolated, reproducible, and easily deployable environments for AI agents, offering benefits such as simplified setup, parallel execution, and flexible cloud integration.

How It Works

AgentBox leverages Docker to create isolated "boxes" (VMs) for each agent. Its core "Teleport" feature allows projects, along with their settings, plugins, and IDE configurations (VS Code/Cursor), to be moved seamlessly to dedicated VMs, whether local or cloud-hosted. It supports automatic setup for AI models like Claude Code and Codex, providing dedicated browsers, screen sharing, and persistent shells. Novel "Checkpoints" enable sub-second startup of new boxes from saved states, with automatic pausing to conserve resources when idle. Security is maintained by keeping local Git credentials on the host machine, requiring explicit permission for pushes.

Quick Start & Requirements

  • Primary install: npm -g install @madarco/agentbox
  • Prerequisites: macOS (arm64 or Intel) or Linux, Docker (Docker Desktop or OrbStack), Node.js >=20.10. The initial agentbox install command builds the agentbox/box:dev Docker image (~1 GB, one-time).
  • Cloud Setup: Optional interactive setup wizard (agentbox install --interactive) and provider-specific login commands (e.g., agentbox vercel login, agentbox hetzner login).
  • Documentation: Full documentation is available at agent-box.sh/docs.

Highlighted Details

  • Run multiple AI agents in parallel, sandboxed VMs with a single command.
  • Supports local Docker and various cloud providers including Hetzner, Vercel, Daytona, E2B, and DigitalOcean.
  • "Teleport" functionality to move projects between local and cloud environments seamlessly.
  • Sub-second startup of new boxes from checkpoints and auto-pause for resource efficiency.
  • Integrated VS Code/Cursor support via Dev Containers and portless/OrbStack for consistent local/in-box URLs.

Maintenance & Community

The project is authored by Marco D'Alia (@madarco). No specific community channels (like Discord/Slack) or sponsorship details were found in the provided README.

Licensing & Compatibility

The project is licensed under the MIT license, which is permissive for commercial use and integration into closed-source projects.

Limitations & Caveats

Daytona cloud provider support is noted as "Partial," and Hetzner live snapshots are marked as "Experimental." The system requires macOS or Linux and Docker to be installed.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
117
Issues (30d)
1
Star History
153 stars in the last 30 days

Explore Similar Projects

Starred by Junyang Lin Junyang Lin(Core Maintainer at Alibaba Qwen), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
2 more.

OpenSandbox by opensandbox-group

0.2%
12k
Sandbox platform for AI and LLM applications
Created 7 months ago
Updated 19 hours ago
Feedback? Help us improve.