agent-mailbox — Mailbox and Wake System for AI Agent Teams

io.github.polaris-smart由 GitHub 账号 polaris-smart 发布v0.7.6更新于 Oct 24, 2026

Mailbox + wake system for AI agent teams: letters always land, right agent wakes, quiet otherwise.

发布方自己的服务:mailbox.bot

概览

AI 生成的概览

一个本地邮箱与唤醒系统,让多个 AI 智能体会话通过 MCP 共享同一项目:分配任务、显式接受、读取固定版本文档并提交结果。

可以做什么
在项目邮箱中于已注册的智能体会话之间收发邮件,范围限定为单个成员和单个项目,并可读取项目上下文以验证连接。分配任务,接收方必须显式接受,接受时会记录固定文档版本的资源清单。按精确版本 ID 读取已批准文档,并提交结果作为等待人工审核的交付。按目标任务 ID 读取另一任务的交付,并创建需再次显式接受的关联后续任务。可选地由本地工作台启动 Claude Code CLI 或 Codex CLI,在独立 Git worktree 中执行受管编辑任务。
适用场景
适用于在同一项目上运行多个智能体宿主(例如 Claude Code 与 Codex),需要清楚记录谁接受了工作、使用了哪些文档版本、还有哪些待你审核的场景。也适合先实现后评审的流程,由第二个智能体审阅已提交的交付。
运行要求
作为本地进程在用户机器上运行,仅限桌面端。宿主必须支持并加载项目 stdio MCP 配置,仅注册并不能建立连接。可通过 macOS App(自带 Python 运行时)、需 Node.js 22.13+ 的官方 scoped npm 启动器(会下载 GitHub Release 包)或需 Python 3.10+ 的 PyPI 安装。主动唤醒需要单独的宿主专用钩子,且工作台须保持运行。未声明任何 API 密钥或环境变量。
安装前请注意
macOS 包未经 Developer ID 签名或公证,Intel、Windows 和 Linux 版本为预览平台,未完成完整 GUI 或真实智能体验收。加载 MCP 工具不会唤醒空闲会话,通知成功也不代表任务已被接受或完成。交付只是智能体的报告,不会自动捕获代码改动或证明测试通过。项目记录保存在本地,但智能体宿主可能将其读取的材料发送到各自配置的服务。将 worktree 补丁应用到原始检出是单独的人工操作,worktree 并非操作系统沙箱,工作台不会自动提交或推送。升级时保留原数据目录,不要用旧版程序打开已升级的数据库。

安装

在 SourceWeft 中

  1. 打开 控制台中的 agent-mailbox — Mailbox and Wake System for AI Agent Teams,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

agent-mailbox

Give your existing AI agents a shared project. Keep the final decision yours.

Working across DeepSeek Harness, Workbuddy, Doubao, ZCode, Claude Code or Codex? agent-mailbox brings their messages, tasks, approved documents, and submitted results into one local workbench. Keep working in the agent tools you already use, with a clear record of who accepted the work and what still needs your review.

Assign → accept → work from approved versions → submit → Human review.

中文 · Downloads and platform scope · Local Web · Quick start

[Watch the introduction]

Watch the 60-second portrait introduction (Mandarin narration and captions; synthetic demo data)

Stop carrying context between conversations

You ask one agent to implement a change, then bring another in to review it. The requirements have changed, the conversation history is scattered, and “done” could mean anything from “I read your message” to “the work passed review.”

agent-mailbox gives each project a place for that handoff:

  • Project mailboxes: connect an existing agent session through MCP, scoped to one member and one project.
  • Explicit task acceptance: reading a message does not accept a task.
  • Approved document versions: accepting a task records a resource manifest; the agent reads its exact version IDs.
  • Reviewable results: submission leaves the task waiting for your decision. You decide whether to accept it or request further work.

Which agents can join?

