This is an a multi-agent system that generates a newsletter on a given topic, with a personal message from the user.
- Python 3.10 or later
- Poetry
- An OpenAI API key Environment Variable (OPENAI_API_KEY)
- An Anthropic API key Environment Variable (ANTHROPIC_API_KEY)
- Streamlit
- EXA API key Environment Variable (EXA_API_KEY)
Ensure you have Python >=3.10 <=3.13 installed on your system. This project uses Poetry for dependency management and package handling, offering a seamless setup and execution experience.
First, if you haven't already, install Poetry:
pip install poetry
Next, navigate to your project directory and install the dependencies:
- First lock the dependencies and then install them:
poetry lock
poetry install
To kickstart the AI agents crew and begin task execution, run this from the root folder of the project:
poetry run auto_newsletter_gen
To kickstart the GUI, run this from the root folder of the project:
cd gui
streamlit run app.py
- Research:
- A result of the research will be saved in the
logs/{date}_research_task.md
markdown file.
- A result of the research will be saved in the
- Editorial:
- An editorial will be saved in the
logs/{date}_edit_task.md
markdown file.
- An editorial will be saved in the
- Newsletter:
- A newsletter will be saved in the
logs/{date}_newsletter_task.html
file.
- A newsletter will be saved in the
Follow along with our interactive demo to see how the Auto NewsletterGen Crew works!
1. Newsletter Generator Input GUI
Start by entering your topic and personal message in our user-friendly GUI.
5. Newsletter Generation
The final step: Your personalized newsletter is generated and ready to share!
Experience the power of AI-driven content creation with Auto NewsletterGen Crew!