An automated blog writing system that leverages CrewAI to create high-quality, well-researched blog posts. The project implements a multi-agent workflow for researching topics, generating content, and publishing blog posts with minimal human intervention.
- Research Specialist: Gathers and processes information on the given topic
- Knowledge Base: Populates a Retrieval-Augmented Generation (RAG) system with relevant data
- Draft Creator: Generates initial blog post drafts
- Senior Writer: Refines content, ensures quality, and adds relevant images
- RAG System: For fact-based content generation
- Pexels API: For sourcing relevant cover images
- Dev.to Integration: Optional publishing capability
- Token Tracking: Monitors API usage and costs
-
/crew
: Contains agent implementations and configurationsconfig/
: YAML files defining agent behaviors and tasksblog_crew.py
: Manages the blog writing agentsresearch_crew.py
: Handles research-related agents
-
/flow
: Defines the workflowblog_flow.py
: Main workflow orchestration
-
/output
: Generated content storageblogs/
: Final blog postsdrafts/
: Initial versionsresearch/
: Collected research datapublication/
: Publishing metadata
-
/tools
: Custom tools and integrationsrag_tool.py
: Retrieval-Augmented Generationimage_search_tool.py
: Image sourcingdevto_publisher_tool.py
: Publishing interface
- Topic Research: System gathers and processes information
- Draft Creation: Initial content generation
- Content Refinement: Polishing and enhancement
- Publishing: Optional deployment to platforms