DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

agnes-ai-for-dsh

Agnes Ai For Dsh

Agnes AI 与 DeepSeek Harness 的集成——支持多模态的 LLM 提供商,并配备 GUI 设置面板

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

npx -y @deepseek-ai/dsh plugin --profile web add github:wangyemen/agnes-ai-for-dsh#0358a9e0befd370e4568a735a5cd64204c453ffd
README兼容性版本

兼容性与来源证明

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

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

版本

0.2.0stable
2026/10/11

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage@linxin666/dsh-usage用于 dsh Web GUI 的使用统计插件:检测各提供商的余额和编程套餐配额,并实时记录令牌使用情况;侧边栏 Settings 行上方显示紧凑的价格概览卡片Client Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilities为自定义 pi-ai 提供商声明每个模型的能力(图像输入和推理力度),可直接在 Models 设置卡片中编辑;写入官方 llm-pi-ai 设置命名空间,不更改 DSH 源代码。Cost Meterdsh-cost-meterDeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(13 家,含 OpenDesign 工作区查询、含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询)、自定义 Provider

README

agnes-ai-for-dsh

Agnes AI integration for DeepSeek Harness — an LLM provider with multimodal support, image/video generation tools, and a settings panel.

中文说明

What it provides

PieceDescription
Provideragnes-ai, registered with the llm-pi-ai adapter (OpenAI-compatible Chat Completions)
Chat modelsagnes-2.5-flash, agnes-3.0-flash, agnes-2.5-pro, agnes-2.5-pro-beta — all accept image input
Toolsagnes_image_generation, agnes_video_generation, agnes_record_generation
Settings panelAn Agnes AI section in Settings listing the live configuration and the model catalogue

Install

dsh plugin install agnes-ai-for-dsh

Or add it to a profile's package.json and reinstall:

{
  "dependencies": {
    "agnes-ai-for-dsh": "git+https://github.com/wangyemen/agnes-ai-for-dsh.git"
  }
}

Then add the bundle to dsh.profile.bundles and restart DSH.

Configure

The provider is pre-declared by cordis.patch.yml, so the only required step is the API key:

  1. Open Settings → Models.
  2. Find Agnes AI and enter your API key.
  3. The key is stored by DSH's credential system under AGNES_AI_API_KEY.

The default endpoint is the China region:

https://api.agnes-ai.cn/v1

To use the Global endpoint, change baseURL to https://apihub.agnes-ai.com/v1 either in cordis.patch.yml or directly in Settings → Models.

Usage

Once enabled, the two media tools are available to the model:

  • agnes_image_generation — text-to-image, image-to-image and multi-image editing. Parameters: model, prompt, size (1K–4K), optional ratio, optional image (input URLs), optional return_base64.
  • agnes_video_generation — asynchronous video generation with polling. Parameters: model, prompt, optional seconds, mode, size, aspect_ratio, and the mode-specific media fields.

Video generation is asynchronous: the tool creates a task and then polls GET /agnesapi?video_id=…&model_name=… until it settles. agnes-video-2.5-flash accepts only 720P; agnes-video-2.5 accepts 720P, 1080P, 1K and 2K.

Notes for maintainers

Tool schemas

The host's defineTool does not accept raw JSON Schema — it requires a property-map DSL whose entries may carry their own required: true, and it compiles that into object-rooted JSON Schema itself.

That DSL is not valid JSON Schema. If it ever reaches a provider unconverted, the provider rejects the entire request (WorkBuddy returns HTTP 400, code 11129, "工具定义不合规"), so every model reply in the session fails — not merely the one tool. This is not hypothetical: it is exactly what happened when a bare require() threw inside an ESM module and a silent identity fallback registered the raw DSL.

The defence is in src/tools.ts:

  • compileParameters() compiles the DSL here, so the plugin does not depend on the host helper for correctness.
  • assertValidCompiledSchema() / assertAllToolSchemas() verify the compiled form at load and throw on the invalid shape, so a mistake stops the plugin instead of poisoning every request.
  • Registration re-checks the parameters defineTool actually produced and refuses to register if the raw DSL survived.

verify.mjs exercises all of this against the real defineTool.

Build

npm install
npm run build

lib/ is committed, because the package installs from git and the consuming profile does not run build scripts. Rebuild before committing any src/ change, or the stale lib/ is what ships.

License

MIT