> ## Documentation Index
> Fetch the complete documentation index at: https://proto.evodesign.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# arXiv

> [arXiv](https://arxiv.org/) is the open preprint server run by Cornell University for physics, mathematics, computer science, quantitative biology, and related fields. This toolkit exposes one tool, `arxiv-search`, which queries the arXiv API by title, author, abstract, or category and returns each preprint's versioned ID, title, authors, abstract, dates, categories, DOI and journal reference when present, and abstract and PDF links. It runs on CPU in process and needs only network access.

![arXiv](https://proto-bio.github.io/proto-assets/images/tool/arxiv/hero.png)[![](https://www.cornell.edu/apple-touch-icon.png) Cornell University](https://proto.evodesign.org/docs/tools/organizations/cornell-university.md)

> [!NOTE]
>
> **License:** arXiv retrieves data from arXiv descriptive metadata, distributed under CC0-1.0 (public domain; no attribution required). The client wrapper code is MIT-licensed. Please refer to [the data terms](https://info.arxiv.org/help/api/tou.html) for full terms.

Proto is not affiliated with Cornell University. This toolkit is open source and builds on the implementation produced by this organization. Product names, logos, and trademarks are the property of their respective owners.

***

&#x20;GitHub GitHub  Website Website  Publication Publication  Cite Cite  Tool Source Tool Source  Open as Notebook Open as Notebook  Run Locally Run Locally

![/](https://opengraph.githubassets.com/1//)

&#x20;/

&#x20;View repo

[Open](https://github.com/arXiv)

&#x20;arxiv.org

&#x20;Visit website

[Open](https://arxiv.org/)

ArXiv at 20Paul GinspargNature (2011)

&#x20;Read paper

[Open](https://doi.org/10.1038/476145a)

@articleginsparg2011arxiv

```bibtex theme={null}
@article{ginsparg2011arxiv,
  title={ArXiv at 20},
  author={Ginsparg, Paul},
  journal={Nature},
  volume={476},
  number={7359},
  pages={145--147},
  year={2011},
  publisher={Nature Publishing Group},
  doi={10.1038/476145a}
}
```

&#x20;Copy citation

![Proto](https://mintcdn.com/bio-pro/cMLt8hAqaP9M3LKy/assets/logo/logo-light.svg?fit=max\&auto=format\&n=cMLt8hAqaP9M3LKy\&q=85\&s=f5e5dfd1b8f9b9db3a0be0e2eb01f678)

evo-design/proto-tools

&#x20;View source

[Open](https://github.com/evo-design/proto-tools/tree/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/arxiv)

Open Notebook

&#x20;Open notebook

[Open](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/arxiv/examples/example.ipynb)

[![proto-tools on GitHub](https://opengraph.githubassets.com/1/evo-design/proto-tools)](https://github.com/evo-design/proto-tools)

Run locally with proto-tools

```bash theme={null}
pip install git+https://github.com/evo-design/proto-tools.git
```

Toolkit contributors[![](https://avatars.githubusercontent.com/u/21143637?v=4\&s=64)bviggiano](https://github.com/bviggiano)[![](https://avatars.githubusercontent.com/u/61667248?v=4\&s=64)adititm](https://github.com/adititm)

| Function | Description | |
| - | - | - |
| `run_arxiv_search()` | Search arXiv preprints (q-bio, cs.LG and other categories) by title, author, abstract or category... | [ Docs](#api-run-arxiv-search) [ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/arxiv/arxiv_search.py#L254) |

## Background

[arXiv](https://arxiv.org/) has distributed preprints since 1991 and now holds more than two million. Machine learning methods for biology, including many protein structure prediction and design models, often appear there first, in categories such as `q-bio.BM` (biomolecules), `q-bio.QM` (quantitative methods), and `cs.LG` (machine learning). Submissions are moderated but not peer reviewed. Each has an identifier such as `2504.00146`, and each revision adds a version suffix (`v1`, `v2`), so a citation can name the exact text that was read.

### Learning Resources

* [arXiv API user manual](https://info.arxiv.org/help/api/user-manual.html) (arXiv) - query syntax, field prefixes, and the Atom response format.
* [arXiv category taxonomy](https://arxiv.org/category_taxonomy) (arXiv) - category codes such as `q-bio.BM` and `cs.LG`.

## Tools

### arXiv Search (`arxiv-search`)

Searches arXiv and returns ranked hits with arXiv ID and version, title, authors, abstract, first and latest submission dates, categories, DOI, journal reference, author comment, and abstract and PDF URLs.

#### API Reference

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/arxiv/arxiv_search.py#L78)

> [accordion] Input: ArxivSearchInput
>
> **queries** `List[string]` *required*
>
> arXiv `search_query` strings, e.g. \`\`'ti:"protein binder" AND

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/arxiv/arxiv_search.py#L107)

> [accordion] Config: ArxivSearchConfig
>
> **max\_results** `integer` (default: 10)
>
> Maximum hits returned per query (1-500).
>
> **sort\_by** `enum` (default: relevance)
>
> `relevance`, or newest first by `submittedDate` or `lastUpdatedDate`.
>
> Available options: `relevance`, `submittedDate`, `lastUpdatedDate`
>
> **verbose** `integer` (default: 0)
>
> Verbosity level (0=quiet, 1=info, 2=debug, 3=raw subprocess stderr). `True` is coerced to `1` and `False` to `0`.
>
> **device** `string` (default: cpu)
>
> Device to run the tool on.
>
> **timeout** `integer` (default: 3600)
>
> Maximum execution time in seconds, not counting time spent while a weights download keeps progressing. `None` waits indefinitely.
>
> **seed** `integer`
>
> Random seed. When set, tools run reproducibly up to small GPU float noise (see `BaseToolOutput.approx_equal`), and the seed participates in cache keys. When None, cacheable seed-sensitive tools skip cache until seeded.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/arxiv/arxiv_search.py#L182)

> [accordion] Output: ArxivSearchOutput
>
> **results** `List[ArxivSearchResult]`
>
> Results in input order.
>
> **ArxivSearchResult**
>
> **query** `string` *required*
>
> The query as sent to arXiv.
>
> **total\_count** `integer` *required*
>
> Total matching preprints reported by arXiv.
>
> **hits** `List[ArxivSearchHit]`
>
> Hits in the requested order.
>
> **error** `string`
>
> Why arXiv rejected this query; None when it was retrieved.
>
> **source\_url** `string` *required*
>
> arXiv API endpoint used.
>
> **tool\_version** `string`
>
> Version of the toolkit that produced the output, from its `versions.yaml`. Suffixed `+dirty` when the source no longer matches that version. See `notes/versioning.md`.

#### Applications

Use search to find machine learning and computational biology preprints, such as a design model's methods paper and its reported benchmarks, that journal databases index late or not at all.

#### Usage Tips

* Queries use arXiv field prefixes: `ti:` (title), `au:` (author), `abs:` (abstract), `cat:` (category), and `all:`. Combine them with `AND`, `OR`, and `ANDNOT`, and quote phrases, as in `ti:"protein binder" AND cat:q-bio.BM`.
* A bare word without a prefix searches all fields, which can match loosely. Prefer `ti:` or `abs:` with a phrase.
* Set `sort_by="submittedDate"` for the newest preprints first.
* arXiv asks for at most one request every three seconds over a single connection. The limit applies across all calls in the process, retries included, so concurrent calls queue behind each other and each query waits its turn.
* A query arXiv rejects, such as one with malformed syntax, returns a result with `error` set and no hits, and the other queries still run.
* `doi` and `journal_ref` are filled only when authors add them after publication.
* `paperclip-literature-search` with `sources=["papers"]` also covers arXiv, with full text and line-numbered reading, but needs a `PAPERCLIP_API_KEY`. This tool needs no key and returns arXiv metadata and abstracts only.

## Toolkit Notes

* **Requires network access.** Every call is an HTTPS request to the arXiv API. No API key is needed.
* **Runs in process on CPU.** There is no environment to build and no worker to start. Runtime is dominated by remote retrieval.

> [!TIP]
>
> **Example notebook:** See the [full working example](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/arxiv/examples/example.ipynb) for a copy-paste-ready walkthrough.

## Infrastructure Guides

The following guides cover how to run tools efficiently and at scale.

> [card] [Tool Persistence](https://proto.evodesign.org/docs/tools/guides/tool-persistence.md)
>
> Keep a tool's model warm across calls instead of reloading it every invocation.

> [card] [Device Management](https://proto.evodesign.org/docs/tools/guides/device-management.md)
>
> How GPUs are allocated to tools and how to target specific devices.

> [card] [Parallel Execution](https://proto.evodesign.org/docs/tools/guides/parallel-execution.md)
>
> Fan a batch of inputs out across multiple GPUs.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.