鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

qdd

面向 DeepSeek Harness 的 Question-Driven Discovery 科研工作流,提供 QDD Agent Preset、持久化 Human 和 Auto 运行,以及可审计的研究面板。

工作流
访问 GitHub
文档README
QDD - Question-Driven Discovery

Question-driven orchestration for AI-assisted biomedical discovery.

Turn long-horizon research into an auditable loop of questions, evidence, artifacts, and next-study decisions.

Language

简体中文 · English

Quick Links

Quick Start · Human Workflows · Auto Mode · Skills

Release status: QDD v0.1.0-rc.1 is the public submission-candidate line. This repository accepts reproducibility fixes, bug fixes, documentation improvements, and changes required by manuscript review. New research architectures are developed separately so this line remains a stable reference for the paper.

Quick Start

Requirements:

  • Node >=20.19.0
  • An Anthropic-compatible model configuration for Auto Mode

Install locally:

▼
bash
复制代码
npm install npm run build npm install -g .

Initialize a research project:

▼
bash
复制代码
mkdir my-qdd-project cd my-qdd-project qdd init .

Then either run the six human workflows through your agent, or start Auto Mode for the core research loop:

▼
bash
复制代码
qdd auto --max-turns unlimited

More installation details are in docs/04-installation-guide.md.

What QDD Gives You

Question governance
Every study records how the research question changed: refinement, confirmation, pivot, or dissolution.
Agent-ready memory
Contracts, study files, task records, artifacts, and evolution history stay readable to both humans and agents.
Domain skill injection
34 local skills are routed by role and task instead of being dumped into every prompt.
Public-data grounding
CELLxGENE, GEO, PubMed, CellMarker, and ligand-receptor references become auditable local artifacts.

Why QDD

Modern AI agents can write code, search public databases, and run analyses. The hard part is no longer only execution. The hard part is keeping a multi-step scientific project coherent after every partial result, failed hypothesis, dataset limitation, or promising signal.

QDD is built for that gap:

Without QDDWith QDD
Scattered chats, scripts, notebooks, and foldersOne readable research state shared by humans and agents
Agents optimize the next task onlyAgents optimize the next question
Negative results become dead endsNegative results become pivots, validations, or robustness studies
Public-data searches are hard to auditDataset and reference choices are recorded as reusable evidence
Domain knowledge must be re-explained every turnDomain skills are injected into the right role at the right time

The Six Human Workflows

QDD is intentionally small. The human-facing model is five research-loop workflows plus a project-level conclude workflow. Auto Mode covers the research loop only.

1. Start

Establish the project contract: research theme, scope, data assumptions, runtime environment, durable resources, and mode. This is the stable "why are we doing this?" layer.

2. Propose

Turn the current frontier into one bounded study. A good study has a judgeable question, a falsifiable expectation, a small task graph, and explicit resource fit.

3. Explore

Stress-test a proposed study before execution. This is where the agent and user refine boundaries, decide whether public data is needed, and avoid over-broad or under-powered plans.

4. Apply

Execute the study tasks. QDD injects task-local domain skills, runs code inside the project, preserves scripts and outputs, and keeps final artifacts under a canonical study output surface.

5. Close

Synthesize evidence and update the research frontier. A close event can refine, confirm, pivot, or dissolve a question. QDD records what changed, what remains open, which artifacts are reusable, and what next candidates are worth pursuing.

6. Conclude

Use $qdd-conclude in Codex or the corresponding qdd-conclude entry in Claude Code when the project is synthesis-ready. The general-purpose agent writes a cross-study research synthesis, aligns the manuscript narrative with the user, writes and revises the complete story.md, and renders TeX only after the user accepts that story. Conclude is human-only and is not an Auto Mode phase.

Auto Mode

Auto Mode runs the whole loop through an Anthropic-compatible SDK session:

▼
text
复制代码
Start -> Propose -> Apply -> Close -> Propose -> ...

It is designed for long-running research automation, not a single prompt. The runtime decides the next phase from persisted QDD state, while the thesis-manager role decides whether the project should continue, stop, validate, pivot, or search for better data.

Minimal launch:

▼
bash
复制代码
qdd auto --max-turns unlimited

Auto Mode currently speaks the Anthropic protocol. Install dependencies and configure an Anthropic-compatible model before running it. If you use DeepSeek as the default backend, route it through an Anthropic-compatible gateway or internal proxy:

▼
bash
复制代码
export ANTHROPIC_AUTH_TOKEN="your-api-key" export ANTHROPIC_BASE_URL="https://<your-anthropic-compatible-deepseek-gateway>" export ANTHROPIC_MODEL="deepseek-reasoner" qdd auto --max-turns unlimited

You can also pass the model explicitly:

▼
bash
复制代码
qdd auto --model deepseek-reasoner --max-turns unlimited

Domain Skill Injection

QDD ships with 34 local skills that are routed by role and task instead of dumped into every prompt.

Skill layerCurrent coverage
Thesis planningproject-frontier planning and continue/stop/pivot decisions
Study brainsingle-cell, spatial, and public-data planning
scRNA-seqQC, integration, clustering, annotation, DE, group stats, module scoring, enrichment, communication, trajectory
scATAC-seqLSI preprocessing, latent integration, gene-activity annotation, DAR
Spatial transcriptomicsQC, integration, clustering, annotation, group stats, DE, neighborhood, niche composition, structure quantification
Public data and referenceCELLxGENE, GEO, PubMed, CellMarker, ligand-receptor resources

The point is not just more tools. The point is role-aware injection:

  • thesis-manager gets frontier-planning skills
  • study-brain gets planning skills
  • executor gets only the task-local domain skills it needs
  • public-data skills are separated from downstream analysis skills

This keeps prompts smaller, analysis more reproducible, and agent behavior easier to audit.

Public Data As First-Class Research Context

QDD treats external data and references as evidence, not hidden prompt memory.

Supported public-data/reference surfaces currently include:

  • CELLxGENE dataset discovery
  • GEO candidate capture
  • PubMed evidence capture
  • CellMarker marker reference capture
  • ligand-receptor database capture

Dataset acquisition and downstream analysis are deliberately decoupled:

▼
text
复制代码
external source -> fetch/capture skill -> local artifact -> domain executor -> study output

That means an agent can first find or validate a dataset, then hand a normalized local artifact to a single-cell or spatial workflow without mixing search logic into analysis code.

What QDD Is Not

  • It is not a clinical decision system.
  • It is not a black-box cloud notebook.
  • It is not a replacement for domain judgment.
  • It is not a rigid workflow engine where every branch is pre-scripted.

QDD is a protocol layer for human-agent research: local files, explicit evidence, reusable artifacts, and question evolution.

工作流

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:BillyChen123/qdd

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
DSH-Feedback-Bridge
将 DSH 对话整理为可审阅的社区反馈,并在确认后提交到 DeepSeek Harness 官方 Discussions。
dsh-itranslation#bundle
DeepSeek Harness 整本书翻译生产线:确定性章节识别与分段、子代理逐章翻译、术语表控制、全书审查、定向修订,以及可审计的 meta.json 证据链。
dsh-md-convert
将 Office 文档与 PDF(含扫描件)转换为保留结构的 Markdown,采用 CPU 优先的路由 OCR 流水线(RapidOCR/SLANet/FormulaNet)。
dsh-subagent-pool
为 DeepSeek Harness 维护可复用的命名子代理配置,并按配置的模型、推理强度和 Agent 预设运行子代理。
dsh-plugins#dsh-wx-push
DSH 会话任务结束后自动把结果原文推送到微信(iLink 直发,真实校验送达,失败如实报错)。需配置 wechat-acp 守护进程——一个需要另外安装并扫码登录微信的独立进程。