https://github.com/adityakapole/TrendCrafter
A cutting-edge multi AI agent platform that uncovers emerging trends and crafts engaging narratives, seamlessly blending research and storytelling using CrewAI
https://github.com/adityakapole/TrendCrafter
agents crewai google-gemini langchain llm serper
Last synced: 9 months ago
JSON representation
A cutting-edge multi AI agent platform that uncovers emerging trends and crafts engaging narratives, seamlessly blending research and storytelling using CrewAI
- Host: GitHub
- URL: https://github.com/adityakapole/TrendCrafter
- Owner: adityakapole
- License: mit
- Created: 2024-08-13T05:09:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T07:03:13.000Z (almost 2 years ago)
- Last Synced: 2024-09-26T01:50:15.766Z (over 1 year ago)
- Topics: agents, crewai, google-gemini, langchain, llm, serper
- Language: Python
- Homepage:
- Size: 708 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TrendCrafter
A cutting-edge multi AI agent platform that uncovers emerging trends and crafts engaging narratives, seamlessly blending research and storytelling using CrewAI
## π οΈ Overview
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.
## ποΈ Project Structure
```
βββ __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
```
## π Getting Started
- Clone the Repository:
```bash
git clone https://github.com/adityakapole/TrendCrafter.git
```
- Install Dependencies:
```bash
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:
```bash
python crew.py
```
## π οΈ Workflow
### π€ Agents
#### Senior Researcher (news_researcher):
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.
#### Writer (news_writer):
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.
### π Tasks
#### Research Task:
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.
#### Writing Task:
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.
### π Process
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.
## π License
This project is licensed under the MIT License.
## πReferences
1. https://www.crewai.com/
2. https://chatgpt.com/g/g-qqTuUWsBY-crewai-assistant