vvlife/dsh-agnes-paseo
项目介绍Project Overview
dsh-agnes-paseo 是 DeepSeek Harness 插件,接入 Agnes AI 模型网关,并将 dsh 注册为 Paseo 的 provider。通过配置声明 agnes 路由,默认模型为 agnes-2.5-flash。适用于需要 Agnes 模型或 Paseo 集成的场景。注意:Paseo 回合间不保留对话上下文。
dsh-agnes-paseo is a DeepSeek Harness plugin that connects to the Agnes AI model gateway and registers dsh as a Paseo provider. It declares an agnes route via configuration, defaulting to the agnes-2.5-flash model. Use it when integrating Agnes models or Paseo. Note: Paseo turns do not retain conversation context.
请帮我了解并安装插件:【dsh-agnes-paseo】【https://github.com/vvlife/dsh-agnes-paseo】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile headless add github:vvlife/dsh-agnes-paseo
把 vvlife/dsh-agnes-paseo 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-agnes-paseo
DeepSeek Harness(dsh)插件:接入 Agnes AI 模型网关,并一键把 dsh 注册为 Paseo 的 provider。
- dsh 侧:通过 bundle patch 在
llm-pi-ai适配器上声明agnesprovider 路由(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 会做三件事:
AGNES_API_KEY写入~/.dsh/.credentials.yaml(0600)- ACP 桥复制到
~/.dsh/paseo-bridge/dsh-acp-bridge.mjs ~/.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
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS