DeepSHPlugins
evo-subagent 项目预览
GITHUB / COMMUNITY PROJECT

evo-subagent

Agent 与自动化JavaScriptMIT

将稳定的 agent_key 映射到角色 Markdown 文件 front matter 中声明的具体 provider/model 组合,spawn 前会对照 DSH 模型注册表校验该组合,并按工作区维护 prefercmd 与 memory 进化文件。

6 StarsZekaiShi 更新时间 2026-09-10
访问 GitHub 仓库
evo-subagent 项目预览
evo-subagent 界面截图evo-subagent 界面截图

项目介绍

中文

将稳定的 agent_key 映射到角色 Markdown 文件 front matter 中声明的具体 provider/model 组合,spawn 前会对照 DSH 模型注册表校验该组合,并按工作区维护 prefercmd 与 memory 进化文件。

English

Maps a stable agent_key to an exact provider/model pair declared in role Markdown front matter, validates the pair against the live DSH model registry before spawning, and maintains per-workspace prefercmd and memory evolution files.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
ZekaiShi
仓库
ZekaiShi/evo-subagent
GitHub Stars
6
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-09-10
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

73/ 100
维护活跃
100
文档与实用信息
100
生态关注度
24
安装便捷信号
80
项目声明信号
100

近 1 天仍在更新;README 含完整安装与使用说明;关注度尚低(6)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:ZekaiShi/evo-subagent

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

evo-subagent

evo-subagent — Route. Remember. Evolve.

English | 简体中文

npm version license Node.js

Downloads

Cumulative npm downloads

Cumulative npm download data since the first release, refreshed automatically every day. DSH Market ranks plugins using npm downloads, so this is the closest public adoption signal; it cannot distinguish marketplace installs from direct npm installs.

evo-subagent is a DeepSeek Harness plugin for predictable subagent routing and project-scoped evolution.

It maps stable agent roles to registered provider/model pairs, remembers verified commands and lessons for each role, and keeps every project's agent knowledge isolated.

Features

  • Route each agent_key through a same-named Markdown binding.
  • Validate the exact provider/model pair before creating a child agent.
  • Maintain per-agent prefercmd.md and memory.md knowledge files.
  • Isolate bindings and evolution data by project workspace.
  • Support fresh spawn children and context-aware fork children.
  • Fall back to DSH's native model inheritance when no binding exists.
  • Store no API keys, endpoints, credentials, or provider definitions.

Installation

dsh plugin add evo-subagent

Quick start

Open and manage evo-subagent in DSH

  1. Open Settings → Plugins and expand evo-subagent.
  2. Select a workspace and add a built-in role, or place a custom binding in its agents/ directory.
  3. Choose a registered provider/model pair for each custom binding.
  4. Expand an agent to review its prefercmd.md and memory.md evolution files.

Download the MP4 tutorial

Agent bindings

Create an agents/ directory in the project and add one Markdown file per role. The filename stem becomes the agent_key.

project/
├─ agents/
│  ├─ code-reviewer.md
│  └─ researcher.md
└─ .evo_subagent/
   └─ evolution/

Each binding begins with a strict front matter block:

---
provider: deepseek-official
model: deepseek-v4-flash
---

# Code reviewer
Optional role notes may follow.

The provider and model must already be registered. Matching is exact and case-sensitive.

Call the plugin tool with the corresponding key:

{
  "agent_key": "code-reviewer",
  "description": "Review the implementation",
  "prompt": "Report correctness, security, and test coverage issues.",
  "run_in_background": false
}

Built-in roles

Three templates are included:

agent_keyRole
code-reviewerSeverity-ranked code review
researcherEvidence-backed investigation
wps-workerOffice document production

A project binding with the same agent_key overrides its built-in template.

Evolution

Each project stores role-specific knowledge under:

.evo_subagent/evolution/<agent_key>/prefercmd.md
.evo_subagent/evolution/<agent_key>/memory.md
  • prefercmd.md records commands that have been verified to work.
  • memory.md records reusable lessons and failures to avoid.

Foreground subagents receive a bounded knowledge block. They can return new entries with:

[[EVOLUTION]]
prefercmd:
- pnpm test
memory:
- Do not use --force in CI.
[[/EVOLUTION]]

Entries are deduplicated and bounded. Prefix an entry with ! to keep it at highest priority, or ? to make it compressible when the context budget is tight.

Legacy .smart_subagent/evolution data remains a read-only fallback and is copied to the new location on the next save.

Workspace management

The plugin settings card groups agents by project and lets users:

  • view or collapse workspace agent lists;
  • edit a custom binding's registered provider/model route;
  • add a built-in role to a workspace by copying its template;
  • bind one workspace-root AGENTS.md as the Main agent;
  • inspect and edit each agent's evolution files.

Main-agent evolution is stored under .evo_subagent/evolution/main/. Binding and unbinding only changes the plugin-managed instruction block in AGENTS.md.

Tool fields

FieldRequiredDescription
agent_keyYesBinding filename without .md.
descriptionYesShort task label.
promptYesComplete task for the child agent.
run_in_backgroundNoDefaults to true; use false to collect evolution output.

Routing behavior

  1. Resolve <agent_key>.md safely.
  2. Parse its fenced provider and model fields.
  3. Verify both values against the live model registry.
  4. Start the child through the selected spawn or fork provider.

Invalid bindings fail before a child is created. Missing bindings preserve native DSH inheritance unless a built-in template matches.

Development

Requires Node.js 22 or newer.

npm test
npm run check
npm pack --dry-run

License

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目