Agent Manager 缺少 task graph / claim / heartbeat 回调能力 #76

Open
opened 2026-05-28 03:59:22 +00:00 by xiaohei · 0 comments
Owner

问题

蜂群模式核心是 Runtime 生成真实 task graph,并持续回调任务和 Agent 状态。当前 Manager 只能接收和展示,不能替 Runtime 生成真实任务图。

需要 Agent Manager 提供

  • Runtime 内部生成 task graph。
  • 回调 task.created、task.claimed、task.running、task.heartbeat、task.completed。
  • 每个事件带 deployment_id 或 swarm_id、task_id、agent_role、event_id、correlation_id。

验收标准

  • Manager timeline 能看到真实 Runtime source 的 task 事件。
  • Manager 页面 Agent task map 能看到任务、Agent role、状态和来源。
  • task.* 缺必填字段时 Manager 返回 CALLBACK_SCHEMA_INVALID,Agent Manager 修正后可成功回调。

对接文档

见 docs/integration/AgentManager蜂群Runtime接口实现要求.md 第 7、8、9 节。

## 问题 蜂群模式核心是 Runtime 生成真实 task graph,并持续回调任务和 Agent 状态。当前 Manager 只能接收和展示,不能替 Runtime 生成真实任务图。 ## 需要 Agent Manager 提供 - Runtime 内部生成 task graph。 - 回调 `task.created`、`task.claimed`、`task.running`、`task.heartbeat`、`task.completed`。 - 每个事件带 `deployment_id` 或 `swarm_id`、`task_id`、`agent_role`、`event_id`、`correlation_id`。 ## 验收标准 - Manager timeline 能看到真实 Runtime source 的 task 事件。 - Manager 页面 Agent task map 能看到任务、Agent role、状态和来源。 - `task.*` 缺必填字段时 Manager 返回 `CALLBACK_SCHEMA_INVALID`,Agent Manager 修正后可成功回调。 ## 对接文档 见 `docs/integration/AgentManager蜂群Runtime接口实现要求.md` 第 7、8、9 节。
chenchen started working 2026-05-29 06:04:24 +00:00
chenchen worked for 52 minutes 2026-05-29 06:57:15 +00:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Total Time Spent: 52 minutes
chenchen
52 minutes
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: taijibaga/heicode-mananger#76