项目介绍
Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测
AgentBox 是一个用 TypeScript 编写的命令行工具,定位是「让多个智能体并行运行」:用一条命令把当前项目「传送」到独立的沙箱环境(本地 Docker 容器,或 Hetzner、Vercel、Daytona、E2B、DigitalOcean 等云端虚拟机),在其中启动编码智能体,并可同时开多个盒子分别处理不同任务。
按仓库 README,它支持 Claude Code、Codex、Open Code 三类智能体,并能自动带上你的 skills、插件与设置。需要强调:AgentBox 本身不是智能体,而是承载和调度智能体的运行环境与命令行外壳,实际推理能力来自你接入的上述智能体。
核心能力
点击能力名称查看输入、输出和原文依据。
- Teleport:一条命令将项目迁移到本地或云端的专用虚拟机。
- 自动继承配置:为 Claude Code、Codex、Open Code 带入 skills、插件与设置。
- 完整「计算机」环境:每个盒子带独立浏览器、屏幕共享(VNC/noVNC)、持久 shell,以及预热的 VS Code / Cursor IDE。
- 检查点:可从既有检查点启动新盒子,README 描述为亚秒级启动,并在闲置时自动暂停以节省资源。
- 访问方式:
agentbox url打开盒子内 Web 应用、agentbox screen打开 VNC、agentbox code用 Dev Containers 扩展连接 VS Code/Cursor、agentbox shell进入交互式 bash、agentbox dashboard查看状态并在智能体会话间切换。 - 生命周期与同步:
start/stop/pause/destroy、download(按 gitignore 回传 workspace)、cp、checkpoint等命令。
实际应用场景
适用场景
适合需要让多个编码智能体同时处理不同分支或任务的开发者:例如一个盒子跑重构、另一个跑测试修复,并通过 dashboard 切换查看;也适合希望在本地机器之外(自有远程 Docker 主机或云厂商)运行智能体、又不想污染本机环境的用户。若只需单个智能体在日常编辑器中工作,则未必需要额外的沙箱编排层。
安装与接入
README 给出的安装方式为通过 npm 全局安装:
npm -g install @madarco/agentbox
agentbox install
随后可用 agentbox claude 创建盒子并启动 Claude Code。前置要求为:macOS(arm64 或 Intel)或 Linux、Docker(Docker Desktop 或 OrbStack)、Node >=20.10;首次创建会构建约 1 GB 的 agentbox/box:dev 镜像。云端为可选项,需通过 agentbox install 交互向导或各自的 login 命令配置厂商凭据。README 还提到 nightly 频道:npm -g install @madarco/agentbox@nightly。
使用条件与限制
- 是否需要部署
- 需自行准备运行环境,具体要求见正文
- 是否需要注册
- 账号和认证要求见正文;未明确说明的项目仍待核验
- 是否需要 API Key
- 待核验
- 费用与额度
- 费用边界见正文,项目许可不代表模型或托管服务免费
- 所需权限
- 待核验
- 许可证与服务条款
- 待核验
权限费用与限制
- 凭据:README 称 git 凭据保留在本地机器,推送远端仓库需要授权请求;云端厂商令牌保存在
~/.agentbox/secrets.env,具体加密与隔离强度待核验。 - 费用:AgentBox 自身为开源代码,但 Hetzner、Vercel、Daytona、E2B、DigitalOcean 等云资源通常按厂商计费,具体价格须向各厂商核验;README 未给出价格。
- 模型费用:Claude Code、Codex 等智能体的模型调用额度与费用由对应服务决定,README 未说明。
- 平台限制:README 仅列出 macOS 与 Linux,未声明 Windows 原生支持,Windows 下是否可用待核验。
- 国内使用:README 未提及中国大陆网络、镜像或合规情况,境外云厂商可达性与数据出境问题待核验。
国内使用情况
网友核验 用户经验分享
与站长实测独立,不代表官方认证或本站已实测。
最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。
分项统计、有效期与样本量
| 核验项目 | 有效人数 | 成功 / 部分 / 失败 / 无法判断 | 成功率 | 最近核验 / 有效期 |
|---|---|---|---|---|
| 官方网站访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| GitHub 仓库访问 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 安装与运行 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 官方服务国内连接 / MCP 连接 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 国内网络情况 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 7 天 |
| 国内模型兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 自定义 API | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外服务依赖 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 海外账号要求 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 中文界面 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 客户端兼容性 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
| 账号及费用信息 | 0 | 0 / 0 / 0 / 0 | 样本不足 | 暂无 / 30 天 |
成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。
最近有效核验
暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。
查看全部有效核验 →国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。
- 官方网站访问
- 尚未实测 待核验
- GitHub 仓库访问
- 尚未实测 待核验
- 官方服务国内连接
- 尚未实测 待核验
- 国内网络情况
- 尚未实测 待核验
- 国内模型兼容性
- 尚未实测 待核验
- 自定义 API
- 尚未实测 待核验
- 海外服务依赖
- 尚未实测 待核验
- 海外账号要求
- 尚未实测 待核验
- 中文界面
- 尚未实测 待核验
- 国内最后核验时间
- 尚未实测
许可与国内使用
仓库 LICENSE 为 MIT,版权声明为 Copyright (c) 2026 Marco D'Alia,代码层面允许复制、修改、分发。但开源许可不覆盖云端厂商服务、第三方智能体及其模型服务,这些需另行遵循各自条款,费用亦可能独立产生。README 未说明服务部署地域、数据存储位置及国内合规适配,相关内容均需向官方核验。
官方文档位于 https://agent-box.sh/docs ,可查阅快速开始、配置、云厂商接入与 CLI 参考。
项目资料与来源
字段依据与待核验事项
access:来源确认 · npm -g install @madarco/agentbox
project_type:来源确认 · Run multiple agents in parallel, with a single command, on your PC, self-hosted, or in the cloud
原始 README(折叠技术参考)
<h1 style="font-weight:normal"> AgentBox <a href="./LICENSE"><img src="https://img.shields.io/github/license/madarco/agentbox.svg?colorB=ff0000"></a> <a href="https://www.npmjs.com/package/@madarco/agentbox"><img src="https://img.shields.io/npm/d18m/%40madarco%2Fagentbox?label=npm" /></a> <img src="https://img.shields.io/github/stars/madarco/agentbox" /> </h1> Run multiple agents in parallel, with a single command, on your PC, self-hosted, or in the cloud Works with [iterm2](https://agent-box.sh/docs/integrations-iterm2) - [cmux](https://agent-box.sh/docs/integrations-cmux) - [tmux](https://agent-box.sh/docs/integrations-tmux) - [Herdr](https://agent-box.sh/docs/integrations-herdr) <br> <p align="center">  </p> ## How it works ```sh agentbox claude # launch a new VM with claude and your project inside ``` - 📦 **Teleport** - Move your project to a dedicated VM, local or in the cloud, with a single command. - 🤖 **Automatic** - Bring all your skills, plugins, and settings for **Claude Code**, **Codex**, **Open Code** - 🌐 **A full Computer** — Dedicated browser, screen sharing, persistent shells and warmed up VS Code / Cursor IDE, with each box. - 💾 **Checkpoints** — Sub <1s startup of new boxes from a previous checkpoint, auto pause to save cost/resources when not in use. - 🔒 **Safe** - Your git credentials are kept on your local machine, with permission requests to push to the remote repository. Full [Documentation](https://agent-box.sh/docs) ### Complete setup: ```sh npm -g install @madarco/agentbox agentbox install # Launch a new VM with claude, copy all your settings and workspace agentbox claude # Also install required project libraries and launch your dev server > Run setup wizard? -> Yes # Also use a cloud: agentbox hetzner claude # or vercel, daytona # Ctrl+a d to detach, claude keep going, to reconnect later: agentbox attach 1 # To open a persistent shell inside the box: agentbox shell 1 # Create a second box: agentbox claude agentbox attach 2 agentbox shell 2 # Open your web project on a .local url tunnel on your pc agentbox url 2 # Or the in-box browser via webVNC: agentbox screen 2 # Or connect to vscode/cursor inside the box: agentbox code 2 # See status and quickly switch between agents: agentbox dashboard ``` ## Demo  ## Install ```sh npm -g install @madarco/agentbox ``` Want to help test what's coming? `npm -g install @madarco/agentbox@nightly` puts you on the [nightly channel](https://agent-box.sh/docs/nightly) — pre-release builds, with stable releases still reaching you automatically. `agentbox self-update --channel stable` opts back out. Requirements: macOS (arm64 or Intel) or Linux, Docker ([Docker Desktop](https://www.docker.com/products/docker-desktop/) or [OrbStack](https://orbstack.dev/)), Node `>=20.10`. The first `agentbox create` / `agentbox claude` builds the `agentbox/box:dev` image (~1 GB, one-time). Uses `portless` to give box web apps the same URL from inside the box and on the host. ## Cloud Providers | | local docker | remote docker | hetzner | daytona | vercel | e2b | | ------------------- | ------------------------- | ---------------------- | ---------------------- | ------------------ | ------------------ | ------------------ | | Support | ✅ | ✅ | ✅ | ⚠️ Partial | ✅ | ✅ | | Base image | Dockerfile | Dockerfile (on the remote) | Setup script (Ubuntu) | Dockerfile | Setup script | Dockerfile (`Template.build`) | | Live snapshots | ✅ | ✅ (`docker commit`) | ✅ | 🧪 Experimental | ✅ | ✅ | | Private preview URLs| ✅ (portless or OrbStack) | ✅ (portless over SSH) | ✅ (portless) | ✅ (native) | ✅ (native) | ✅ (native) | **Cloud setup** (optional — skip for local Docker) - `agentbox install` — interactive setup wizard to choose which providers to use and configure them. - `agentbox vercel login` — interactive Vercel Sandbox token setup, saved to `~/.agentbox/secrets.env` - `agentbox hetzner login` — interactive Hetzner Cloud token setup, saved to `~/.agentbox/secrets.env` - `agentbox daytona login` — interactive Daytona API key setup, saved to `~/.agentbox/secrets.env` - `agentbox e2b login` — interactive E2B API key setup, saved to `~/.agentbox/secrets.env` - `agentbox digitalocean login` — interactive DigitalOcean Personal Access Token setup, saved to `~/.agentbox/secrets.env` - `agentbox remote-docker doctor <host>` — run boxes on a machine you already own, over SSH. No login and no token: it connects as you, using your own `~/.ssh/config`. Then `agentbox docker:<host> claude`. - `agentbox prepare [--provider daytona|hetzner|vercel|e2b|digitalocean|docker:<host>]` — build the image and initial snapshot (e2b builds from a Dockerfile via `Template.build()`) - `agentbox hetzner claude`, `agentbox hetzner codex`, `agentbox hetzner create`, etc. ## How to use `<box>` is optional almost everywhere — it defaults to the box for the current project, or use its short index (`1`, `2`, …), name, or id prefix. **Create & run** - `agentbox create` — Create and start a new agent box (Docker container with FUSE overlay) - `agentbox claude` — Create a sandboxed box and launch Claude Code in a detachable tmux session **Access** - `agentbox url` — Open a box's web app URL in the browser (even with no `expose:` service) - `agentbox screen` — Open a box's VNC (noVNC) viewer in the browser - `agentbox code` — Open a box in VS Code or Cursor via the Dev Containers extension - `agentbox shell` — Open an interactive bash shell in a box - `agentbox open` — Open a box's merged workspace in Finder - `agentbox logs` — Print recent log lines from a box service; `-f` to stream - `agentbox dashboard` — Box list + the selected box's live agent session **Inspect** - `agentbox list` (`ls`) — List boxes in current project or `-g` for all - `agentbox status` — Show service + task status from a box's `agentbox-ctl` daemon - `agentbox top` — Live resource monitor (cpu/mem/pids/disk) for a box, project, or all boxes **Lifecycle** - `agentbox start` — Start a stopped box (docker start + re-mount the FUSE overlay) - `agentbox stop` — Stop a box (preserves the upper volume, `node_modules` included) - `agentbox destroy` (`rm`) — Destroy a box and discard its upper volume - `agentbox pause` / `agentbox unpause` — Freeze / resume a box (sub-second) **Sync & state** - `agentbox download` — Download a box's `/workspace` back into your host workspace (gitignore-aware) - `agentbox cp <src> [dst]` — Copy individual files between host and box (like `docker cp`; direction picked by `name:` prefix) - `agentbox checkpoint` (alias `checkpoints`) — List and manage project checkpoints (warm box state to start new boxes from); bare command lists, `checkpoint create` captures **Advanced** - `agentbox wait` — Block until the box reports all autostart units ready - `agentbox prune` — Clean up orphan state records (and with `--all`, orphan docker resources) - `agentbox self-update` — Update agentbox, wipe the box image so it rebuilds, reload the relay - `agentbox config` — Read / write layered config (global, per-project, workspace `defaults:`) - `agentbox relay` — Manage the host relay process (`status` / `stop` / `start` / `restart`) - `agentbox app` — Control the macOS menu-bar app process (`status` / `start` / `stop` / `restart`); install it with `agentbox install app` Run `agentbox <command> --help` for command-specific options. ## Documentation Full documentation lives at **[agent-box.sh/docs](https://agent-box.sh/docs)**: - [Quickstart](https://agent-box.sh/docs) and [Core concepts](https://agent-box.sh/docs/core-concepts) - [Teleport a project](https://agent-box.sh/docs/teleport-a-project), [Run an agent](https://agent-box.sh/docs/run-an-agent), [Access your box](https://agent-box.sh/docs/access-your-box) - [Configuration](https://agent-box.sh/docs/configuration), [Services & tasks](https://agent-box.sh/docs/services-and-tasks), [Sync & git](https://agent-box.sh/docs/sync-and-git) - Cloud providers: [Hetzner](https://agent-box.sh/docs/hetzner), [Daytona](https://agent-box.sh/docs/daytona), [Vercel](https://agent-box.sh/docs/vercel), [E2B](https://agent-box.sh/docs/e2b), [DigitalOcean](https://agent-box.sh/docs/digitalocean) - Full [CLI reference](https://agent-box.sh/docs/cli) ## Development ```sh git clone https://github.com/madarco/agentbox && cd agentbox pnpm install && pnpm build node apps/cli/dist/index.js --help ``` The full development workflow, stack, end-to-end smoke tests, and teardown live in [`docs/development.md`](./docs/development.md). ### Menu-bar tray app (dev) The macOS tray app lives in the sibling repo [`../agentbox-tray`](https://github.com/madarco/agentbox-tray). When you have it checked out next to this repo, these scripts build and run your **local** dev build (ad-hoc signed, at `../agentbox-tray/AgentBoxTray.app`) — separate from the notarized copy `agentbox install app` puts in `/Applications`: ```sh pnpm tray:dev # rebuild the dev .app and relaunch it (the one you'll use most) pnpm tray:build # just rebuild (scripts/make-app.sh) pnpm tray:start # launch the dev build pnpm tray:stop # quit any running instance pnpm tray:restart # quit + relaunch the dev build ``` > Note: `agentbox app start|restart` targets the **installed** `/Applications` copy, not this dev build. Use the `pnpm tray:*` scripts while iterating on the tray here; run `agentbox install app` to refresh `/Applications` from the current CLI build. ### Custom providers (plugins) AgentBox's provider surface is open — you can run agents on your own cloud/infra by shipping a **provider plugin** (its own npm package built on [`@madarco/agentbox-provider-sdk`](https://www.npmjs.com/package/@madarco/agentbox-provider-sdk)), with no changes to AgentBox. Build and test against the bundled example provider locally: ```sh # build the SDK, then build + register the example provider pnpm --filter @madarco/agentbox-provider-sdk build cd examples/agentbox-provider-example && npm install && npm run build node ../../apps/cli/dist/index.js plugin add . # register it node ../../apps/cli/dist/index.js doctor # shows the provider's group # verify the SDK artifact in isolation (packs + installs the tarball, asserts exports) pnpm --filter @madarco/agentbox-provider-sdk pack:test ``` Full guide: [Build a provider](https://agent-box.sh/docs/build-a-provider) (and the authoring reference [`docs/provider-plugins.md`](./docs/provider-plugins.md)). Reference packages: [`examples/agentbox-provider-sample`](./examples/agentbox-provider-sample) (stub) and [`examples/agentbox-provider-example`](./examples/agentbox-provider-example) (a real, Vercel-backed provider). # Contributing Bug reports, docs fixes, and provider work are welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md). First-time contributors sign a one-line [CLA](./.github/CLA.md) on their first pull request. Security issues go through [SECURITY.md](./SECURITY.md), not a public issue. For new sandbox providers, see [Build a provider](https://agent-box.sh/docs/build-a-provider) and the authoring reference [`docs/provider-plugins.md`](./docs/provider-plugins.md). # Author [Marco D'Alia](https://www.madarco.net) - [@madarco](https://x.com/madarco) - [Linkedin](https://www.linkedin.com/in/marcodalia/) # License MIT. See [LICENSE](./LICENSE).
历史前置条件说明(补充参考)
macOS(arm64/Intel)或 Linux;Docker(Docker Desktop 或 OrbStack);Node >=20.10;全局安装需 npm 权限;云端模式需 Hetzner/Vercel/Daytona/E2B/DigitalOcean 等账号令牌(可选);智能体所需模型 API Key 与额度未在资料中说明,待核验;首次构建约 1 GB 镜像需磁盘与网络。
项目来源与清单版权许可
https://github.com/madarco/agentbox
整理来源:https://github.com/slavakurilyak/awesome-ai-agents
清单版权与许可:
MIT License
Copyright (c) 2024 Slava Kurilyak
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.