denario
Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 3.3w
- Forks
- 3.9k
01 前言 Front Matter
- name
- denario
- description
- Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.
02 资源文件 4
- 参考文档references/examples.md12.5 KB
- 参考文档references/installation.md3.8 KB
- 参考文档references/llm_configuration.md6.6 KB
- 参考文档references/research_pipeline.md11.6 KB
03 SKILL.md 正文
Denario
Overview
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.
When to Use This Skill
Use this skill when:
- Analyzing datasets to generate novel research hypotheses
- Developing structured research methodologies
- Executing computational experiments and generating visualizations
- Conducting literature searches for research context
- Writing journal-formatted LaTeX papers from research results
- Automating the complete research pipeline from data to publication
Installation
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.
LLM API Configuration
Denario requires API keys from supported LLM providers. Supported providers include:
- Google Vertex AI
- OpenAI
- Other LLM services compatible with AG2/LangGraph
Store API keys securely using environment variables or .env files. For detailed configuration instructions including Vertex AI setup, see references/llm_configuration.md.
Core Research Workflow
Denario follows a structured four-stage research pipeline:
1. Data Description
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]
""")
2. Idea Generation
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")
3. Methodology Development
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")
4. Results Generation
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")
5. Paper Generation
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.
Available Journals
Denario supports multiple journal formatting styles:
Journal.APS- American Physical Society format- Additional journals may be available; check
references/research_pipeline.mdfor the complete list
Launching the GUI
Run the graphical user interface:
denario run
This launches a web-based interface for interactive research workflow management.
Common Workflows
End-to-End Research Pipeline
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)
Hybrid Workflow (Custom + Automated)
# 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)
Literature Search Integration
For literature search functionality and additional workflow examples, see references/examples.md.
Advanced Features
- Multiagent orchestration: AG2 and LangGraph coordinate specialized agents for different research tasks
- Reproducible research: All stages produce structured outputs that can be version-controlled
- Journal integration: Automatic formatting for target publication venues
- Flexible input: Manual or automated at each pipeline stage
- Docker deployment: Containerized environment with LaTeX and all dependencies
Detailed References
For comprehensive documentation:
- Installation options:
references/installation.md - LLM configuration:
references/llm_configuration.md - Complete API reference:
references/research_pipeline.md - Example workflows:
references/examples.md
Troubleshooting
Common issues and solutions:
- API key errors: Ensure environment variables are set correctly (see
references/llm_configuration.md) - LaTeX compilation: Install TeX distribution or use Docker image with pre-installed LaTeX
- Package conflicts: Use virtual environments or Docker for isolation
- Python version: Requires Python 3.12 or higher
04 同仓库更多 Skills
wealthville-pool-scoring
Score DeFi liquidity pools before providing liquidity. Returns a 0-100 pool score and an Enter/Hold/Exit/Reduce/Avoid verdict with calibrated confidence for ~68,800 Solana pools and 575 EVM pools, plus a public miss-inclusive track record. Use when asked whether a pool is worth LPing into, which pools look best right now, or how accurate the scores have actually been.
technical-debt-auditor
Scans a codebase and produces a quantified technical debt report with a prioritized remediation plan. Analyzes dead code, TODO/FIXME/HACK markers, dependency staleness, complexity hotspots, code duplication signals, test coverage gaps, unused exports, and outdated patterns. Use this skill when the user asks to audit their codebase for tech debt, wants a health check of their code quality, says things like "where should I focus refactoring", "find code smells", "audit my codebase", "what technical debt do we have", "prioritize cleanup work", or asks about code quality metrics. Also trigger when the user mentions "code rot", "legacy cleanup", "refactoring priorities", or wants to understand the overall health of a project before a major effort. Trigger even if the user doesn't say "technical debt" explicitly — any request to systematically assess code quality and identify improvement priorities belongs here.
readonly-sql-guard
Make an agent's database access provably read-only. Use when an agent runs caller-supplied SQL against a production/ERP/analytics database (a "query" MCP tool, text-to-SQL, an admin console), or when reviewing DB-access code for write/DDL/side-effect/transaction-escape risks. Checks what a statement CALLS, not just its shape.
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
discernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals, or emails, estimates or projections, analysis or interpretation of data, factual claims they may rely on, or a multi-step argument — invoke this skill BEFORE finalizing your reply and then, if it applies, append 2-3 short follow-up questions, each tied to something specific in what you just produced, that help the user check key facts, probe the reasoning or assumptions, and notice missing context. Do this at most once per conversation. Skip it when the user asked a trivial how-to or simple lookup, wants a purely educational explanation, asked you only to format, convert, or assemble a file from content they provided, is writing code they will run, is doing creative writing or casual chat, or already asked you to double-check, cite, or review — the skill file explains these boundaries and the exact output format.