LLM 与研究产物

本页说明 AutoBiology 什么时候会调用 LLM、哪些能力由确定性算法负责,以及 GitHub 仓库中的研究产物如何使用。

如何确认 LLM 是否开启

运行:

autob config show

只有以下字段都已配置时,LLM 推理才会运行:

流水线运行后,可以继续检查:

可直接复制的检查命令:

node -e "const fs=require('fs'); const m=JSON.parse(fs.readFileSync('out/run-meta.json','utf8')); console.log(m.config.llmModel)"
rg -n '"LLM-Candidate"' out/04-requirements.json
rg -n 'LLM 辅助层未启用' out/06-clarifications.json

默认行为

默认情况下,AutoBiology 不会自动调用 LLM。只有 JSON 配置能解析出完整的 OpenAI-compatible client 时,Stage 4 才会调用 LLM。

没有 LLM 配置时,确定性流水线仍会完整运行。使用 autob init 可以写入全局配置 ~/.autob/config.json。项目级 .autob.json 可以覆盖 baseUrlmodeltimeoutMs 等非敏感字段,但不能包含 apiKey

算法引擎和 LLM 的边界

确定性算法引擎负责:

LLM 只负责可选的 Stage 4 辅助:

LLM 输出有来源边界。候选需求必须引用 source hyperedge,默认保持 candidate 状态,不会覆盖确定性生成的 confirmed 需求。LLM 失败时,AutoBiology 会保留确定性结果并记录澄清项。

GitHub 仓库产物

GitHub 仓库包含两个生成产物目录:

这些目录主要用于源码审阅、论文写作和复现说明。npm 包重点包含 CLI 运行时、使用文档和内置 data/ 知识库。

常用命令

autob config show
autob run your-sop.txt -o out
autob infer out/04-requirements.json -o out

优先打开 out/report.md 查看可读摘要;如果要确认 LLM 情况,再检查 out/04-requirements.jsonout/06-clarifications.jsonout/run-meta.json