It's recommended to use a virtual env
In the root of the repo:
pip install -e ".[dev]"
Paid tier of the Twitter API is required for full functionality, for just posting free tier will suffice.
cp template.env .env
python agent.py
In the root of the repo
git pull
./deploy.sh
tail -f logs.log -n 100
python -m pytest tests
This enables changing the code/prompting without actually posting on Twitter :)
python testing.py --help
python testing.py --type perplexity --count 1
python testing.py --type search --count 1
# Quote a specific tweet
python manual_tweet.py --name <agent_name> --tweet_id <tweet_id>
# Give it context from a .txt file
python manual_tweet.py --name <agent_name> --context_file <file_path>
It will show the generated tweet and ask if it should post it.