Skip to main content

Overview

ArXiv is a free distribution service and open-access archive for scholarly articles. This tool allows you to search and retrieve academic papers. The user asks for research papers; the agent queries ArXiv and returns matching papers.

Installation

No API key required!

Quick Start

1

Simple Usage

2

With Configuration

Use the same tool with an agent — see Usage with Agent below, or pass env vars and options from the sections above.

Usage with Agent

Available Methods

search(query, max_results=5)

Search ArXiv for papers.

get_paper(arxiv_id)

Get a specific paper by ArXiv ID.

Configuration Options

Function-Based Usage

CLI Usage

Error Handling

Common Errors

How It Works


Best Practices

Use search to find candidate papers first, then fetch full details only for the ones you need. This keeps token usage low.
Filter by ArXiv category (e.g. cs.AI) so the agent works with relevant papers instead of the whole corpus.
ArXiv results are stable — cache them locally when the same query runs often to avoid redundant API calls.

Wikipedia

General knowledge

PubMed

Medical research

Exa

Neural search