denario by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill denarioDenario 是一个多智能体人工智能系统,旨在自动化从初始数据分析到可发表手稿的科学研究工作流程。它基于 AG2 和 LangGraph 框架构建,协调多个专业智能体来处理假设生成、方法学开发、计算分析和论文撰写。
在以下情况下使用此技能:
使用 uv 安装 denario(推荐):
uv init
uv add "denario[app]"
或使用 pip:
uv pip install "denario[app]"
关于 Docker 部署或从源代码构建,请参阅 references/installation.md。
Denario 需要来自支持的 LLM 提供商的 API 密钥。支持的提供商包括:
请使用环境变量或 .env 文件安全地存储 API 密钥。有关包括 Vertex AI 设置在内的详细配置说明,请参阅 references/llm_configuration.md。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
Denario 遵循结构化的四阶段研究流程:
通过指定可用数据和工具来定义研究背景:
from denario import Denario
den = Denario(project_dir="./my_research")
den.set_data_description("""
Available datasets: time-series data on X and Y
Tools: pandas, sklearn, matplotlib
Research domain: [specify domain]
""")
根据数据描述生成研究假设:
den.get_idea()
这将基于所描述的数据产生一个研究问题或假设。或者,也可以提供自定义的想法:
den.set_idea("Custom research hypothesis")
开发研究方法学:
den.get_method()
这将创建一个用于研究假设的结构化方法。也可以接受包含自定义方法学的 Markdown 文件:
den.set_method("path/to/methodology.md")
执行计算实验并生成分析:
den.get_results()
这将运行方法学,执行计算,创建可视化结果并产生发现。也可以提供预先计算好的结果:
den.set_results("path/to/results.md")
创建可发表的 LaTeX 论文:
from denario import Journal
den.get_paper(journal=Journal.APS)
生成的论文包含指定期刊的适当格式、集成图表和完整的 LaTeX 源代码。
Denario 支持多种期刊格式样式:
Journal.APS - 美国物理学会格式references/research_pipeline.md 获取完整列表运行图形用户界面:
denario run
这将启动一个基于 Web 的界面,用于交互式研究工作流程管理。
from denario import Denario, Journal
# 初始化项目
den = Denario(project_dir="./research_project")
# 定义研究背景
den.set_data_description("""
Dataset: Time-series measurements of [phenomenon]
Available tools: pandas, sklearn, scipy
Research goal: Investigate [research question]
""")
# 生成研究想法
den.get_idea()
# 开发方法学
den.get_method()
# 执行分析
den.get_results()
# 创建出版物
den.get_paper(journal=Journal.APS)
# 提供自定义研究想法
den.set_idea("Investigate the correlation between X and Y using time-series analysis")
# 自动生成方法学
den.get_method()
# 自动生成结果
den.get_results()
# 生成论文
den.get_paper(journal=Journal.APS)
关于文献检索功能和更多工作流程示例,请参阅 references/examples.md。
如需全面的文档:
references/installation.mdreferences/llm_configuration.mdreferences/research_pipeline.mdreferences/examples.md常见问题及解决方案:
references/llm_configuration.md)每周安装次数
118
代码仓库
GitHub 星标数
22.6K
首次出现
2026年1月21日
安全审计
已安装于
claude-code101
opencode93
gemini-cli87
cursor86
antigravity83
codex77
Denario is a multiagent AI system designed to automate scientific research workflows from initial data analysis through publication-ready manuscripts. Built on AG2 and LangGraph frameworks, it orchestrates multiple specialized agents to handle hypothesis generation, methodology development, computational analysis, and paper writing.
Use this skill when:
Install denario using uv (recommended):
uv init
uv add "denario[app]"
Or using pip:
uv pip install "denario[app]"
For Docker deployment or building from source, see references/installation.md.
Denario requires API keys from supported LLM providers. Supported providers include:
Store API keys securely using environment variables or .env files. For detailed configuration instructions including Vertex AI setup, see references/llm_configuration.md.
Denario follows a structured four-stage research pipeline:
Define the research context by specifying available data and tools:
from denario import Denario
den = Denario(project_dir="./my_research")
den.set_data_description("""
Available datasets: time-series data on X and Y
Tools: pandas, sklearn, matplotlib
Research domain: [specify domain]
""")
Generate research hypotheses from the data description:
den.get_idea()
This produces a research question or hypothesis based on the described data. Alternatively, provide a custom idea:
den.set_idea("Custom research hypothesis")
Develop the research methodology:
den.get_method()
This creates a structured approach for investigating the hypothesis. Can also accept markdown files with custom methodologies:
den.set_method("path/to/methodology.md")
Execute computational experiments and generate analysis:
den.get_results()
This runs the methodology, performs computations, creates visualizations, and produces findings. Can also provide pre-computed results:
den.set_results("path/to/results.md")
Create a publication-ready LaTeX paper:
from denario import Journal
den.get_paper(journal=Journal.APS)
The generated paper includes proper formatting for the specified journal, integrated figures, and complete LaTeX source.
Denario supports multiple journal formatting styles:
Journal.APS - American Physical Society formatreferences/research_pipeline.md for the complete listRun the graphical user interface:
denario run
This launches a web-based interface for interactive research workflow management.
from denario import Denario, Journal
# Initialize project
den = Denario(project_dir="./research_project")
# Define research context
den.set_data_description("""
Dataset: Time-series measurements of [phenomenon]
Available tools: pandas, sklearn, scipy
Research goal: Investigate [research question]
""")
# Generate research idea
den.get_idea()
# Develop methodology
den.get_method()
# Execute analysis
den.get_results()
# Create publication
den.get_paper(journal=Journal.APS)
# Provide custom research idea
den.set_idea("Investigate the correlation between X and Y using time-series analysis")
# Auto-generate methodology
den.get_method()
# Auto-generate results
den.get_results()
# Generate paper
den.get_paper(journal=Journal.APS)
For literature search functionality and additional workflow examples, see references/examples.md.
For comprehensive documentation:
references/installation.mdreferences/llm_configuration.mdreferences/research_pipeline.mdreferences/examples.mdCommon issues and solutions:
references/llm_configuration.md)Weekly Installs
118
Repository
GitHub Stars
22.6K
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
claude-code101
opencode93
gemini-cli87
cursor86
antigravity83
codex77
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
66,200 周安装