Welcome to DEV Community Blog Creator, a Streamlit application powered by multi-agent collaboration via CrewAI. This project is my submission for the Microsoft AI Agents Hackathon and demonstrates how LLM agents can collaborate to research, write, and polish a professional-quality blog post based on any given topic.
This app simulates a real-world content creation pipeline using three AI agents:
- Content Planner: Researches the topic and creates an outline.
- Content Writer: Writes the full blog post based on the planner's output.
- Editor: Polishes and proofreads the blog post to ensure it meets editorial standards.
The result is a well-structured blog post ready for publication.
- โ Multi-agent collaboration using CrewAI
- โ Fully automated research, writing, and editing
- โ Real-time blog generation in Streamlit
- โ Uses environment variables for secure API key management
- โ Outputs final blog post in Markdown format
- Python
- Streamlit
- CrewAI
- Groq Cloud API
- Dotenv for managing secrets
- Clone the repository
git clone https://github.com/your-username/dev-community-blog-creator.git
cd dev-community-blog-creator
- Create a .env file
OPENAI_API_BASE=https://api.openai.com/v1
OPENAI_API_KEY=your_openai_api_key
OPENAI_MODEL_NAME=gpt-4 # or your preferred model
- Install dependencies
pip install crewai==0.28.8 crewai_tools==0.1.6 langchain_community==0.0.29 streamlit
- Run the app
streamlit run main.py
Final blog post generated by agents
Agent | Role Description |
---|---|
Content Planner | Gathers insights, defines the audience, and outlines the blog structure |
Content Writer | Writes a structured post using the planner's outline and SEO recommendations |
Editor | Refines tone, grammar, and flow for final publishing |
All tasks are managed and executed using the CrewAI framework, which enables LLM agents to work collaboratively.
- "AI Agents in Software Development"
- "How LLMs are Transforming Technical Writing"
- "Top 10 AI Tools for Content Creation"