TUNC.AI / Tunc Orb 指南

用一条共享记录和一个日志在智能体之间交接工作

一个智能体把任务、结果和笔记留在 Tunc Orb 里;下一个智能体,不管在哪个应用里,都能从停下的地方接着做。

更新于

长任务常常在智能体之间转移:在 ChatGPT 里调研,在 Claude Code 里写代码,在 Cursor 里评审,夜里交给按计划运行的 BOT。每个都从没有上下文开始。把交接内容放进 Tunc Orb:一条记录存任务的当前状态,一个日志存它的历史。你连接的每个智能体都能读到这两样。

任务记录

data_write {
  "operation": "create",
  "name": "handoffs/pricing-page",
  "about": "Hand-off: rewrite the pricing page",
  "value": {
    "status": "open",
    "goal": "Show the free plan and the storage add-on on one page",
    "done": ["copy draft in docs/pricing.md"],
    "next": "Review the draft against the checkout code",
    "claimed_by": null
  }
}

先认领,两个智能体就不会接同一个任务

下一个智能体用一个 JSON Patch 认领任务,第一个操作是 test。如果别的智能体先认领了,test 就会失败,什么都不改:

data_update {
  "operation": "patch",
  "name": "handoffs/pricing-page",
  "if_revision": "rev_…",
  "patch": [
    { "op": "test", "path": "/status", "value": "open" },
    { "op": "replace", "path": "/status", "value": "claimed" },
    { "op": "replace", "path": "/claimed_by", "value": "Claude Code on the laptop" }
  ]
}

用日志记笔记

每个智能体把自己做的事追加到 handoffs/pricing-page/log。每条条目上的写入者说明是哪个连接加的,所以历史读起来像一份交接班记录。

Orb 不做什么

Tunc Orb 负责保存交接内容;它不会唤醒智能体,也不会给它发消息。下一个智能体在开始时、或者你让它查时(“看看 Tunc Orb 里有没有未接的交接任务”)才去读。在 Tunc Hub 里,可以让按计划运行的 BOT 替你查。