Skip to content

ES7/ArXiv-Research-Monitor-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArXiv Research Monitor Agent

An autonomous Telegram bot that monitors ArXiv daily, scores paper relevance against your interests, and delivers a curated AI/ML digest — so you never miss an important paper.

Built from scratch using a scoring agent loop — no frameworks.


What it does

Every day at 9 AM, the agent:

  1. Fetches latest papers from ArXiv across cs.AI, cs.LG, cs.CL
  2. Scores each paper's relevance against your interests using GPT-4o-mini
  3. Skips papers you've already seen (duplicate memory)
  4. Sends top 3 most relevant papers to your Telegram with summaries

Commands

Command What it does
/digest Trigger today's digest manually
/search <topic> Search recent papers by topic
/weekly This week's top papers
/stats Total papers fetched, sent, skipped
/topics Show monitored categories and interests
/help All commands

Project structure

arxiv-agent/
├── bot.py          # Telegram bot + scheduler
├── agent.py        # Relevance scoring + search
├── arxiv_tool.py   # Fetches papers from ArXiv API
├── memory.py       # Duplicate filtering + stats
├── prompts.py      # All LLM prompts
├── config.py       # Settings + API keys from .env
├── .env.example    # Copy to .env and fill keys
└── requirements.txt

Tech stack

Layer Tool
LLM GPT-4o-mini (OpenAI)
Papers ArXiv API (free, no key needed)
Bot python-telegram-bot
Scheduling APScheduler
Memory JSON persistence
Config python-dotenv

ArXiv API is completely free — no key, no limits.


Setup

1. Clone the repo

git clone https://github.com/ES7/arxiv-research-monitor-agent
cd arxiv-research-monitor-agent

2. Install dependencies

pip install -r requirements.txt

3. Create your bot

  • Go to @BotFather on Telegram → /newbot → copy the token
  • Go to @userinfobot on Telegram → /start → copy your chat ID

4. Set up keys

cp .env.example .env

Fill in .env:

TELEGRAM_BOT_TOKEN=your_token
TELEGRAM_CHAT_ID=your_chat_id
OPENAI_API_KEY=your_openai_key

5. Customize your interests in config.py:

INTEREST_KEYWORDS = [
    "agentic AI",
    "multi-agent systems",
    "RAG",
    # add your own
]

6. Run

python bot.py

Bot starts, scheduler sets up, and you're live. Send /digest to test immediately.


How relevance scoring works

The agent uses a strict scoring rubric via GPT-4o-mini:

  • 9-10 — Directly about your interests, novel contribution
  • 7-8 — Related, useful but not groundbreaking
  • 5-6 — Tangentially related
  • 3-4 — Loosely connected to AI/ML
  • 1-2 — Not relevant

Only top-scoring papers make it to your Telegram.


Author

Ebad Sayed — Final year, IIT (ISM) Dhanbad Connect: LinkedIn · GitHub · Medium

About

Autonomous ArXiv research monitor — daily AI/ML paper digest on Telegram with semantic search, relevance scoring, duplicate filtering, and weekly summaries. Powered by OpenAI + ArXiv API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages