academic-harness
开发工具 活跃维护

academic-harness

raktim-mondol/academic-harness

以多重研究人设与科学技能库为核心,提供动态实验室笔记和专家子代理协同,可灵活调用并组合专项能力,让科研记录、实验追踪与文献挖掘在同一环境内高效衔接。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
Python
主要语言
MIT
开源协议
19.4 MB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:raktim-mondol/academic-harness
git clone https://github.com/raktim-mondol/academic-harness.git
git clone git@github.com:raktim-mondol/academic-harness.git
README.md main

Academic Harness

verify
DeepSeek Harness 0.2.1+

A research workbench for DeepSeek Harness — literature and web discovery, verbatim paper memory, a writing oracle for LaTeX, systematic-review and hypothesis ledgers, 730 scientific skills, and local self-improvement, all inside the DSH web UI.

Academic Harness is a DSH profile: it installs as a plugin, adds a preset with a research persona and academic tools, and keeps the general-purpose tools available on every preset.

Architecture overview

Why Academic Harness

Principle What it means in practice
Evidence, not citation-shaped guesses PaperMemory stores papers as content-addressed Markdown and anchors claims to exact quote spans. quote_check and trace verify a quotation before it becomes a citation; an empty cite means do not invent one. Read more
A writing oracle with a gate The vendored ah_* engine inventories every number, citation, unit, and claim in a LaTeX tree. A turn closes only when it introduced no open blocker or major. Read more
Auditable research ledgers Systematic reviews and hypothesis tournaments live in append-only logs under the workspace, so a resumed session sees the same protocol, screening decisions, and ratings. Reviews · Tournaments
Discovery across the real literature OpenAlex, Semantic Scholar, PubMed/Europe PMC, arXiv, and Crossref through one literature_search entry point, plus Consensus, Parallel, Firecrawl, Scite, CORE, Elicit, and FutureHouse. Read more
A lab notebook that survives context loss A JSONL notebook shared across the delegation tree, a schema-validated scientific_result card, and deletion-only reply folding at five levels. Read more
Local-first by design Workspace search (zvec-grep), PaperMemory, TextFold, ledgers, and the RSI store stay on disk. No key is required to boot. Read more

Install

Requires DeepSeek Harness 0.2.1 or later.

npm install -g @deepseek-ai/dsh

Then either:

A — from the DSH Web UI (recommended): open Plugins → Add plugin, paste github:raktim-mondol/academic-harness, click Install, and start a new chat.

B — a dedicated CLI profile:

dsh plugin --profile academic-harness add github:raktim-mondol/academic-harness
dsh --profile academic-harness

Confirm the preset selector at the top of the message box reads Academic Harness. The academic tools are preset-only; a session left on Standard/PTC will fail with tools[name] is not a function.

Full instructions, migration from researchcraft, troubleshooting, and the "one DSH surface at a time" rule are in Install and run.

What is inside

Capability map

Surface Highlights Guide
Search and discovery literature_search router, OpenAlex, Semantic Scholar, PubMed, arXiv, Crossref, Consensus, Parallel, Firecrawl, Scite, Tavily, Exa, Perplexity, Jina, CORE, Elicit, FutureHouse Search
Papers and evidence paper_download, paper_fold, pdf_to_markdown, PaperMemory's 14 tools, integrity_check, Paper2Agent Papers
Writing and citation ah_* writing oracle and gate, citation, manuscript_citations, LaTeX, scientific-figure-making, diagram-design, image_generate, mermaid_render (Pele) Writing
Reviews and hypotheses review PRISMA-style ledger, coscientist Glicko-2 tournament, published-results feedback, cross-session priors Research
Clinical and policy records clinicaltrials, openfda, dataset_search, journal_policy, funder_policy Research
Workspace and notebook zvec-grep semantic search, lab notebook, scientific_result, fold_text, research_template, sci_inspect Workspace
Compute and delegation runpod_run/modal_run/vastai_run, subagent_pro, subagent_vision, specialist briefs, agent-browser Compute · Agents
Skills 730 bundled skills: 140 domain, 16 methodology, 503 expert profiles, 23 drug-discovery, plus writing, figures, agents, and compute Skills
Self-improvement Local RSI: capture, diagnose, admit, inject, compare against control, promote or quarantine RSI
Configuration Settings → Academic Harness API keys; every credential is optional at install Configuration

The complete tool list, with scope and links, is the tool index. The architecture guide explains which tools are available on every preset and which are preset-only.

How a request works

Request lifecycle

Discovery finds candidate papers, paper_resolve collapses their identifiers, and integrity_check reports retraction status. A downloaded PDF is stored as content-addressed Markdown in PaperMemory, and a quotation must pass quote_check or trace before the agent treats it as evidence. The notebook records the work; scientific_result records the final finding.

Documentation

Start here Go deeper Reference
Install and run Search Tool index
Architecture Papers and evidence Configuration
Documentation home Writing Changelog
Research Development
Workspace Optional tools
Compute · Agents · Skills · RSI Engine notes

Requirements and scope

  • DSH 0.2.1+. The plugin's bundle patches the web-app layer, so the profile must include @deepseek-ai/dsh-web-app; the standard web profile does.
  • A preset check matters. The research persona, search connectors, PaperMemory, zvec-grep, paper tools, citation/review/tournament tools, and the subagent_pro/subagent_vision routes are scoped to the Academic Harness preset. Only the general-purpose tools (notebook, fold, images, LaTeX, PDF, Mermaid, compute, templates) are on every preset.
  • Keys are optional. No credential is needed to install or start; each connector stays disabled until its key is present. Some runtimes install in the background on first use — see Architecture.
  • One DSH surface at a time. dsh-web, dsh-tui, dsh-martty, and academic-harness share $DSH_HOME, port 3080, and the zvec-grep daemon. Stop the previous one before starting another; see Install.
  • Renamed in v0.16.0 from dsh-researchcraft / ResearchCraft. Old env names are still honored; migration is in Install.

Development

npm install       # once, for the Settings page build
npm run build     # after any client/ change
npm run docs:diagrams   # regenerate the SVG figures from docs/diagrams/*.mmd

Server-side code is plain ESM JS with no build step. Tests are plain Node scripts; see Development for the full suite and the paper_fold live test.

License

MIT — see LICENSE. Scientific skills are vendored or adapted from several open-source catalogues; NOTICE records exactly what was copied, renamed, or adapted from each.