Discover Packages
github.com/BaSui01/agentflow
examples
21_research_workflow
command
Version:
v1.8.4
Opens a new window with list of versions in this module.
Published: Mar 22, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
研究工作流 (Research Workflow)
展示使用 DAG 工作流引擎构建学术研究自动化流水线的模板。
功能
七阶段研究流程:文献收集 -> 质量过滤 -> 创意生成 -> 方案设计 -> 实现 -> 验证 -> 报告生成
可配置的研究参数(论文数量、质量阈值、创意数量、验证轮次)
模拟数据演示完整流程,附 DAG 构建注释供生产参考
最终输出 JSON 格式的研究报告
前置条件
Go 1.24+
无需 API Key(使用模拟数据演示流程)
运行
cd examples/21_research_workflow
go run main.go
代码说明
每个研究阶段是一个独立函数,在 main() 中按 DAG 拓扑顺序顺序调用执行(不依赖 workflow 包)。main() 内的注释块展示了生产环境中如何用 workflow.NewDAGBuilder 将各阶段改造为真实 DAG 节点的参考写法。生产环境中各阶段可接入 LLM、学术 API 和代码执行器。
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.