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.
Every day at 9 AM, the agent:
- Fetches latest papers from ArXiv across
cs.AI,cs.LG,cs.CL - Scores each paper's relevance against your interests using GPT-4o-mini
- Skips papers you've already seen (duplicate memory)
- Sends top 3 most relevant papers to your Telegram with summaries
| 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 |
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
| 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.
1. Clone the repo
git clone https://github.com/ES7/arxiv-research-monitor-agent
cd arxiv-research-monitor-agent2. Install dependencies
pip install -r requirements.txt3. Create your bot
- Go to
@BotFatheron Telegram →/newbot→ copy the token - Go to
@userinfoboton Telegram →/start→ copy your chat ID
4. Set up keys
cp .env.example .envFill 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.pyBot starts, scheduler sets up, and you're live. Send /digest to test immediately.
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.
Ebad Sayed — Final year, IIT (ISM) Dhanbad Connect: LinkedIn · GitHub · Medium