arXiv-txt.org
LLM-friendly arXiv papers | GitHub
How it works
Replace arxiv.org
toarxiv-txt.org
API Usage Guide
arXiv-txt is designed to be API-friendly
Fetch a text summary:
arxiv-txt.org/raw/abs/[id]
Fetch the full paper content:
arxiv-txt.org/raw/pdf/[id]
Try it out:
Python
Checkout this example Jupyter Notebook or use the arxiv-txt API directly
import requestsarxiv_url = "https://arxiv.org/abs/1706.03762"arxiv_txt_url = arxiv_url.replace("arxiv.org", "arxiv-txt.org/raw/")summary: str = requests.get(arxiv_txt_url).textprint(summary)# Pass this to your favorite agent
Command Line
# Save the raw text to a filecurl -o paper.txt https://arxiv-txt.org/raw/abs/1706.03762# or pipe directly to CLI apps:# This example uses the 'llm' library# https://github.com/simonw/llmcurl -L https://arxiv-txt.org/raw/abs/1706.03762 | \llm -s "Explain this paper like I'm 5"