DeepSeek Harness v0.1 Developer Preview

为 DSH Agent 打造的
金融场景插件套件

7 个核心插件,44 个工具能力。覆盖行情数据、财报分析、风控引擎、量化指标、舆情监控、KYC 合规、投资组合分析。
遵循 DSH "Everything is a Plugin" 架构,即插即用,自由组合。

0插件
0工具
0场景
0协议

插件市场

架构总览:DSH + 金融插件

DeepSeek Harness Agent
Model + Harness = Agent | Everything is a Plugin
Market Data
Financial Report
Risk Engine
Quant Indicators
Market Sentiment
KYC Compliance
Portfolio
Tushare / AKShare
OFAC / UN Sanctions
新闻 API / LLM

快速开始

环境要求
  • • Node.js >= 22.16.0(推荐 24.x)
  • • 操作系统:macOS / Linux / Windows (WSL)
  • • DeepSeek API Key(获取地址
1安装 DSH
# 全局安装 DSH
$ npm install -g @deepseek-ai/dsh
# 或直接使用 npx 运行
$ npx @deepseek-ai/dsh --version
2配置 DeepSeek API Key
# 方式一:环境变量
$ export DEEPSEEK_API_KEY="sk-your-api-key"
# 方式二:写入配置文件
$ mkdir -p ~/.dsh
$ echo 'DEEPSEEK_API_KEY=sk-your-api-key' > ~/.dsh/.env
3启动 DSH Web UI
# 启动 DSH Web 界面
$ dsh web
# 或指定端口
$ dsh web --port 8080
# 访问 http://127.0.0.1:8080
4安装必装插件
# 安装必装插件(推荐)
# modlens - 让模型可以读图
$ dsh plugin add @liustack/modlens@latest
# dsh-at-file - 输入框 @ 引用文件
$ dsh plugin add dsh-at-file
# dshmarket - 插件市场
$ dsh plugin add dshmarket
5安装金融插件
# 进入 DSH 配置目录
$ cd ~/.dsh/profiles/web
# 从 npm 安装金融插件
$ pnpm add @hanjixin/dsh-tool-market-data -w
$ pnpm add @hanjixin/dsh-tool-a-stock -w
$ pnpm add @hanjixin/dsh-tool-forex -w
$ pnpm add @hanjixin/dsh-plugin-risk-engine -w
# ... 按需安装更多插件
6配置 cordis.patch.yml
# ~/.dsh/profiles/web/cordis.patch.yml
- insert:
    - id: dsh-tool-market-data
      name: ./node_modules/@hanjixin/dsh-tool-market-data/src/index.js
    - id: dsh-tool-a-stock
      name: ./node_modules/@hanjixin/dsh-tool-a-stock/src/index.js
    - id: dsh-tool-forex
      name: ./node_modules/@hanjixin/dsh-tool-forex/src/index.js
    - id: dsh-plugin-risk-engine
      name: ./node_modules/@hanjixin/dsh-plugin-risk-engine/src/index.js
    - id: dsh-tool-quant-indicators
      name: ./node_modules/@hanjixin/dsh-tool-quant-indicators/src/index.js
    - id: dsh-tool-portfolio
      name: ./node_modules/@hanjixin/dsh-tool-portfolio/src/index.js
    - id: dsh-tool-datasource-config
      name: ./node_modules/@hanjixin/dsh-tool-datasource-config/src/index.js
    # ... 更多插件
7配置数据源(可选)
配置收费数据源可获取更精准的金融数据。支持 Tushare、Wind、东方财富 Choice、聚宽等。
# 通过 DSH 对话配置
> 帮我配置 Tushare,token 是 your-tushare-token
# 查看已配置的数据源
> 查看我配置了哪些数据源
💡 数据源优先级:收费数据源(Tushare等)> 免费数据源(新浪/腾讯/世界银行)
8验证安装
# 检查插件是否加载
$ dsh --profile web --dump-config | grep dsh-tool
# 在 DSH Web UI 中测试
> 查一下苹果公司(AAPL)的股票价格
> 把 1000 美元换算成人民币
> 查一下贵州茅台(600519)的股价
DSH Web UI 设置界面

启动 DSH Web UI 后,可以通过设置界面管理插件和配置:

设置 → 模型
配置 DeepSeek API Key、选择模型、调整参数
设置 → 插件
查看已安装插件、启用/禁用插件、配置插件参数
设置 → 插件市场(一键安装)
浏览 800+ 社区插件,点击即可安装,无需重启 DSH。包含四个标签页:发现主题已安装备份与恢复
设置 → Agent 预设
配置 Agent 行为、系统提示词、工具权限
💡 提示:金融插件的数据源配置可以通过对话完成,例如:"配置 Tushare,token 是 xxx"
开始对话

安装完成后,Agent 自动获得金融数据查询、风控评估、技术分析等能力。试试问:

"帮我查一下贵州茅台最新行情""分析这份财报的风险点""评估这笔交易的风险等级""计算 MACD 和 RSI 指标""建议一个稳健的投资组合"
DSH Finance Plugin Suite
MIT LicenseDeepSeek Harness v0.118 plugins / 44 tools