Welcome to the News Sharing AI Agent project! This project aims to develop an AI agent that can curate and share news articles of the given date.
- Search Internet: AI Agent and search the internet to find news
- Uses State of the Art Phidata: AI Agent is based on
phidata
- easy to understand and update - Share Anywhere: News fetching and sharing are separate tasks so could be performed modularly
- Coder-Friendly Interface: Easy to use and navigate.
To install and set up the project, follow these steps:
- Clone the repository:
git clone https://github.com/ashgkwd/news-sharing-ai-agent.git
- Navigate to the project directory:
cd news-sharing-ai-agent
- Install the required dependencies:
pip install -r requirements.txt
- Put relevant ENVs in the .env file. Create a .env file if it does not exist
GROQ_API_KEY=yourkeyhere
GOOGLE_API_KEY=yourkeyhere
AI Agent codes are in news_poster_agent
- For now, it shares news on a custom backend through Aal class
- News will be printed on stdout π°
- TODO: add sharing on telegram
- TODO: add sharing on slack
python news_poster_agent.py
To start the AI agent, run the following command:
python example_gemini.py
You can see output of the agent in your terminal. Here is how it should look:
You can also try out Groq model instead of Gemini.
python example_groq.py
It should output on your terminal. Here is how it should look:
We welcome contributions! Please fork and create a PR back to this project and tag me in comments for review.
This project is licensed under the MIT License. See the LICENSE file for more information.
If you have any questions or suggestions, feel free to open an issue or contact me.
Happy news sharing!