Autonomous news aggregation agent that fetches news from RSS feeds and summarizes them using Google Gemini AI.
- Zero-cost Gathering: Uses standard RSS feeds instead of paid News APIs.
- Gemini Powered: Intelligent summarization and strategic insights using Google's latest LLMs.
- Simple & Lightweight: No heavy frameworks, just pure Python.
- Customizable: Easily add your own RSS sources in
rss_engine.py.
- Clone the repository.
- Install dependencies:
pip3 install -r requirements.txt
- Set up your
.envfile:GEMINI_API_KEY="your-google-ai-studio-key" GEMINI_MODEL="gemini-2.5-flash"
Run the agent:
python3 src/main.pyEnter any topic (e.g., "React", "WebDev", "CSS") to get the latest news summary.
src/main.py: Entry point and CLI loop.src/rss_engine.py: Logic for fetching and filtering RSS feeds.src/gemini_service.py: Wrapper for Google Gemini SDK.src/prompts.py: Strategic summarization instructions.
MIT