Skip to main content

A set of AI agents to automatize scientific research in Astrophysics and Cosmology

Project description

Denario

Denario is a multiagent system designed to automatize scientific research

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, Journal

den = Denario(project_dir="project_dir")

prompt = "Analyze the experimental data stored in /path/to/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 Astropilot using a GUI through the AstropilotApp.

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.

Citation

If you use this library please link this repository and cite arXiv:2505.xxxxx.

License

To be chosen.

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.1.tar.gz (32.8 MB 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.1-py3-none-any.whl (201.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: denario-0.1.1.tar.gz
  • Upload date:
  • Size: 32.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for denario-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6c6462771d05934b4867753bb8ffd9129d2b1dd20c088e13b99e0475c961bf3f
MD5 100a600705f7b7872957abaaf4e31d2a
BLAKE2b-256 684342045f1e79d715f4bbdbd177d192271e76733fa8411b16176a1d73c19b95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: denario-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 201.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for denario-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e80a19247e66b519410a5daad3793843d10e3ff7620c3ab4fc3e9c3ca69637e
MD5 a9bb4677515b635b787e7c24aa6f75c5
BLAKE2b-256 974445ccce5dd90c0a349c47bb5efca499c392c388c30e170c3a519567450c7c

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