Skip to main content

AI-Powered Google Scholar Assistant

Project description

📚 AI-Agent for Google Scholar Alert Email (AI4GS)

Automated pipeline to fetch Google Scholar Alert emails, extract paper information, summarize content using Claude/Gemini, and generate clean, structured research reports.

This project helps researchers efficiently process Google Scholar Alerts without manually reading hundreds of emails. It downloads new alerts, parses them, summarizes papers using Claude/Gemini CLI, and outputs a consolidated report.


🌟 Features

  • 🔍 Automatically fetch Google Scholar Alert emails via IMAP
  • 📩 Store email content locally for later processing
  • 🧠 Call Claude/Gemini CLI model to summarize papers (install Claude or Gemini)
  • 📝 Generate clean research reports in Markdown and HTML format
  • 🎯 Keyword filtering for domain-specific relevance
  • 📧 Email reports automatically to configured recipients
  • ⚙️ Easy Configuration via interactive CLI or .env file

📦 Installation

1. Create a Virtual Environment (Recommended)

It is recommended to use a virtual environment to avoid conflicts.

Using Conda:

conda create -n ai4gs python=3.12 -y
conda activate ai4gs

2. Install Package

Simply install the package from PyPI:

pip install ai4gs

▶️ Usage

1. Initialize Configuration

First, run the initialization command to set up your credentials and preferences. This will create a .env file in your current directory.

ai4gs init

Follow the interactive prompts to enter your:

  • Gmail Address
  • Gmail App Password (Not login password, and required for IMAP access. Generate one here)
  • Anthropic API Key (Required for AI summarization)
  • Research Keywords (Comma-separated list of topics, e.g., "machine learning, climate change")

2. Run the Agent

Start the research automation pipeline:

ai4gs run

🔧 Configuration

The ai4gs init command creates a .env file where you can adjust settings. You can also manually edit this file.

Key Settings:

  • KEYWORDS: Comma-separated list of research topics.
  • REPORT_RECEIVER_EMAIL: Where to send the report.
  • RECENT_COUNT: Number of recent emails to check (default: 10).
  • TODAY_ONLY: Set to True to only check today's emails.

📄 License

MIT License. Free to use, modify, and distribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai4gs-0.1.3.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai4gs-0.1.3-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file ai4gs-0.1.3.tar.gz.

File metadata

  • Download URL: ai4gs-0.1.3.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for ai4gs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e2148ae24e48e02a7fc6ad09c10668bd55b635947193b11658fae9b3737058fa
MD5 a3e8839f167858c4118821976c10d234
BLAKE2b-256 d625460cbba194f47ef32948941d86d463cbfdbfad6c61e4924cadcd8faf71ce

See more details on using hashes here.

File details

Details for the file ai4gs-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ai4gs-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for ai4gs-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 12914f301ebd06a06098ede10ecce34e1079346abf339f22c14ea1484bce7dcb
MD5 3f0dcd436a970b63cd4e7bd4a4ee80bf
BLAKE2b-256 8b49388e90036d9c3efaa7daae0232fa95926ff643f6d48967db94a4bd45f8c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page