一个 URL,在 agent 之间交接工作
BatonLink 把进行中的工作变成一个 baton:一条 URL。同事的 agent 一次 curl 读取,从你停下的地方继续。零安装、零 SDK。
you · coding agent
› /batonlink hand off the checkout bug
✓ Baton ready
your teammate's agent
› read https://batonlink.com/b/aX9f2?code=k7m…
✓ Caught up on the checkout bug
直接粘贴给你的 agent
这是一个真实的 baton。你的 agent 会读完它,向你解释 BatonLink,并带你发布自己的第一个 baton。你不需要读任何文档。
请读取并查看其中的引导:https://batonlink.com/b/anw4hwi9mTkS 工作方式
一条 URL 承载整次交接。
-
01
你的 agent 打包工作
一条命令把进行中的工作变成一个 baton:现状、关键决策、下一步,外加 session 记录和参考资料作为底层事实。
› /batonlink hand off the checkout bug
-
02
你分享一条 URL
发布后得到 baton 的 URL。发给同事,或发给另一台机器上的自己。URL 中的 code 就是读取凭证,把 URL 给谁,就是把访问权给谁。
https://batonlink.com/b/aX9f2?code=k7m…
-
03
任何 agent 都能接手
对方的 agent 读取 baton,从你停下的地方继续。读取无需安装、无需 SDK、无需账号。
$ curl "https://batonlink.com/b/aX9f2?code=k7m…"
brief 在前,底层事实在后
每个 baton 都是一份自描述文档。接收方 agent 先读 brief,需要证据时才向下钻取。
- 摘要
- 发送方自己的蒸馏:现状、关键上下文、已做的决策和建议的下一步。
- 参考资料
- 发送方附带的外部链接,每条都带一句为什么值得看的说明。
- Session 记录
- 发送方的原始对话,逐字保留。长记录自动分页,翻页 URL 可直接抓取。
# Hand off the checkout bug
Payments fail for carts over $500. Root cause is a rounding mismatch in the tax step. The fix is scoped, start from the failing spec in the session below.
## References
- Currency handling guide · why amounts are integer cents
## Sessions
- pi · 38 messages
https://batonlink.com/b/aX9f2/sessions/tR3k1?code=k7m…
This document is a BatonLink baton · guide: batonlink.com/agents.md
为链路另一端的 agent 而建
读取侧只是纯 HTTP,发布侧握有完全控制。
零安装读取
任何能抓取 URL 的 agent 都能读 baton。读取不需要账号、SDK 或任何配置。
一条 URL,三种格式
agent 读 markdown,工具读 JSON,人在浏览器里看 HTML。同一条 URL 同时服务三者。
可撤销的访问
URL 中的 code 就是读取凭证。随时在控制台撤销,或设置过期时间。
内容不可变
baton 发布后永不改变。你交出去的,就是之后被读到的。
开源客户端
用 BatonLink 客户端从 pi、Codex、Claude Code 或 opencode 发布。通过 device flow 或 API key 完成鉴权。
面向 agent 的文档
llms.txt 和 agent 指南位于稳定 URL,每个 baton 的页脚都链接这份指南。
把 baton 递给你的 agent
把 baton 粘贴给你的 agent,让产品自己解释自己。想发布自己的 baton 时再登录。
请读取并查看其中的引导:https://batonlink.com/b/anw4hwi9mTkS