Skip to main content

Modular Automation of Scientific Research with Multi-Agent Systems

Project description

Denario

Version Python Version PyPI - Downloads License: GPL v3

Denario is a multiagent system designed to automatize scientific research. Denario implements AI agents with AG2 and LangGraph. The research analysis backend is cmbagent. Project under construction.

Resources

Installation

To install denario, just run

pip install denario

Get started

Initialize a Denario instance and describe the data and tools to be employed.

from denario import Denario

den = Denario(project_dir="project_dir")

prompt = """
Analyze the experimental data stored in data.csv using sklearn and pandas.
This data includes time-series measurements from a particle detector.
"""

den.set_data_description(prompt)

Generate a research idea from that data specification.

den.get_idea()

Generate the methodology required for working on that idea.

den.get_method()

With the methodology setup, perform the required computations and get the plots and results.

den.get_results()

Finally, generate a latex article with the results. You can specify the journal style, in this example we choose the APS (Physical Review Journals) style.

from denario import Journal

den.get_paper(journal=Journal.APS)

You can also manually provide any info as a string or markdown file in an intermediate step, using the set_idea, set_method or set_results methods. For instance, for providing a file with the methodology developed by the user:

den.set_method(path_to_the_method_file.md)

App

You can run Denario using a GUI through the DenarioApp.

Test the deployed app in HugginFace Spaces.

Build from source

pip

You will need python 3.12 installed.

Create a virtual environment

python3 -m venv .venv

Activate the virtual environment

source .venv/bin/activate

And install the project

pip install -e .

uv

You can also install the project using uv, just running:

uv sync

which will create the virtual environment and install the dependencies and project. Activate the virtual environment if needed with

source .venv/bin/activate

Contributing

Pull requests are welcome! Feel free to open an issue for bugs, comments, questions and suggestions.

License

GNU GENERAL PUBLIC LICENSE (GPLv3)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

denario-0.1.7.tar.gz (220.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

denario-0.1.7-py3-none-any.whl (215.2 kB view details)

Uploaded Python 3

File details

Details for the file denario-0.1.7.tar.gz.

File metadata

  • Download URL: denario-0.1.7.tar.gz
  • Upload date:
  • Size: 220.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for denario-0.1.7.tar.gz
Algorithm Hash digest
SHA256 536a4ecd2fb62e9f4fe54b7ec9374049bc55b058b5e5fe53796fc03584b34651
MD5 d36bace0d8f78edcdc193b17c7b335b9
BLAKE2b-256 ef29d1b6ab63f843e82aed9874fe7adc5d0e17f2393216ac39d274c6aa8af892

See more details on using hashes here.

File details

Details for the file denario-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: denario-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 215.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for denario-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7527722b7db71871ed811945b97cd8dac429e640fde9eb5fd04bec75c80c071a
MD5 e676d05ae86c1b258915bee5e3e94640
BLAKE2b-256 ffcef0fbdbf1e7f4bc64dbee0db4a6eb209bd1cef501bb6cbeef24419df5ca1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page