mshumer / ai-researcher

MIT License
868 stars 95 forks source link

ai-researcher

Twitter Follow Open In Colab

The AI Researcher is an AI agent that utilizes Claude 3 and SERPAPI to perform comprehensive research on a given topic. It breaks down the research process into subtopics, generates individual reports for each subtopic, and then combines them into a final comprehensive report.

New 4/9/24: The Gemini 1.5 Pro | YouTube Researcher Version

I've added a new version of ai-researcher that takes advantage of Google's Gemini 1.5 Pro model. This version listens to a set of YouTube videos about a specific topic and creates a report based on their contents. Try it out with the Gemini_Youtube_Researcher.ipynb notebook in the repo!

Features

Usage

  1. Open the notebook in Google Colab or in a local Jupyter notebook.

  2. Replace the placeholders ANTHROPIC_API_KEY and SERP_API_KEY in the script with your actual API keys.

  3. Run all the cells, and enter your topic to get started!

  4. After research + generation is complete, the report will be saved as comprehensive_report.txt in the same directory as the script. Use a Markdown viewer to view the final report.

Customization

You can customize the behavior of the AI Research Assistant by modifying the following parameters in the script:

Limitations

License

This project is licensed under the MIT License.

Disclaimer

The AI Research Assistant is an experimental tool and should be used for informational purposes only. The generated reports may contain inaccuracies or inconsistencies. Always verify the information obtained from the script with reliable sources before making any decisions based on it.

Contributing

Contributions to the AI Research Assistant are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

Acknowledgments

Contact

Matt Shumer - @mattshumer_

Lastly, if you want to try something even cooler than this, sign up for HyperWrite Personal Assistant (most of my time is spent on this). It's basically an AI with access to real-time information that a) is incredible at writing naturally, and b) can operate your web browser to complete tasks for you.