dsh-a2a-interop
Manifest validA2A interop bridge for the Harness: serves it as an A2A agent on both the v1.0 and 0.3.x wire formats (auto-detected), drives a real DSH session per inbound message, and adds four a2a_* tools that dis
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.jsonpublishes the Agent Card, andPOST /a2aaccepts JSON-RPC 2.0 (SendMessage, GetTask, CancelTask, ListTasks, SendStreamingMessage, SubscribeToTask). Every inbound message drives a real DSH session, and messages that share acontextIdreuse 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.
Comments
Loading…
Similar plugins
by flymysql
DSH host-side bridge for the DSH Browser Client extension: a token-authenticated /ext-api RPC proxy + /ext-events.mux WebSocket event stream + bidirectional /ext-api-control channel, so a browser extension page (which cannot pass the same-origin /api trust fence) can drive the harness from a floating panel and operate the current page via page_* tools.
★ 0
MIT
JavaScript
Sep 21, 2026
dsh plugin --profile web add dsh-browser-hostby Asteroid0449
Agent 专用的 DSH 插件检索、审计、安装与验证工具桥;不提供可视化市场界面。
★ 0
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-agent-plugin-researchby Dogtiti
Subagent-shaped bridge between Codex and DeepSeek Harness: Codex spawns DSH workers over a loopback MCP endpoint and gets final answers back; DSH agents can dispatch to Codex in return.
★ 5
↓ 804/wk
MIT
JavaScript
Nov 1, 2026
dsh plugin --profile web add dsh-plugin-subagent-bridgedsh通信桥
★ 0
NOASSERTION
JavaScript
dsh plugin --profile web add dsh-browser-relayby peterwangze
DeepSeek Harness 多模型路由插件:让专业的事情交给专业的 agent——自定义视觉/翻译/语音/子代理等专业 agent 并绑定独立模型,多模态账号一键登录、账号池健康路由与实时用量统计
★ 5
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-agent-routerby liaosiliangCodeLife
Connects the DeepSeek Harness agent running on your own computer to the HarnessMate platform, so you can chat with it, exchange files and approve its tool calls from a phone or a browser.
★ 0
MIT
JavaScript
Oct 29, 2026
dsh plugin --profile web add harness-mate