DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

kuangmi-bit /

kuangmi-bit/dsh-a2a-interop

Verified

A2A (Agent2Agent) interop bridge for DeepSeek Harness: serves the Harness as an A2A agent on both v1.0 and 0.3.x wire formats, and adds tools that call remote A2A agents.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@a56b7253

dsh-a2a-interop · A2A 智能体互通

DeepSeek Harness 的 A2A(Agent2Agent)双向互通插件。 / A2A (Agent2Agent) interop bridge for DeepSeek Harness.

把 DeepSeek Harness 接进 A2A 网络,两个方向都有:

  • 入站:本机 DSH 作为 A2A 智能体对外服务——/.well-known/agent-card.json 提供 Agent Card,POST /a2a 接受 JSON-RPC 2.0(SendMessage / GetTask / CancelTask / ListTasks / SendStreamingMessage / SubscribeToTask)。每条入站消息驱动一个真实的 DSH 会话,contextId 相同的多轮对话复用同一会话。
  • 出站:四个工具 a2a_discover、a2a_send、a2a_task、a2a_cancel,让本机模型发现并调用远端 A2A 智能体。

同时支持 A2A v1.0(PascalCase 方法、TASK_STATE_*、ROLE_USER/ROLE_AGENT、统一 Part、结果包 {task}/{message})与 0.3.x(message/send、小写状态、kind 判别符、结果直接是 Task/Message)两代线格式,按方法名或 A2A-Version 请求头自动判别。

安装

dsh plugin add dsh-a2a-interop

装好后在 设置 → A2A 智能体互通 查看端点、Agent Card 链接、最近任务与出站对端。

最小验证

# 读卡片
curl.exe -s http://127.0.0.1:<端口>/.well-known/agent-card.json

# 发一条消息
curl.exe -s -X POST http://127.0.0.1:<端口>/a2a `
  -H 'content-type: application/json' -H 'A2A-Version: 1.0' `
  -d '{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"messageId":"m1","role":"ROLE_USER","parts":[{"text":"你好"}]}}}'

完整配置项、状态映射与已知限制见 docs/DETAIL.md。

English

An A2A (Agent2Agent) interop bridge for DeepSeek Harness, in both directions:

  • Inbound: this Harness serves itself as an A2A agent — /.well-known/agent-card.json publishes the Agent Card, and POST /a2a accepts JSON-RPC 2.0 (SendMessage, GetTask, CancelTask, ListTasks, SendStreamingMessage, SubscribeToTask). Every inbound message drives a real DSH session, and messages that share a contextId reuse the same session.
  • Outbound: four model tools — a2a_discover, a2a_send, a2a_task, a2a_cancel — let the local agent discover and call remote A2A agents.

Both A2A v1.0 (PascalCase methods, TASK_STATE_*, ROLE_USER/ROLE_AGENT, unified Parts, {task}/{message} results) and 0.3.x (message/send, lowercase states, kind discriminator, Task/Message results) wire formats are supported, detected from the method name or the A2A-Version request header.

Install with dsh plugin add dsh-a2a-interop; settings live under Settings → A2A 智能体互通. Full configuration, state mapping and known limits: docs/DETAIL.md.

—/ 5

No ratings yet

Verified DSH bundle

Commit a56b72530608

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout