This project is designed to automate the creation of LinkedIn content using AI agents. The agents are responsible for researching a topic, writing an article, reviewing the content, and generating relevant code examples to enrich the article.
- Python: The main programming language used for the project.
- CrewAI: A framework for creating and managing AI agents.
- LangChain: A library for building language model applications.
- LLM (Large Language Model): Used for generating content and code examples.
- Tavily API: Used for research purposes.
- Groq API: Used for writing and reviewing content.
- src/crew.py: Contains the main class
LinkedInContentCrew
which orchestrates the content creation process. - src/ai_agents.py: Contains the implementation of various AI agents including
ResearcherAgent
,WriterAgent
,ReviewerAgent
, andCoderAgent
. - src/utils/init.py: Utility functions and classes used across the project.
- requirements.txt: Lists the dependencies required for the project.
- README.md: This file.
-
Clone the repository:
git clone https://github.com/allysonbarros/crewai_linkedin_post_pipeline cd crewai_linkedin_post_pipeline
-
Install the dependencies:
pip install -r requirements.txt
-
Set up environment variables: Create a .env file in the root directory and add your API keys:
TAVILY_API_KEY=your_tavily_api_key GROQ_API_KEY=your_groq_api_key
-
Run the application:
streamlit main.py