DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Agnes Tools — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
A

dsh-agnes-tools

Agnes Tools

将 Agnes AI 图像和视频生成功能作为原生 DeepSeek Harness 工具,并支持可恢复的长视频任务。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:zuihouye/dsh-agnes-tools#d8b00cc76d0b8c0ef378076c3c68b756a28ba22b
README兼容性版本

兼容性与来源证明

Agnes Tools 以 dsh-agnes-tools 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/18

版本

0.1.0stable
2026/10/18

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/18
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 vision-media 分类下经过校验的插件。

Experimental Voice Input Bundle@deepseek-ai/dsh-experimental-voice-input-bundle实验性语音输入,使用本地 SenseVoice;首次使用时下载其运行时Ab Ocrdsh-ab-ocr--- description: "外部 ocr 工具:逐页识别扫描的 PDF 或图像,仅在处理完最后一页后按顺序合并页面,并使用模型确定的标题级别保存为一个 Markdown 文档。" kind: "package-reference" ---Tool Describe Image@linxin666/dsh-tool-describe-image面向模型的 describe_image 工具,用于 dsh Web GUI:通过在兼容 OpenAI 的端点调用视觉语言模型,为文本模型提供图像理解能力,以描述一张图像(本地路径、http(s) URL 或附件引用)。可热插拔 —Vision Routerdsh-vision-router为仅支持文本的 DeepSeek Harness agents 提供视觉能力:内置免费视觉链路和像素级工具。除非配置为严格仅限本地使用,否则远程视觉提供商(包括默认的免费回退服务)会接收图像内容。

README

dsh-agnes-tools

Agnes AI image & video generation as native DeepSeek Harness tools.

agnes_image · agnes_edit_image · agnes_video · agnes_video_status · agnes_models

English · 中文


English

A small, tool-only plugin: it adds five tools to the agent and nothing else — no UI panel, no settings page, no runtime dependencies beyond the Schemastery peer DSH already ships.

Why this one

Five Agnes plugins already exist, so here is the honest difference:

  • Video jobs are resumable. agnes_video submits, polls, and downloads — but when the in-call wait runs out it returns the video_id instead of losing the job. agnes_video_status picks it up later and downloads the mp4. On a queue that is regularly full (503 video_queue_full), that is the difference between a lost render and a finished one.
  • agnes_models lists the models your key can actually reach, so you can tell a bad key from a bad model name in one call.
  • Free-tier aware. Retries with backoff on 503/429, 6 s polling to stay under 20 RPM, and tolerance for the ~20 s window after submission where a status query wrongly reports 404.
  • Tool-only, zero runtime deps. If you work in the chat and do not want a floating panel.

Install

From the DSH plugin market, once listed — then restart dsh web.

Manual install (verified on Windows)

Add the package to your web profile and register it as a bundle:

// $DSH_HOME/profiles/web/package.json
{
  "dependencies": {
    "dsh-agnes-tools": "file:/path/to/dsh-agnes-tools"   // or: "github:zuihouye/dsh-agnes-tools"
  },
  "dsh": {
    "profile": {
      "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-agnes-tools"]
    }
  }
}
cd "$DSH_HOME/profiles/web" && pnpm install

Then restart dsh web. Host-side plugins are loaded at startup — there is no hot reload.

Two traps worth knowing: dsh plugin --profile web install can answer "Already up to date" without installing anything, so run pnpm install in the profile yourself. And the hoisted linker copies file: dependencies, so re-run pnpm install after editing the source.

Configure

cordis.patch.yml holds the defaults; override any key in your profile's cordis.patch.yml or plugin settings.

KeyDefaultNotes
apiKeyRefAGNES_API_KEYName of the DSH credential holding your key. Recommended.
apiKey(empty)Inline key. Takes precedence over apiKeyRef. Not recommended.
baseURLhttps://api.agnes-ai.cn/v1Mainland endpoint. International: https://apihub.agnes-ai.com/v1.
imageModelagnes-image-2.5-flash
videoModelagnes-video-2.5-flash
outputDiragnes-outputAbsolute, or relative to the dsh process working directory.
pollTimeoutMs300000How long agnes_video waits inside a single tool call.
pollIntervalMs6000Do not lower it: the free tier allows 20 requests/minute.

The key is resolved in this order: apiKey → the DSH credential named by apiKeyRef → process.env[apiKeyRef].

Tools

ToolRequiredOptional
agnes_imagepromptratio (1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9), size (1K/2K/3K/4K), save_path
agnes_edit_imageprompt, imagesratio, size, save_path — images accepts local absolute paths, public URLs, or data URIs
agnes_videopromptseconds ("4"–"12", default "5"), aspect_ratio, mode (text/keyframe/reference), first_frame, last_frame, images (≤5), save_path
agnes_video_statusvideo_idsave_path
agnes_models——

Files land in outputDir as 20261018-015926-jvic-agnes-video.mp4. Generated images are also attached to the reply when the host supports attachments.

