Developed a multi agent AI newsletter generator using the CrewAI Agent framework:
Created 4 different Agents: Manager Agent (Supervised the work of the three sub-agents -> followed a hierarchical structure), News Fetcher Agent, News Analyzer Agent, Compiler Agent.
Prompt Engineering was done to define the role of each Agent + output structure in a specific format.
Agents were able to interact and communicate with each other -> even delegating tasks to the other agents and asking questions + checking work prior to completion
Used OpenAI API with GPT-4 for better output quality
Tested for faster inference using GroqAI
Implemented a Streamlit Frontend for easy user interaction
Used Function calling creating a custom Tool for WebSearch using the SerpAPI -> Agents have access to this tool when they need to search the internet.
Results
This product automated a team of 2 people who were in charge of creating the newsletter for their personal brand.
Now they have a pipeline that automatically fetches the latest news in the market and crafts an easy-to-read and attractive newsletter.
This has saved them 90% of the time to make an updated newsletter.