dsh-agnes-paseo

by vvlife

模型与账号接入github收录于 08-23

DeepSeek Harness(dsh)插件: 接入 Agnes AI 模型网关 ,并 一键把 dsh 注册为 Paseo 的 provider 。

安装

dsh plugin --profile web add github:vvlife/dsh-agnes-paseo

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

DeepSeek Harness(dsh)插件:接入 Agnes AI 模型网关,并一键把 dsh 注册为 Paseo 的 provider。

  • dsh 侧:通过 bundle patch 在 llm-pi-ai 适配器上声明 agnes provider 路由(OpenAI 兼容,https://apihub.agnes-ai.com/v1),并把默认模型切到 agnes/agnes-2.5-flash。纯配置,无构建、无运行时依赖。
  • Paseo 侧:自带一个零依赖的 ACP 桥(dsh-acp-bridge),把 dsh --profile headless 包装成 ACP agent;setup 脚本自动写入 Paseo provider 配置。

安装

dsh plugin --profile headless add github:vvlife/dsh-agnes-paseo
# 如用 dsh web,也装一份到 web profile:
dsh plugin --profile web add github:vvlife/dsh-agnes-paseo

校验挂载成功:

dsh --profile headless --dump-config | grep -A3 agent-default-model
#   provider: agnes
#   model: agnes-2.5-flash

初始化(凭据 + Paseo 注册)

# 在 profile 目录里执行(或直接给绝对路径)
cd ~/.dsh/profiles/headless
pnpm exec dsh-agnes-paseo-setup --key sk-你的AgnesKey

也可以不设 --key,用环境变量 AGNES_API_KEY 或交互式输入。Key 在 platform.agnes-ai.com 创建。

setup 会做三件事:

  1. AGNES_API_KEY 写入 ~/.dsh/.credentials.yaml(0600)
  2. ACP 桥复制到 ~/.dsh/paseo-bridge/dsh-acp-bridge.mjs
  3. ~/.paseo/config.json 写入 provider(原文件备份为 .bak):
"deepseek": {
  "extends": "acp",
  "label": "DeepSeek Harness",
  "command": ["~/.dsh/paseo-bridge/dsh-acp-bridge.mjs"]
}

然后:

paseo daemon restart
paseo provider ls        # deepseek 应为 available

在 Paseo 里新建 agent 选择 DeepSeek Harness,模型下拉里可切 agnes-2.5-flash / agnes-2.5-pro / agnes-2.0-flash。

可用模型

模型 说明
agnes-2.5-flash 默认,快
agnes-2.5-pro 更强,慢
agnes-2.0-flash 上一代

Agnes 是推理模型,默认 reasoning_effort: low(速度优先)。

注意

  • 每个 Paseo prompt 回合是一次独立的 dsh --profile headless 运行,回合间不保留对话上下文(dsh headless 无 resume)。
  • ACP 桥 spawn 的 dsh 依次探测 /opt/homebrew/bin/dsh、/usr/local/bin/dsh、PATH;可用环境变量 DSH_BIN 指定。
  • 卸载插件(dsh plugin --profile headless remove dsh-agnes-paseo)后,dsh 恢复原默认模型;Paseo provider 需手动从 ~/.paseo/config.json 删除 deepseek 条目并 paseo daemon restart。
  • Agnes API 文档:https://wiki.agnes-ai.com。

License

MIT

原始 README: https://github.com/vvlife/dsh-agnes-paseo/blob/main/README.md ↗

同类插件

查看全部 →
模型与账号接入Anionex

agent-vision-toolkit

为纯文本模型"看图“设计更好的视觉工具箱和技能,支持多图理解,图片问答,前端UI还原、GUI 自动化等,并可选无缝接入多个主流agent,直接识别粘贴图片| A vision toolkit and skill designed for text-only llms — image Q&A, long-screenshot OCR, frontend UI restoration, and GUI automation, with optional seamless integration for Codex, Claude Code, Pi, Oh My Pi, and OpenCode

查看详情
928github+08-16
模型与账号接入toby-bridges

api-relay-audit

从 DeepSeek Harness 对 AI API 中转站和 LLM 代理运行本地安全审计,生成 Markdown 报告,覆盖提示词注入、模型替换信号、工具调用改写、错误泄漏、流完整性和按 profile 启用的 Web3 风险。

查看详情
791github+08-21
模型与账号接入ZJU-LLMs

OpenStory

✨ OpenStory 现已支持 DeepSeek Harness 插件! 现在可以通过 dsh-openstory 将 OpenStory 多智能体推演接入 DeepSeek Harness,让 agent 直接启动模拟、查看角色、下达指令并逐回合推进故事。查看 DSH 插件配置与使用指南。

查看详情
377github+08-17
模型与账号接入pulseaiclub

phi

pi的编码代理 ∞ 提供者、子代理、hashline编辑和权限门

查看详情
89github+08-16
模型与账号接入anysearch-team

anysearch-dsh

DeepSeek Harness(DSH)的 AnySearch 网络搜索提供方与高级搜索工具。

查看详情
79github+08-17
模型与账号接入kuangre123

codex-switch

Codex Switch 是一个 macOS 工具,一键配置 Codex 的自定义 API,同时保留官方 OpenAI 登录。保存后 Codex 的模型选择器里只会出现你选的那个 provider 的模型。也支持 Claude Code 的官方 / 自定义 API 切换。Codex Switch is a lightweight helper for configuring multiple coding-agent API routes. For Codex, it keeps Official OpenAI and a custom API provider configured in parallel, registers the custom model in Codex's mod

查看详情
67github+08-16