A cutting-edge multi AI agent platform that uncovers emerging trends and crafts engaging narratives, seamlessly blending research and storytelling using CrewAI
TrendCrafter is an AI-driven project designed to identify and explore emerging trends in technology, with a focus on providing insightful and engaging narratives. The project leverages a multi-agent architecture, powered by CrewAI, to automate the research and writing processes, ensuring that the latest technological advancements are not only identified but also communicated effectively to a broader audience.The core components of the project include:
- Agents: Autonomous AI agents responsible for specific roles such as research and writing.
- Tasks: Defined objectives that guide the agents in their operations, ensuring each task has a clear goal and expected output.
- Tools: External tools integrated into the agents' workflow to enhance their capabilities.
├── __pycache__/ : Directory containing Python bytecode-compiled files for faster execution.
├── .env: Environment variables file,used to store sensitive data like API keys.
├── .gitignore: Specifies files and directories to be ignored by Git version control.
├── Crew AI Output.pdf: A PDF document, possibly containing output or a report generated by the AI system.
├── LICENSE: MIT LICENSE
├── README.md: Markdown file providing an overview and instructions for the project
├── agents.py: Python script defining AI agents used in the project.
├── crew.py: The main file, coordinating the activities of AI agents and tools.
├── new-blog-post.md: Markdown file for storing a new blog pos
├── requirements.txt: Lists the Python dependencies needed to run the project.
├── tasks.py: Python script, for defining specific tasks or operations within the project.
└── tools.py: Python script containing utility functions used by other scripts
- Clone the Repository:
git clone https://github.com/adityakapole/TrendCrafter.git
- Install Dependencies:
pip install -r requirements.txt
- Configure API Keys:
Enter appropriate API keys in the .env file.
In this project gemini-1.5-flash LLM is used and Serper API is used for interacting with news To create API keys, please refer this sites: - https://aistudio.google.com/app/apikey
- https://serper.dev/
- Run the Project:
python crew.py
Role: Uncover groundbreaking technologies in a specified topic.
Goal: To explore, analyze, and report on the latest technological trends.
Backstory: Driven by curiosity, this agent is at the forefront of innovation, eager to share knowledge that could change the world.
Role: Craft compelling narratives about the technological trends identified by the researcher.
Goal: To present complex topics in an engaging and accessible manner, making new discoveries understandable to a wider audience.
Backstory: With a flair for simplifying complex topics, this agent is dedicated to educating and captivating readers with tech stories.
Description: Identify the next big trend in a specified topic. The task focuses on the pros and cons of the trend, its market opportunities, and potential risks.
Expected Output: A comprehensive 3-paragraph report on the latest AI trends.
Description: Compose an insightful article on the identified trend, highlighting how it is impacting the industry.
Expected Output: A 4-paragraph article formatted as markdown, ready for publishing as a blog post.
The agents collaborate in a sequential process, where the researcher first identifies the trend, and the writer then crafts the article. The process is designed to ensure a coherent and efficient workflow, producing high-quality content.
This project is licensed under the MIT License.