API quirks the code already handles

  1. size is a tier, not a pixel size. Agnes takes 1K/2K/3K/4K plus ratio — not 1024x768.
  2. Images must come back as base64. On the international endpoint the returned image URL lives on storage.googleapis.com, which is unreachable from mainland China. The plugin always asks for base64 instead.
  3. The video queue is often full — 503 video_queue_full. Retried with backoff (up to 6 attempts, 8 s → 30 s).
  4. A status query within ~20 s of submission reports 404 "task not found". The poll loop tolerates it.
  5. The free tier allows 20 requests/minute; exceeding it returns 429. Hence the 6 s interval.
  6. Video size is always "720P"; the real pixel size follows aspect_ratio (16:9 → 1280x704).

Development

npm install && npm test        # loads the plugin with a mock context and checks every tool

Add node_modules to your profile and point dsh-agnes-tools at your checkout to iterate.

License

MIT


中文

把 Agnes AI 的生图 / 生视频接成 DeepSeek Harness 的原生工具,一共 5 个, 纯工具型:没有悬浮面板、没有设置页,除 DSH 自带的 Schemastery 外没有运行时依赖。

和已有的 Agnes 插件有什么不一样

Agnes 生图生视频的插件市面上已经有 5 个,所以这里只说真实差异:

  • 长视频任务可以续查。 agnes_video 会一次调用内提交 + 轮询 + 下载;但等待超时后它 返回 video_id 而不是把任务丢掉,之后用 agnes_video_status 接着查、完成后自动下载 mp4。 视频队列经常满(503 video_queue_full),这条差异决定了你是白等一场还是拿到成片。
  • agnes_models 列出当前 Key 真能访问的模型,一次调用区分「Key 不对」还是「模型名不对」。
  • 为免费额度调过参。 503/429 退避重试、6 秒轮询卡在 20 RPM 以内、 容忍提交后约 20 秒内状态查询误报 404。
  • 纯工具、零运行时依赖。 如果你就在对话里干活、不需要悬浮面板,这个更干净。

安装

插件市场上架后可直接安装,装完重启 dsh web。

手动安装(Windows 上已实测)

在 web profile 里登记依赖和 bundle:

// $DSH_HOME/profiles/web/package.json
{
  "dependencies": {
    "dsh-agnes-tools": "file:/你的路径/dsh-agnes-tools"   // 或 "github:zuihouye/dsh-agnes-tools"
  },
  "dsh": {
    "profile": {
      "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-agnes-tools"]
    }
  }
}
cd "$DSH_HOME/profiles/web" && pnpm install

然后重启 dsh web。host 侧插件在启动时装载,没有热加载。

两个坑:① dsh plugin --profile web install 可能回一句 “Already up to date” 却什么也没装, 直接进 profile 目录跑 pnpm install 更可靠;② hoisted linker 下 file: 依赖是复制不是软链, 改完源码要重跑 pnpm install。

配置

cordis.patch.yml 里写的是默认值,可在 profile 的 cordis.patch.yml 或插件设置里覆盖。

键默认说明
apiKeyRefAGNES_API_KEYDSH 凭据里的引用名,推荐
apiKey空直接写 Key,优先级高于 apiKeyRef,不建议
baseURLhttps://api.agnes-ai.cn/v1国内节点;国际站是 https://apihub.agnes-ai.com/v1
imageModelagnes-image-2.5-flash
videoModelagnes-video-2.5-flash
outputDiragnes-output绝对路径,或相对 dsh 进程的 cwd
pollTimeoutMs300000单次工具调用内最长等待
pollIntervalMs6000别调小:免费 Key 只有 20 RPM

Key 的解析顺序:apiKey → apiKeyRef 指向的 DSH 凭据 → process.env[apiKeyRef]。

工具

工具必填选填
agnes_imagepromptratio(1:1 / 4:3 / 3:4 / 16:9 / 9:16 / 3:2 / 2:3 / 21:9)、size(1K/2K/3K/4K)、save_path
agnes_edit_imageprompt、imagesratio、size、save_path;images 支持本地绝对路径、公网 URL、data URI,可多张
agnes_videopromptseconds("4"–"12",默认 "5")、aspect_ratio、mode(text/keyframe/reference)、first_frame、last_frame、images(≤5)、save_path
agnes_video_statusvideo_idsave_path
agnes_models——

产物落在 outputDir,文件名形如 20261018-015926-jvic-agnes-video.mp4;生成的图片在宿主支持时会一并作为附件回复。

代码里已经处理掉的 API 怪癖

  1. size 是档位不是像素:Agnes 收 1K/2K/3K/4K + ratio,不是 1024x768。
  2. 图片必须按 base64 取回:国际站返回的图片 URL 在 storage.googleapis.com(国内不通), 插件一律请求 base64,不依赖那个域名。
  3. 视频队列经常满(503 video_queue_full):内置退避重试,最多 6 次,8 秒 → 30 秒递增。
  4. 提交后约 20 秒内查询会误报 404「任务不存在」:轮询循环里已容忍。
  5. 免费 Key 20 RPM,超了报 429,所以轮询间隔设成 6 秒。
  6. 视频尺寸固定 "720P",实际像素由 aspect_ratio 决定(16:9 → 1280x704)。

开发

npm install && npm test        # 用 mock context 加载插件,逐个校验注册出来的工具

许可证

MIT