-
Clone the repository:
git clone https://github.com/your-username/crewai_twitter_agent.git
-
Install the required dependencies:
poetry install
-
Create a
.env
file in the root directory of the project and add the necessary environment variables. For example:OPENAI_API_KEY=sk-... SERPER_API_KEY=... TWITTER_BEARER_TOKEN=...
-
Run the script:
python crew_twitter.py --url URL_OF_ARTICLE
Replace
URL_OF_ARTICLE
with the actual URL of the article you want to process.