Agentic based Blog generator made using CREWAI, Serper and Groq Api
An intelligent, multi-agent blog generation system that leverages CrewAI, Groq LLM, and Streamlit to create well-researched, SEO-optimized content with real-time progress tracking.
Agentic Blog Generator is a sophisticated content creation tool that combines the power of multiple AI agents to research, write, and edit high-quality blog posts. Watch in real-time as the system plans, researches, writes, and polishes your content.
- Interactive Web Interface: Streamlit-based UI with real-time progress tracking
- Multi-Agent System: Specialized agents for planning, writing, and editing
- AI-Powered Content: Utilizing Groq's LLaMA 3.1 70B model
- Research Integration: Automated Google search via Serper API
- SEO Optimization: Keyword integration and optimization
- Research-Backed: Real-time web research integration
- Quality Control: Multi-stage content refinement
- Structured Output: Professional formatting and organization
- Real-Time Progress: Watch the content creation process unfold
- Customizable Output: Adjustable word count and content focus
- Interactive Display: Expandable sections for detailed progress
- Content Download: Easy export in Markdown format
- Python 3.8 or higher
- Active Groq API account
- Active Serper API account
- Stable internet connection
- Clone the Repository
git clone https://github.com/abdullah-w-21/Agentic-Blog-Generator.git
cd Agentic-Blog-Generator
- Set Up Virtual Environment (Recommended)
# Windows
python -m venv venv
.\venv\Scripts\activate
# Linux/Mac
python3 -m venv venv
source venv/bin/activate
- Install Dependencies
pip install -r requirements.txt
- Configure API Keys
Create a .env
file in the project root:
GROQ_API_KEY=your_groq_api_key_here
SERPER_API_KEY=your_serper_api_key_here
streamlit==1.32.0
crewai==0.11.0
python-dotenv==1.0.0
langchain-groq==0.0.3
requests==2.31.0
- Start the Application
streamlit run app.py
- Access the Interface
- Open your browser
- Navigate to
http://localhost:8501
-
Generate Content
- Enter your topic
- Add relevant keywords
- Specify key points
- Set desired word count
- Click "Generate Blog Post ✨"
-
Monitor Progress
- Watch real-time research updates
- View agent activities
- Track content development
- Download the final result
-
Strategic Content Planner
- Researches topic
- Analyzes audience
- Creates content strategy
- Identifies key angles
-
Expert Content Creator
- Develops narrative
- Incorporates research
- Maintains engagement
- Ensures topic coverage
-
Senior Content Editor
- Refines structure
- Enhances clarity
- Optimizes SEO
- Polishes final output
The system provides real-time updates on:
- Research progress
- Content planning
- Writing status
- Editing process
- Final refinements
Common issues and solutions:
-
API Key Errors
- Verify API keys in
.env
- Check environment variables
- Confirm API account status
- Verify API keys in
-
Generation Issues
- Check internet connection
- Verify input parameters
- Review API quotas
Contributions are welcome! Please feel free to submit a Pull Request.
- Monitor API usage and credits
- Review generated content before publishing
- Keep API keys secure
- Regular updates recommended
This project is licensed under the MIT License - see the LICENSE file for details.
- CrewAI for the multi-agent framework
- Groq for the LLM capabilities
- Serper for Google search API
- Streamlit for the web interface
Abdullah Wasim - LinkedIn
Project Link: Agentic Blog Generator
This tool uses AI to generate content. While it strives for accuracy and quality:
- Always review and edit generated content
- Verify facts and sources
- Consider your audience and context
- Monitor for potential biases or inaccuracies
Made with ❤️ by Abdullah Wasim