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.2.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.2-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai4gs-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ec1d82d27cf2fbdf4da736d93a31c69e930e610df7b71410479238ec767c608a
MD5 572c12836091af2e691e6d17cb40d142
BLAKE2b-256 671ba9830aca1b342c6899a090bc31ad126889b6f5ac1d552569f65b8aeff7dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ai4gs-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c8cee24fbb22c5ea59bb661278bebd0d5328c008f5b04e0973ec553072c37a54
MD5 d1d6ae431d1b20f501af33ba9ce8521c
BLAKE2b-256 17692144dc90da18a09ba9937e0fcc940c7febe5d543a633bcc3626369d90457

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