news-agents  by eugeneyan

News aggregation system in the terminal

created 3 months ago
291 stars

Top 91.6% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This project provides a terminal-based news aggregation system that fetches and summarizes articles from various sources using multiple agents. It's designed for users interested in exploring agent-based workflows, terminal UIs, and leveraging tools like Amazon Q and tmux for parallel processing. The primary benefit is a self-contained, observable news summarization pipeline running entirely within the terminal.

How It Works

The system utilizes Amazon Q as an agent harness, with the Model Context Protocol (MCP) for parsing RSS feeds as tools. A main agent orchestrates the process by reading feed URLs, splitting them into chunks, and spawning three sub-agents in separate tmux panes. Each sub-agent processes a chunk of feeds, fetching content, parsing articles, and generating summaries, reporting back to the main agent upon completion. The main agent then consolidates these summaries into a final digest.

Quick Start & Requirements

  • Install Amazon Q CLI: Follow the official guide.
  • Set up AWS credentials.
  • Clone repo and run:
    git clone https://github.com/eugeneyan/news-agents.git
    cd news-agents
    uv sync
    q chat --trust-all-tools
    context add --global context/agents.md
    
  • Dependencies: Python, Amazon Q CLI, MCP.

Highlighted Details

  • Demonstrates parallel agent execution within terminal using tmux.
  • Leverages Amazon Q CLI for agent orchestration and MCP for tool integration.
  • Generates individual and aggregated news summaries.
  • Includes specific parsers for AI News, Hacker News, TechCrunch, Wired, and WSJ.

Maintenance & Community

The project is a personal experiment by eugeneyan. No specific community channels or roadmap are detailed in the README.

Licensing & Compatibility

The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

This project is described as a "little experiment" and may not be production-ready. Setup requires the Amazon Q CLI, which has its own installation and configuration steps. The specific licensing is not mentioned, which could impact commercial adoption.

Health Check
Last commit

2 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
293 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems) and Harrison Chase Harrison Chase(Founder of LangChain).

gpt-newspaper by rotemweiss57

0.4%
1k
Autonomous agent for personalized newspapers
created 1 year ago
updated 1 year ago
Feedback? Help us improve.