An AI-powered content generation pipeline using CrewAI, Groq LLMs, and SerperDevTool for internet search. Automates research, article writing, and proofreading tasks with agents designed for seamless collaboration and high-quality output.
- Researcher Agent: Gathers and synthesizes information on the given topic.
- Writer Agent: Creates engaging and easy-to-read articles formatted in markdown.
- Proofreader Agent: Ensures clarity, structure, and credibility by finalizing articles and adding references.
- Dynamic Task Workflow: Sequential execution of tasks for efficient collaboration.
- Customizable Tools: Integrates internet search and real-time data retrieval for comprehensive insights.
- Output Files: Saves final articles as markdown files.
- CrewAI: Framework for agent orchestration and task management.
- Groq LLM: Language model for natural language processing.
- SerperDevTool: Enables internet search capabilities.
- Python: Primary programming language.
-
Clone the Repository
git clone https://github.com/your-username/AI-Agents-Content-Crew.gitcd AI-Content-Workflow-Pipeline
-
Create and Activate a Virtual Environment
- On Windows:
python -m venv venvvenv\Scripts\activate
- On macOS/Linux:
python3 -m venv venvsource venv/bin/activate
- On Windows:
-
Install Dependencies
pip install -r requirements.txt
-
Set Up Environment Variables
- Create a
.envfile in the root directory and add the required API keys. Example:SERPER_API_KEY=your_api_key_here GROQ_API_KEY=your_groq_api_key_here
- Create a
-
Configure Agents and Tasks
- Modify the agents and tasks in
agents.pyandtasks.pyto match specific requirements.
- Modify the agents and tasks in
-
Set the Topic
- You can define or change the topic for the tasks in
crew.py. Update thetopicvariable as needed:# Define the topic for the tasks topic = "Artificial Intelligence Trends in 2025"
- You can define or change the topic for the tasks in
-
Run the Project
python crew.py
-
Interact with the Agents
- Agents will perform tasks such as researching, writing, and proofreading based on the input topic.
-
View Results
- Issue: Missing Dependencies
- Solution: Ensure all dependencies are installed with
pip install -r requirements.txt.
- Solution: Ensure all dependencies are installed with
- Issue: API Key Errors
- Solution: Verify the
.envfile contains valid keys for Serper and Groq.
- Solution: Verify the
- Issue: Task Execution Failure
- Solution: Check configurations in
agents.pyandtasks.py. "# blogAgent"
- Solution: Check configurations in
