GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Verifiable agent handoffs over GitHub Issues and PRs: bounded writes, read-back, evidence log.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
AGENT_POSTBOX_TOKENค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"agent-postbox": {
"command": "npx",
"args": [
"-y",
"agent-postbox"
],
"env": {
"AGENT_POSTBOX_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add agent-postbox --env AGENT_POSTBOX_TOKEN='ใส่ค่าของคุณ' -- npx -y agent-postboxเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"agent-postbox": {
"command": "npx",
"args": [
"-y",
"agent-postbox"
],
"env": {
"AGENT_POSTBOX_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"agent-postbox": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agent-postbox"
],
"env": {
"AGENT_POSTBOX_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Aethelgard-Systems ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: AGENT_POSTBOX_TOKEN
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.1) เข้า registry 11 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Verifiable handoffs for MCP agents. agent-postbox makes agent handoffs over GitHub verifiable – with read-back and evidence instead of bare status messages.
AI coworkers collaborate through GitHub Issues and pull requests – with bounded writes, receipts and four-eyes review.
You already have a durable, auditable, human-readable coordination system: your GitHub repository. agent-postbox turns it into a mailbox for AI agents, so they can hand work to each other, report results and review each other's pull requests, while every write stays small, verified and attributable, and every decision stays with a human.
It is a small Model Context Protocol server (stdio or Streamable HTTP) plus a CLI. Zero runtime dependencies.
human ──opens issue──▶ #12 [to:builder]
builder ── inbox ─────▶ claims (claimed:builder), works, opens PR #13 [to:reviewer] reviewer ─ review ────▶ REQUEST_CHANGES on #13 @ head commit (cannot review its own PR) builder ── comment ───▶ evidence: tests, output, links human ───────────────▶ merges. Agents cannot merge, close, or set authority labels.
A shared inbox delivers a message. agent-postbox proves the handoff happened – read-back of every write, an acknowledgement bound to the exact text the agent read, no self-review, and a signed evidence log you can verify.
Release: v0.2.1 · For: developers running several coding agents (Claude Code, Codex, Cursor, …) on one GitHub repo · Zero runtime dependencies.
No GitHub account, token or network needed – the demo runs two agents against an in-memory GitHub with synthetic data:
git clone https://github.com/Aethelgard-Systems/agent-postbox.git
cd agent-postbox npm run demo
Windows PowerShell blocks npm with “running scripts is disabled on this system”? Use npm.cmd run demo or node examples/offline-demo/demo.mjs instead – same demo, no policy change needed.
You will see a builder and a reviewer hand work to each other, a lost network response reconciled instead of posted twice, and three unsafe actions refused (self-review, a human-only label, a token in a comment). Details and limits: examples/offline-demo.
npm run demo:handoff shows the v0.2 flow: a planner hands a task to a builder, the builder's acknowledgement is bound to the text it read (an edited handoff is refused until re-read), and the signed evidence log is verified – then tampered with and caught.
Multi-agent setups usually fail in boring ways: an agent claims it posted something it did not, posts the same thing twice after a timeout, approves its own work, treats text in an issue as an order, or leaks a token into a comment. agent-postbox addresses exactly those failure modes and nothing else.
| Problem | What agent-postbox does |
|---|---|
| "I posted it" – but nothing is there | Read-back: every write is fetched again and compared before it counts as done |
| Timeout → retry → duplicate | Write receipts: ATTEMPTED is stored before sending, CONFIRMED after read-back. An unknown outcome is reconciled only if GitHub shows the exact write by the agent's own identity; otherwise it stays blocked until a human resolves it |
| Agent approves its own PR | Four-eyes: any review (including comments) is refused when the PR author is the token's own identity, which is verified against GitHub; reviews are bound to the head commit |
| Agent decides things it should only propose | Authority separation: protected labels (e.g. approved, decision:*) are human-only; proposals carry an explicit no-authority footer |
| Agent can do anything the token can | Bounded writes: a fixed endpoint allowlist – no merge, close, delete, body edit, settings or code access |
| Token or password ends up in a comment | Secret filter on every title and body (best effort, see Security) |
| Issue text tries to instruct the agent | All read content is marked as untrusted data |
| Runaway agent | Daily limits for writes and proposals |
| "Done" – but done *what*, against which version of the task? | Handoffs (v0.2): a task issue with acceptance criteria; the acknowledgement is bound to the hash of the text the agent read and needs evidence |
| Logs can be edited after the fact | Evidence log (v0.2): every receipt state change is hash-chained and Ed25519-signed; evidence verify catches edits, gaps and truncation |
Not an agent framework, not a runtime, no database, no dashboard, no worktree orchestration, no role model. Bring your own agents; agent-postbox is only the mailbox.
| Tool | Effect |
|---|---|
inbox | Issues/PRs labelled to: |
read | One issue or PR with comments (untrusted content) |
comment | One receipted, read-back comment |
label | Add/remove labels: to: (hand off), claimed: , labels from allowedLabels |
propose | New issue labelled proposal, duplicate check, daily limit |
review | PR review (APPROVE, REQUEST_CHANGES, COMMENT) bound to the head commit; refused on own PRs |
handoff_create | Hand a task to another agent: issue labelled to: + handoff, with acceptance criteria (v0.2) |
handoff_read | Read a handoff and its acknowledgements; returns body_sha256 (v0.2) |
handoff_ack | Acknowledge a handoff addressed to you (DONE needs evidence); refused if the text changed since you read it; read back before it counts (v0.2) |
The complete tool list costs under 4,500 characters of model context (tested).
npm install -g github:Aethelgard-Systems/agent-postbox
agent-postbox.config.json: {
"repository": "example-org/example-repo", "agent": "builder", "tokenEnv": "AGENT_POSTBOX_TOKEN", "allowedLabels": ["needs-review", "blocked", "question"], "protectedLabels": ["approved", "decision:*"], "limits": { "writesPerDay": 50, "proposalsPerDay": 5 } }
4. **Check** without writing anything:
AGENT_POSTBOX_TOKEN=... agent-postbox doctor
mcpServers format). For clients that speak Streamable HTTP, run agent-postbox serve --transport http --port 8471 instead and point them at http://127.0.0.1:8471/mcp (other hosts need AGENT_POSTBOX_HTTP_TOKEN): {
"mcpServers": { "agent-postbox": { "command": "agent-postbox", "args": ["serve", "--config", "/path/to/agent-postbox.config.json"], "env": { "AGENT_POSTBOX_TOKEN": " " } } } }
6. Copy [`templates/AGENTS.md`](templates/AGENTS.md) and [`templates/pull_request_template.md`](templates/pull_request_template.md) into your repository so agents and humans share one protocol.
Step-by-step setup: docs/getting-started.md. A walk-through with two agents reviewing each other is in examples/two-agent-review.
| Key | Default | Meaning |
|---|---|---|
repository | – | owner/repo; the only repository this instance can touch |
agent | – | This agent's name ([a-z0-9-]) |
login | from GET /user | GitHub login of the token; required for GitHub App tokens (e.g. my-app[bot]) |
tokenEnv | AGENT_POSTBOX_TOKEN | Environment variable holding the token |
addressPrefix | to: | Label prefix for addressing agents |
claimPrefix | claimed: | Label prefix for claiming work (self only) |
proposalLabel | proposal | Label for agent proposals |
allowedLabels | needs-review, blocked, question | Extra labels agents may set (* suffix = prefix match) |
protectedLabels | approved, decision:* | Human-only labels; agents can neither add nor remove them |
limits | 50 writes, 5 proposals per day, 6000-char body, 120-char title | Per agent |
receiptsFile | $XDG_STATE_HOME/agent-postbox/ - - .json | Local receipt store |
allowClassicToken | false | Accept classic PATs (not recommended) |
evidence | true | Write the signed evidence log (v0.2); false disables it |
evidenceFile, evidenceKeyFile | next to receiptsFile | Evidence log and its Ed25519 key (created on first use, 0600) |
handoffLabel | handoff | Label that marks handoff issues |
agent-postbox doctor | inbox | read <n> | comment <n> --body ... | label <n> --add a --remove b
agent-postbox propose --title ... --body-file ... | review --event approve|request-changes|comment --body ... agent-postbox handoff create --to --title ... --body ... [--acceptance "a|b"] | handoff read agent-postbox handoff ack --read-sha256 --result done|partial|blocked|declined [--evidence "a|b"] agent-postbox receipts list | receipts resolve --as confirmed|failed agent-postbox evidence verify | evidence key agent-postbox serve [--transport stdio|http] [--host 127.0.0.1] [--port 8471]
All output is JSON. Refusals exit with code 2 and a stable error code (POLICY, SECRET, LIMIT, SELF_REVIEW, UNKNOWN_OUTCOME, READBACK_MISMATCH, …).
Next to the receipts file, agent-postbox keeps .evidence.jsonl: one line per receipt state change, hash-chained and signed with the agent's Ed25519 key. It holds keys, kinds, states, read-back verdicts and hashes – never bodies, titles or tokens. agent-postbox evidence verify recomputes the chain and reports any modified, removed, reordered, forged or truncated line. The format is documented in docs/evidence-format.md and shared with companion tools, so one verifier works for all of them.
to: label creates that label in the repository if it does not exist yet.serve over stdio starts even without config or token so clients can list the tools; each tool call then returns CONFIG/TOKEN until it is set up. The HTTP transport refuses to start instead.Host must name the server, Origin refused unless listed in `AGENT_POSTBOX_HTTP_ORIตัดมาแค่ช่วงต้น อ่านต่อใน repo