Skip to content

MrMoshkovitz/gm_autonews

Repository files navigation

Auto NewsletterGen Crew with GUI

This is an a multi-agent system that generates a newsletter on a given topic, with a personal message from the user.

Prerequisites

  • Python 3.10 or later
  • Poetry
  • An OpenAI API key Environment Variable (OPENAI_API_KEY)
  • An Anthropic API key Environment Variable (ANTHROPIC_API_KEY)

To Run GUI

  • Streamlit
  • EXA API key Environment Variable (EXA_API_KEY)

Installation

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:

  1. First lock the dependencies and then install them:
poetry lock
poetry install

Running the Project

To kickstart the AI agents crew and begin task execution, run this from the root folder of the project:

poetry run auto_newsletter_gen

Running the Project for GUI

To kickstart the GUI, run this from the root folder of the project:

cd gui
streamlit run app.py

Outputs: - Current version all outputs are saved in the logs folder

  1. Research:
    • A result of the research will be saved in the logs/{date}_research_task.md markdown file.
  2. Editorial:
    • An editorial will be saved in the logs/{date}_edit_task.md markdown file.
  3. Newsletter:
    • A newsletter will be saved in the logs/{date}_newsletter_task.html file.

Demo:

Follow along with our interactive demo to see how the Auto NewsletterGen Crew works!

1. Newsletter Generator Input GUI

Newsletter Generator Input GUI

Start by entering your topic and personal message in our user-friendly GUI.

2. Research Process

Research Stories

Our AI agents conduct thorough research on your chosen topic.

3. Editorial Tasks

Editor Task Editor Observation Editor Finished

The editor agent refines and structures the content for your newsletter.

4. Agent Collaboration

Agent Observation

Watch as our AI agents work together seamlessly to create your newsletter.

5. Newsletter Generation

HTML Writer Response Generated Newsletter

The final step: Your personalized newsletter is generated and ready to share!

Experience the power of AI-driven content creation with Auto NewsletterGen Crew!

About

automatic news fetching and newsletter generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published