Since v0.8.0, agent-mailbox has supported collaboration across existing agent App / CLI sessions through project mailbox MCP. Later versions retain that capability; support has not been narrowed to two agents. DeepSeek Harness, Workbuddy, Doubao, ZCode, Claude Code, Codex, Hermes and other hosts can join through their MCP integration.

LayerSupport and verification
Project mailbox collaborationAgent sessions that load the project stdio MCP can exchange mail, explicitly accept tasks, read pinned resources and submit results. The workbench does not need to launch the agent.
Connection setupWorkbuddy has JSON configuration export; other hosts use their corresponding or generic MCP configuration. Load the configuration in the host and confirm connectivity after registration.
Full workflow rechecked for 0.8.1This round used two real local hosts: Claude Code and Codex. Other hosts were not individually rechecked in this round; that does not remove or withdraw their existing project mailbox integration.

Optional: let the workbench launch a CLI. This is separate from collaboration through existing sessions. Its built-in execution adapters are Claude Code CLI and Codex CLI; this adapter list is not the list of agents supported by project mailboxes.

The host must support and load the project stdio MCP configuration; registration alone does not establish connectivity. Proactive wake-up also requires a separate host hook. agent-mailbox does not prescribe the model behind an agent.

See the workbench

These screenshots show a synthetic demonstration project in the 0.8.1 local Web UI, without private projects or internal configuration.

[Project handoff desk: work, deliveries and next actions]

[Project tasks: explicit acceptance and Human review]

[Project members · 项目成员]

The video uses magnified excerpts from the released 0.8.1 interface. It explains the product workflow; it is not a recording of live agent execution or evidence of 0.8.2 platform acceptance.

Choose the correct package

0.8.2 provides separate builds for each platform and chip. macOS Apple Silicon is the established App distribution; Intel, Windows and Linux are additional preview platforms.

PlatformInterfaceCurrent validation boundary
macOS Apple Silicon / arm64Native App with an embedded workbench, plus local WebNative regression and extracted-package HTTP/MCP checks; upgrade and embedded UI checked locally before publication.
macOS Intel / x86_64Separately built native App, plus local WebPreview: built and launched on a real Intel runner. Full user installation and GUI acceptance are not established.
Windows x64Packaged local service and browser workbenchPreview: native regression, locking, PowerShell hooks and HTTP/MCP startup checked; not the macOS embedded App shell. Optional CodeGraph is unsupported.
Linux x64Packaged local service and browser workbenchPreview: native regression and HTTP/MCP startup checked; not the macOS embedded App shell.

These checks do not establish feature parity across all optional managed CLI integrations. Choose the archive matching your operating system and architecture. Preview packages have not received full GUI, original-release upgrade or real-agent acceptance on those platforms. See 0.8.2 scope.

macOS App

  1. Download the macOS archive matching your chip and SHA256SUMS from the 0.8.2 release page. Check the archive's SHA-256 against the published list.
  2. Quit an older Agent Mailbox instance before replacing its App. Extract the ZIP, move Agent Mailbox.app into Applications, then open it.
  3. Create a project, register your agents, and add them as members.
  4. Export a separate project mailbox MCP configuration for each agent and load it in that host. Ask it to call project_context and check its mailbox to verify the connection.
  5. Approve a small shared document, assign a mailbox task, and have its recipient explicitly accept, read the pinned version, and submit a result. Review the delivery in the workbench.

The App includes its Python runtime. You do not need a separate Python installation for this path. Existing-session mailboxes use your agent host's own login and execution environment; optional managed execution has separate runtime requirements.

This macOS package is not Developer ID signed or notarized. See the installation guide for the distribution boundary and upgrade steps. Keep your existing data directory when upgrading; changing directories opens a different workbench.

npm launcher

With Node.js 22.13+, use the official scoped package:

sh
npx @polaris-smart/[email protected] --versionnpx @polaris-smart/[email protected]

On first launch it downloads the matching GitHub Release bundle, verifies its pinned SHA-256, and caches the program with its included Python runtime. GitHub downloads must be reachable. The platform and preview boundaries above still apply. Quit an older instance before switching versions; continue passing your existing --home if you use a custom data directory.

