能互相交谈的队友 — Teammates That Talk to Each Other
不同于 Subagent 的一次性 spawn-execute-destroy 模式,Teammate 会一直存在,在 WORK 和 IDLE 之间切换,直到被明确要求关闭。这意味着它们保持上下文、保持状态。
文件就是邮箱。每个 Agent 有自己的 .jsonl 文件,写入用 append(天然线程安全),读取用 drain(读完清空)。无需数据库,无需锁,文件系统就是消息队列。
通信协议精简为 5 种类型:message(点对点)、broadcast(广播)、shutdown_request / shutdown_response(关闭协商)、plan_approval(计划审批)。
"生成具有特定角色的命名队友"
"Spawn named teammates with specific roles"
"向整个团队广播消息"
"Broadcast messages across the team"
"检查单个 Agent 的收件箱"
"Check individual agent inboxes"
"使用 /team 命令查看名册和状态"
"Use /team command to view roster and statuses"
"使用 /inbox 手动检查消息"
"Use /inbox to manually inspect messages"