dsh-a2a
by kouyichi
dsh 原生 A2A 服务:通过 HTTP JSON-RPC 将本 dsh 暴露为可调用的代理。
Native A2A (Agent-to-Agent) server for dsh: expose this dsh as a callable agent over HTTP with JSON-RPC tasks.
安装
dsh plugin --profile web add github:kouyichi/dsh-plugins#path:/dsh-a2aGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
把 dsh 暴露为 A2A v1.0(Agent-to-Agent,JSON-RPC over HTTP)agent——其他 agent(Hermes 等)可直接调 tasks/send 让本 dsh 干活。生态空白:截至 2026-08-16 无第三方 A2A server(官方示例只覆盖 ACP/JSON-RPC)。
工具
| 工具 | 功能 |
|---|---|
a2a_start |
启动 server(默认 127.0.0.1:9917;require_token=true 加 Bearer 认证) |
a2a_stop / a2a_status |
停止 / 状态 |
a2a_tasks |
任务列表与状态 |
协议
tasks/send{id, message:{role, parts:[{type:"text",text}]}} → Tasktasks/get/tasks/cancel/tasks/list/agent/get
每个任务独立 agent 执行(会话落盘可审计)。token 优先读 DSH_A2A_TOKEN 环境变量;DSH_A2A_AUTOSTART=1 可在启动时自动开。
示例(curl)
curl -s -X POST http://127.0.0.1:9917 -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tasks/send","params":{"id":"t1","message":{"role":"user","parts":[{"type":"text","text":"运行 echo hello"}]}}}'
原始 README: https://github.com/kouyichi/dsh-plugins/blob/main/dsh-a2a/README.md ↗
同类插件
查看全部 →
dsh-anchored-standard
两阶段 DeepSeek Harness 预设:先 Minimal 对齐的 bootstrap,再切完整 Standard 工具(Project2 98/99)

PicGo-Core
极致的图片上传引擎,CLI 与 API 双支持

awesome-deepseek-harness
DeepSeek Harness(DSH)及其优秀社区插件的精选指南。

awesome-deepseek-harness
DeepSeek Harness (DSH)生态系统:来自dsh-external/hub和公共dsh-plugin主题的精选插件、工具和基础设施。

AI-Novel-Writer
本地优先 AI 小说创作工作台,提供 Windows/macOS 桌面版与 DeepSeek Harness 插件开发预览,支持角色、大纲、章节蓝图、审稿修稿和本地模型。

mcp-for-stata
MCP-for-Stata:把 Stata 集成进你的 agent