Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News Agent (RSS + Gemini)

Autonomous news aggregation agent that fetches news from RSS feeds and summarizes them using Google Gemini AI.

Features

  • 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.

Installation

  1. Clone the repository.
  2. Install dependencies:
    pip3 install -r requirements.txt
  3. Set up your .env file:
    GEMINI_API_KEY="your-google-ai-studio-key"
    GEMINI_MODEL="gemini-2.5-flash"

Usage

Run the agent:

python3 src/main.py

Enter any topic (e.g., "React", "WebDev", "CSS") to get the latest news summary.

Project Structure

  • 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.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages