arxiv-paper-digest
A daily agent that monitors ArXiv for XAI and interpretability papers, filters by semantic similarity, summarises with a local LLM, and saves a Markdown digest. No external API keys required.
How it works
1. ArXiv RSS
2. filter_unseen (SQLite)
3. semantic filter (sentence-transformers)
4. summarise (Ollama)
5. outputs/digests/YYYY-MM-DD.md
Quickstart
# Requires Ollama running with the model pulled
ollama pull llama3.2:3b
pip install arxiv-xai-digest
arxiv-digest # full run
arxiv-digest --dry-run # skip LLM, test the rest of the pipeline
Or from source:
git clone https://github.com/ilonae/research-agent
cd research-agent
pip install -e ".[dev]"
Configuration
Copy .env.example to .env. All variables are optional — defaults shown:
| Variable | Default |
|---|---|
AGENT_OLLAMA_MODEL |
llama3.2:3b |
AGENT_OLLAMA_URL |
http://localhost:11434 |
AGENT_MAX_PER_FEED |
20 |
AGENT_ARXIV_CATEGORIES |
["cs.LG","cs.AI","cs.CV"] |
AGENT_SIMILARITY_THRESHOLD |
0.35 |
AGENT_EMBEDDING_MODEL |
all-MiniLM-L6-v2 |
AGENT_ANCHORS |
8 XAI topic sentences |
Docker
docker compose up # starts Ollama sidecar + agent
Scheduled runs
.github/workflows/daily-digest.yml runs at 07:00 UTC and commits the digest back to the repo. Trigger manually from Actions : Run workflow to test.
Querying the memory store
sqlite3 outputs/seen_papers.db \
"SELECT title, first_seen FROM seen_papers
WHERE first_seen >= date('now', '-7 days')
ORDER BY first_seen DESC;"
Development
pip install -e ".[dev]"
pytest && ruff check . && mypy agent/ tools/ config/
License
MIT
Metadata
Release files for arxiv-paper-digest 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arxiv_paper_digest-0.1.0.tar.gz | 10.1 kB | Without provenance | Details for arxiv_paper_digest-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arxiv_paper_digest-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for arxiv_paper_digest-0.1.0-py3-none-any.whl |
Total release size: 24.4 kB
Release files / arxiv_paper_digest-0.1.0.tar.gz
| Download URL | arxiv_paper_digest-0.1.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ce7942f6eabee15ce2a73a1555bc3c79e9880a7bd88a0af3144e8cc66f0b93c
|
|
BLAKE2b-256 checksum How to use checksums |
6604aa3068a146dc35302f7bd464d7badf38efed2478c676f1909e0f9d204056
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Release files / arxiv_paper_digest-0.1.0-py3-none-any.whl
| Download URL | arxiv_paper_digest-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7239951c49e8d8ff218f0e6360d32b4ad6c24282033394b847fe28fff95e8cce
|
|
BLAKE2b-256 checksum How to use checksums |
fec31f61e5f5a91d433dce363b434f08b7d016c0e76d6f9161701adc05b19501
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.2
|
Security for arxiv-paper-digest 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.