Skip to content

feat: add news-summarizer-agent using NewsAPI and ASI:One LLM#141

Open
vibeetroot wants to merge 2 commits into
fetchai:mainfrom
vibeetroot:feat/news-summarizer-agent
Open

feat: add news-summarizer-agent using NewsAPI and ASI:One LLM#141
vibeetroot wants to merge 2 commits into
fetchai:mainfrom
vibeetroot:feat/news-summarizer-agent

Conversation

@vibeetroot
Copy link
Copy Markdown

Summary

Adds a new beginner-friendly news-summarizer-agent example that fetches the
top 5 news headlines for any topic using the free NewsAPI (no credit card
required) and summarizes them using ASI:One LLM. This fills the gap for a
beginner example combining real-time data fetching with LLM summarization.

Type of Change

  • New agent example

Checklist

  • I have starred this repository.
  • I ran ruff check ..
  • I ran ruff format ..
  • I added/updated README.md for changed example(s).
  • I added .env.example if environment variables are required.
  • I added demo image/GIF (if applicable).

Related Issue

Closes #126

Notes for Reviewers

  • Uses NewsAPI free tier (no credit card needed), making this accessible to
    all GSSoC contributors
  • Uses ASI:One asi1-mini model via the standard chat completions endpoint
  • Tested locally on Windows with Python 3.11 for topics: AI, sports, Finance
  • No API keys committed — .env is gitignored, only .env.example included
  • Code passes ruff check and ruff format with no issues

@vibeetroot
Copy link
Copy Markdown
Author

Yes! Once the PR is created, leave a comment tagging the maintainer:

Hi @gautammanak1 I've added a news-summarizer-agent example as requested in #126. The agent fetches top 5 headlines using the free NewsAPI and summarizes them with ASI:One LLM. Tested locally on Windows with Python 3.11 — works for topics like AI, sports, and Finance. Please let me know if any changes are needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add beginner example news-summarizer-agent using free NewsAPI + ASI:One LLM

1 participant