DeepSeek Harness plugin

dsh-maf

Microsoft Agent Framework (MAF) integration for DeepSeek Harness: validate, run and scaffold declarative agents and workflows defined in YAML, through native dsh tools.

Jump to install

Source facts

Repository
WODE25500/dsh-maf
Latest update
Aug 20, 2026
Category
Workflow & Automation
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-21

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/WODE25500/dsh-maf
Plugin: dsh-maf
Author: WODE25500

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-maf

Microsoft Agent Framework (MAF) 的 DeepSeek Harness (dsh) 插件 —— 让 dsh 智能体验证、运行和搭建 MAF 的 declarative agents / workflows(YAML 声明式定义)。

> 独立社区项目,非官方。基于 microsoft/agent-framework(MIT)。 > MAF 是 Semantic Kernel 的企业级继任者(v1.0 已发布)。

为什么做

MAF(13k★,Python/.NET)是微软当前的 agent 编排框架,没有 DSH 适配。它的核心是 YAML 声明式 agent/workflow——正好适合 agent 生成、验证和运行:

工具行为
maf_statusMAF 包版本 + 环境检查
maf_validate校验 declarative agent YAML(AgentFactory 解析)
maf_run_agent运行 declarative agent(YAML + prompt)
maf_run_workflow运行 declarative workflow sample(main.py)
maf_scaffold生成 agent/workflow YAML 模板

前置要求

pip install agent-framework agent-framework-declarative python-dotenv

Agent YAML 的 model.id 常引用环境变量(=Env.OPENAI_CHAT_MODEL_ID), 运行前配置好 .env / 环境变量(provider 密钥)。

安装

# profile 的 cordis.patch.yml
- insert:
    - id: maf
      name: './src/index.js'
      config:
        pythonCmd: python
        enginePath: scripts/maf.py
pnpm dsh web --patch ./dsh-maf/cordis.patch.yml

然后问 agent:"maf_status 检查环境,maf_validate 校验 ./agents/Assistant.yaml"。

引擎实现

scripts/maf.py 包装 MAF SDK:

  • AgentFactory(safe_mode=False).create_agent_from_yaml_path(path)await agent.run(prompt)
  • workflow 用 python main.py 标准 sample 布局(workflow.yaml + main.py)

配置项

默认说明
pythonCmdpythonPython 解释器
enginePathscripts/maf.py引擎脚本路径
timeoutMs180000单次调用超时(agent 运行可能较慢)

已知限制

  • maf_run_agent / maf_run_workflow 消耗配置的 provider API 额度
  • declarative agents API 官方标注为 *experimental*(可能变动)
  • 输出原样返回(含模型生成内容)

目录结构

dsh-maf/
  src/index.js            # 5 个工具 + 配置
  scripts/maf.py          # MAF SDK 引擎(status/validate/run/scaffold)
  skills/maf/SKILL.md
  docs/
  cordis.patch.yml

许可

MIT。