cloudbywu/dshchem--packages-dsh-tool-chem ↗★ 1

@dshchem/dsh-tool-chem

Preset tool rows for the DSH chemist agent: 24 chem_* tools (molecular properties, retrosynthesis, drug-likeness, ADMET, docking, virtual screening) as thin model-facing consumers of the host `chem` service from @dshchem/dsh-chem-core. 适合化学科研Agent,需配合@dshchem/dsh-chem-core服务使用。

패키지
@dshchem/dsh-tool-chem
호환성
미검증
버전
0.1.0
최근 업데이트
2026. 9. 17.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

@dshchem/dsh-tool-chem

DSH chemist 化学科研预设的模型工具行包(24 个 chem_* 工具)。每个工具都是宿主 chem 服务(@dshchem/dsh-chem-core 提供)的薄消费者——只拥有 schema、校验与呈现,不拥有计算与网络。

工具清单

工具用途关键输出
chem_validateSMILES 校验 + canonical 化canonical/formula/InChI/InChIKey/heavyAtoms
chem_props分子描述符(RDKit)MW/exactMw/logP/HBD/HBA/TPSA/旋转键/芳香环/电荷/分子式
chem_convert结构格式转换 + 2D/3D 结构图canonical/inchi/inchikey/mol/sdf/svg/xyz
chem_pubchemPubChem 交叉核对 + 名称自动补全CID/名称/分子式/MW/SMILES/IUPAC/InChIKey
chem_calc能量计算emt / xtb GFN2-xTB 能量与弛豫
chem_reaction反应分析原子守恒 / SMARTS 模板产物
chem_recipe_save / _search / _list配方记忆库id/title/tags/content(跨会话持久)
chem_papers文献检索DOI/标题/期刊/年份/作者/摘要
chem_pdf本地 PDF 文本提取pages/chars/text
chem_retro_step单步逆合成断键precursors/atomConserved/saScore
chem_functional_groups官能团识别(24 种)name/count
chem_retro_planBFS 逆合成路线plans(route/terminal/reason)
chem_reagents正向合成条件推荐conditions/notes
chem_aizynthAiZynthFinder 反应树搜索routes(score/reactionTree)
chem_druglikeness类药性 + QED + SAlipinski/veber/reos/verdict/qed/saScore
chem_similarityTanimoto 相似性排序results(target/tanimoto/invalid)
chem_clusterButina 聚类 + Murcko 骨架clusters/numSingletons/murckoScaffolds
chem_mcs最大公共子结构smarts/numAtoms/numBonds
chem_enumerateR-group 组合枚举combinations/generated/products
chem_admetADMET 端点预测(104 项)endpoints/count
chem_dockAutoDock Vina 对接poses/bestAffinity_kcal_mol/batch
chem_screen一站式虚拟筛选hits/failed/reportPath

设计要点:LLM 只规划与叙事,分子事实一律由工具产出——这是 ChemCrow 范式在 DSH 预设中的落地(防 SMILES/性质幻觉)。

预设行用法

在 agent.cordis.yml 中(本机 ~/.dsh/.agent-presets/chemist/agent.cordis.yml):

- id: tool-chem
  name: 'C:/Users/cloud/Desktop/dshchem/packages/dsh-tool-chem/lib/index.js'
  • 开发期:绝对路径行直接指向本仓库入口;包内 import '@deepseek-ai/dsh-tools' 依赖工作区 junction 解析(见顶层 README「依赖解析」)。
  • 发布期:npm publish 后将行改为 name: '@dshchem/dsh-tool-chem',并把 @deepseek-ai/dsh-tools 列为常规依赖(自包含解析),或保持绝对路径用于个人部署。

挂载校验

# 通过 dsh-agent-presets 的 standingKeyFor 校验(组合真实挂载,非语法检查)
# 需要 chem 服务已在当前进程提供(重启后由 chem-core bundle 提供)