arXiv-txt.org

LLM-friendly arXiv papers | GitHub

How it works

Replace arxiv.org witharxiv-txt.org in any arXiv URL.

Fetch a text summary:

arxiv-txt.org/abs/[id]

Fetch the full paper content:

arxiv-txt.org/pdf/[id]

Send this to your agent so it knows how to fetch arXiv papers.

arxiv-txt.org/llms.txt

API Usage Guide

Python

Checkout this example Jupyter Notebook or use the arxiv-txt API directly

import requests
arxiv_url = "https://arxiv.org/abs/1706.03762"
arxiv_txt_url = arxiv_url.replace("arxiv.org", "arxiv-txt.org")
summary: str = requests.get(arxiv_txt_url).text
print(summary)
# Pass this to your favorite agent

Command Line

# Save the raw text to a file
curl -o paper.txt https://arxiv-txt.org/abs/1706.03762
# or pipe directly to CLI apps:
# This example uses the 'llm' library
# https://github.com/simonw/llm
curl -L https://arxiv-txt.org/abs/1706.03762 | \
llm -s "Explain this paper like I'm 5"