Data and AI

GitHub Issue & PR Summarizer Agent

A Python CLI fetches the issues and pull requests updated since its last run, summarizes each one with Groq or Gemini, and suggests a label. It runs with zero API keys through a keyword fallback, and it stays in dry-run mode until you pass --post to comment and label on GitHub.

Stack
Python, GitHub REST API, Groq, Gemini
Code
github.com/ADM1SH/github-issue-pr-summarizer-agent

Overview

Install

  1. Install the dependencies.
pip install -r requirements.txt
  1. Run the smoke test. It needs no API keys.
python test_summarizer.py
  1. Summarize the issues and PRs from the last 24 hours.
python main.py anthropics/claude-code --since-hours 24
  1. To post comments and labels, add --post. This needs a GITHUB_TOKEN with write access.
python main.py your-org/your-repo --post

Set GITHUB_TOKEN for higher rate limits / write access, and GROQ_API_KEY or GEMINI_API_KEY for LLM-written summaries instead of the keyword fallback.

Docs

The full documentation covers how it works, configuration and results.