Skip to main content

🤖🧪 AutoResearcher


⚡ Automating scientific workflows with AI ⚡

GitHub Repo stars Discord


What is AutoResearcher?

AutoResearcher is an open-source Python package that leverages AI models and external knowledge sources to automate scientific workflows. Designed to help researchers and scientists accelerate their research process and increase efficiency, AutoResearcher is a powerful tool for the modern scientific community.

Please note that the project is currently in its early prototype stage and under active development. Its present functionality is limited to conducting literature reviews, but the ultimate goal is to create a tool capable of driving scientific discovery on autopilot.

If this vision excites you, we invite you to contribute to the project. Start by joining our Discord server and discussing your ideas with our community.

Documentation

Documentation for the package is available here.

Installation

Install the package using pip:

pip install autoresearcher

Setting Environment Variables

Before using the package, you need to set the following environment variables:

  • OPENAI_API_KEY: Your OpenAI API key for accessing the GPT-based AI models.
  • EMAIL: An email address of your choice (used to identify your API requests for getting citations).

You can set the environment variables in your operating system or in your Python script using the os module:

import os

os.environ["OPENAI_API_KEY"] = "<your_openai_api_key>"
os.environ["EMAIL"] = "<your_email>"

Replace <your_openai_api_key> and <your_email> with your actual API key and email address.

Usage

  1. Import the literature_review function from the package:
from autoresearcher import literature_review
  1. Set your research question as a string:
research_question = "What is the best way to train a neural network?"
  1. Create a literature_review instance with your research question and execute it:
researcher = literature_review(research_question)

You can also pass an output file name as a .txt file:

researcher = literature_review(research_question, output_file="my_literature_review.txt")

This will generate a literature review based on the research question.

Also, you can run it in one command:

python run_autorsearcher.py --research_question "<your_research_question>" --output_file "<your_output_file>"
  1. To use GPT-4o instead of the default GPT-4o-mini, set the use_gpt4 parameter to True:
researcher = literature_review(research_question, use_gpt4=True)

Note that using GPT-4o may result in higher costs and potentially longer processing times.

Contributing

We welcome contributions! Feel free to submit issues or create pull requests. Together, let's revolutionize science! 🚀

License

This project is licensed under the MIT License. See the LICENSE file for details.

Made with ☕ by @eimenhamedat

Metadata

Release files for autoresearcher 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autoresearcher 0.0.8
File Size Uploaded Provenance
autoresearcher-0.0.8.tar.gz 12.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autoresearcher 0.0.8
File Interpreter ABI Platform
autoresearcher-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 28.1 kB

Release files / autoresearcher-0.0.8.tar.gz

Download URL autoresearcher-0.0.8.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2de809acf6a44bb34b3df8ca6b4cffc0db81fb2ab72cd4cda8db1681049c1a5f
BLAKE2b-256 checksum
How to use checksums
47b9b0fe689a6b4e2613139d9662a22d05d402518be01d524324fb8fb737bff1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / autoresearcher-0.0.8-py3-none-any.whl

Download URL autoresearcher-0.0.8-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b6ceae65a24aec974ebd244153b4192f66903cfb0bff6f9b1fa1fcebcf3f8ac
BLAKE2b-256 checksum
How to use checksums
a7bcc82d2fe68110944e1f74291e81876de9002a13960d05bdcf5093ea97848c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for autoresearcher 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page