A2ahub

io.github.ydnikolaev由 GitHub 账号 ydnikolaev 发布v0.27.1更新于 Oct 30, 2026

Reliable handoffs between autonomous agents, using a Git repository both sides can inspect.

已验证STDIO仅桌面开发者工具沟通与协作

概览

AI 生成的概览

本地 stdio MCP 服务器与 CLI,让智能体通过双方都可查看的 Git 仓库完成带类型的任务交接。

可以做什么
  • 起草并提交带类型的工件,如问题、需求、工作请求、决策、回复与交接,串成可回放的历史
  • 读取由共享历史计算出的收件箱,查看未完成工作与下一步轮到谁
  • 发布并固定不可变的契约版本,离线还原任意历史版本,并按固定版本交付并依据契约自带的检查给出结论
  • 在本地校验草稿,并在落地处再次校验,最终以可审计的 Git 提交合并
  • 以有界仪表板读取折叠后的当前状态,并在轮到你时收到提醒
适用场景
适合需要在边界之间交换工作的 AI 优先开发者,例如两家公司、同一公司的两个团队,或客户与承包方之间。当交接需要可复现、可审查的记录,且双方都不愿向对方开放系统时适用。
运行要求
作为本地进程运行在用户机器上(提供 macOS、Linux 与 Windows 版本,仅限桌面)。需要安装本地 a2a CLI,并连接一个称为 space 的共享 Git 仓库:GitHub 仓库(写入经拉取请求与 CI)或本地磁盘上的裸仓库。未声明托管服务、账号、API 密钥或环境变量。
安装前请注意
写入会进入共享 Git 仓库,提交的工件、契约与结论对另一方可见并留在历史中。连接 space 即让该工具访问该仓库及其凭据。提醒可通过 Telegram 发送,会把活动信息传出本机。发布测试仅覆盖其声明的范围,而非所有状态。

安装

在 SourceWeft 中

  1. 打开 控制台中的 A2ahub,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

a2ahub

[Latest release] [CodeQL] [License] Reliable handoffs between autonomous agents, using a Git repository both sides can inspect.

Who this is for

AI-first developers whose systems hand work to each other — your agents and a partner's, two teams in one company, or a client and a contractor. The boundary changes; the problem does not.

Two agents can exchange work in chat, but chat is a poor system of record: requests get buried, contracts drift, nobody knows whose move is next, and a handoff that worked once is hard to reproduce.

A concrete case. Your agent needs a data export from a partner's agent, against an agreed shape. The request, its acceptance criteria, the payload, the verdict on whether it met them and the sign-off all land in one Git repository both sides can read — with neither company opening a system to the other.

Each system runs the local a2a CLI and connects to a shared Git repository called a space: on GitHub, where writes go through pull requests and CI, or a bare repository on your own disk, where a2a checks and lands each write. There is no hosted a2ahub service, database, or public agent endpoint to keep alive.

What it gives you

  • Typed artifacts instead of loose messages. Questions, requirements, work requests, decisions, responses and handoffs, each with the fields its kind needs, connected into one chain either side can replay in order.
  • A computed inbox. Open work and whose move is next, derived from shared history rather than a private to-do list. Agents report what they are implementing separately from protocol completion, so a closed thread never means nobody is working — and a missing report stays unknown, not idle.
  • Contracts you can pin and reproduce. Publish an immutable carried set, materialize any historical version exactly, offline, and deliver against a pinned version with a verdict derived from the contract's own declared checks.
  • A safe write funnel. Drafts are validated locally, checked again where they land (CI on a pull request, or a local space's own land check), and merged as an auditable Git commit. Inbound text is data, never instructions.
  • A refusal instead of a silent yes. An unrecognised field, an id it cannot place, a rule it cannot evaluate — each is named and refused rather than accepted and reported as success. An unknown answer is reported as unknown.
  • Local surfaces, and one that reaches you. Work through the CLI or local stdio MCP tools, read the state as a bounded dashboard, and let a space tell you when a move is yours — on your machine, in your editor, or on Telegram.

Both machines can be offline at different times: Git holds the durable state.

How it works

  1. One agent drafts and submits a typed request or contract.
  2. The space validates ownership, schema, lifecycle, and contract rules.
  3. The other agent syncs, sees the next move, and responds through the same funnel.
  4. Both sides read the folded current state and the immutable history behind it.

Install

macOS and Linux:

sh
curl -fsSL https://raw.githubusercontent.com/ydnikolaev/a2ahub/main/scripts/install.sh | sh

The installer downloads the latest release and verifies its checksum. Windows archives and manual downloads are on the releases page.

Start a project

sh
a2a inita2a connect <owner/space-repo>a2a new questiona2a submit <artifact>a2a inbox

Run a2a for the current command list. Run a2a html -demo to explore the dashboard without connecting a real space.

Release confidence

Release candidates are tested against a protected public GitHub space using two independent identities, at a depth chosen for what the release changes. Green proves that scope—not every state, and each release's notes say what was not.

Documentation

Project site · onboarding · command and MCP reference · security and release verification · release notes

Apache-2.0 licensed. See LICENSE and NOTICE.

来源:README.md,提交 0af9a67

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

3
  1. v0.27.1最新Oct 30, 2026
  2. v0.27.0Oct 29, 2026
  3. v0.26.3Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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