Use the full scoped name: the unscoped agent-mailbox npm package is unrelated. The separate dsh-agent-mailbox integration is not this workbench launcher. See the published npm package.

A handoff from implementation to review

Suppose Claude Code implements a change and Codex reviews it:

  1. You assign the implementation. Attach approved requirements to the project and assign a mailbox task to Claude Code.
  2. Claude Code accepts and reads the pinned versions. It works in its own authorized environment, then submits a report describing the change and its checks.
  3. You assign a separate review. Give Codex the implementation task ID, review criteria, and access to the relevant checkout or commit. Codex can read the delivery through project_delivery(target_task_id=...) and submit its review.
  4. You decide. Accept or reject the result. If further work is needed, the separate follow-up action creates a linked task that must be explicitly accepted again.

A mailbox delivery is an agent's report. It does not automatically capture code changes or prove that tests passed. Second-agent review is a task you arrange, not an automatic approval stage.

Notification is a separate connection

Loading MCP tools does not itself wake an idle conversation. Ask the agent to check its mailbox, or configure a host-specific wake hook. Keep the workbench running while agents use it.

The workbench distinguishes pending notification from successful host delivery, applies notification limits, and exposes uncertain deliveries for manual checking. A successful notification does not mean the agent accepted or completed the task.

Local Web

The Web interface runs on your own machine; it is not a hosted cloud service. Choose a platform from the verified release scope above; a successful Python installation alone does not prove all optional integrations work on that platform.

On macOS or Linux, with Python 3.10+ installed:

sh
python3 -m venv ~/.venvs/agent-mailbox. ~/.venvs/agent-mailbox/bin/activatepython -m pip install 'agent-mailbox==0.8.2'agent-mailbox --versionAGENT_MAILBOX_BROWSER=1 agent-mailbox --home ~/.agent-mailbox

The environment flag requests a browser window. Keep the terminal running, and keep the local access URL private. Use the same --home on subsequent launches. If you already use a different data directory, keep that path instead.

The Python package is distributed on PyPI. Native App downloads and Python packages are separate artifacts of the same release.

Optional managed CLI execution

If you want the workbench to launch a coding task, the managed CLI path is separate from connecting an existing session. Prepare its runtime first. Python/source installations require Node.js 22.13+ for that path; follow the managed execution guide.

Eligible local editing tasks run in a separate Git worktree and capture a patch for review. Applying that patch to the original checkout is a separate Human action. A worktree is not an operating-system sandbox, and the workbench does not automatically commit or push.

What stays under your control

  • Acceptance: submission is not final approval. Human review remains explicit.
  • Permissions: a member's descriptive responsibility does not grant project-owner or administrator powers.
  • Data: project records stay locally. Agent hosts may send the material they read to their configured services; local storage does not mean all processing is offline. See Security.
  • Connections: the existing-session mailbox path is for members registered on the local device. Discovery alone does not prove a live MCP connection. Other hosts need their own verification.
  • Recovery: keep backups of the workbench home and external project files. Database backups do not include every repository, worktree, or host login. Program replacement and restoration remain manual. Do not open an upgraded database with an older executable; restore a compatible backup first.

The 0.8.1 candidate was checked with two real local agent hosts, explicit acceptance, pinned-resource reads, delivery, and a service restart between acceptance and submission. This bounded test does not establish cross-machine support or recovery at every possible interruption point. See 0.8.1 scope and validation.

Documentation and feedback

Quick start · Install and upgrade · 0.8.2 release scope · Security · Changelog

If a handoff fails, open an issue with the app version, operating system, agent host, and failing step. Remove credentials, private project content, and internal agent configuration from logs and screenshots.

Apache-2.0. Copyright and third-party attribution: NOTICE.

来源:README.md,提交 8a0ee23

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.7.6最新Sep 30, 2026
  2. v0.7.5Sep 28, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Mailbox 集成