> ## 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.

# Paperclip

> [Paperclip](https://paperclip.gxl.ai/) is a hosted literature search and retrieval service from [GXL](https://gxl.ai/) covering more than 12 million papers and preprints. This toolkit exposes four tools over the Paperclip API that follow GXL's recommended workflow, namely `paperclip-literature-search` (find papers by topic), `paperclip-literature-lookup` (find papers by DOI, PMID, or another metadata field), `paperclip-literature-grep` (find papers whose full text mentions exact text), and `paperclip-literature-document` (read part of one paper). All four run on CPU in process and need only network access and a Paperclip API key.

![Paperclip](https://proto-bio.github.io/proto-assets/images/tool/paperclip/hero.png)[![](https://avatars.githubusercontent.com/u/230050383?s=200\&v=4) GXL](https://proto.evodesign.org/docs/tools/organizations/gxl.md)

> [!NOTE]
>
> **License:** Paperclip retrieves data from literature records returned by Paperclip, distributed under source-specific terms. Attribution to literature records returned by Paperclip is required when the data is redistributed. The client wrapper code is MIT-licensed. Please refer to [the data terms](https://paperclip.gxl.ai/) for full terms.

Proto is not affiliated with GXL. 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  Cite Cite  Tool Source Tool Source  Open as Notebook Open as Notebook  Run Locally Run Locally

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

&#x20;evo-design/proto-tools

&#x20;View repo

[Open](https://github.com/evo-design/proto-tools)

&#x20;paperclip.gxl.ai

&#x20;Visit website

[Open](https://paperclip.gxl.ai/)

@miscpaperclip\_literature

```bibtex theme={null}
@misc{paperclip_literature,
  title = {Paperclip Literature Retrieval},
  author = {{GXL}},
  url = {https://paperclip.gxl.ai/},
  note = {Accessed 2026-09-10}
}
```

&#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/paperclip)

Open Notebook

&#x20;Open notebook

[Open](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/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_paperclip_document()` | Read a Paperclip paper's metadata plus a line range, pattern matches, or full text | [ Docs](#api-run-paperclip-document) [ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L755) |
| `run_paperclip_grep()` | Find papers whose full text matches a regular expression across the Paperclip corpus | [ Docs](#api-run-paperclip-grep) [ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L539) |
| `run_paperclip_lookup()` | Find Paperclip papers by DOI, PMID, PMC ID, arXiv ID, title, author, journal, or year | [ Docs](#api-run-paperclip-lookup) [ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L421) |
| `run_paperclip_search()` | Search Paperclip full-text and abstract literature corpora for citable papers | [ Docs](#api-run-paperclip-search) [ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L316) |

## Background

[Paperclip](https://paperclip.gxl.ai/) is built by [GXL](https://gxl.ai/) to make the biomedical literature searchable and readable by researchers and AI agents. It indexes full-text papers from [PubMed Central](https://www.ncbi.nlm.nih.gov/pmc/) together with preprints from [bioRxiv](https://www.biorxiv.org/), [medRxiv](https://www.medrxiv.org/), and [arXiv](https://arxiv.org/), plus a separate abstract-level index spanning all of these sources. Searches combine keyword matching with matching by meaning, so a relevant passage can be found even when it is worded differently from the query. Every paper has a stable identifier, such as `PMC11754230`, and its full text is served with numbered lines, which makes it easy to cite the exact lines that support a claim.

GXL recommends finding papers first, then reading only the parts that matter. Search returns the most relevant papers for a topic, lookup resolves an identifier you already have, and grep finds every paper that mentions an exact term such as a gene name or accession. Reading a paper then means fetching a range of lines or the lines that match a pattern, rather than the whole text. All four tools query the live Paperclip service, so results reflect the literature at the time of the request. Each result also records where and when it was retrieved, so the same record can be traced back and checked later.

### Learning Resources

* [Paperclip documentation](https://paperclip.gxl.ai/docs) (GXL) - official guide to the corpora, search options, and the command-line client.
* [Paperclip install guide](https://paperclip.gxl.ai/install) (GXL) - connecting Paperclip's MCP server to Claude Code, Claude Desktop, Codex, Cursor, and other agents.

## Tools

### Paperclip Literature Search (`paperclip-literature-search`)

Finds papers by topic. Each hit carries its citation details, abstract, matched passage, and citation URL (`source_url`).

#### API Reference

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L213)

> [accordion] Input: PaperclipSearchInput
>
> **query** `string` *required*
>
> Biomedical literature search query.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L228)

> [accordion] Config: PaperclipSearchConfig
>
> **sources** `List[string]`
>
> Literature corpora to search.
>
> **limit** `integer` (default: 10)
>
> Maximum number of returned hits.
>
> **exact** `boolean` (default: False)
>
> Whether to use exact-text search.
>
> **since** `string`
>
> Optional date lower bound for PMC, bioRxiv, and arXiv.
>
> **year** `integer`
>
> Only return papers published in this year.
>
> **journal** `string`
>
> Only return papers from this journal.
>
> **author** `string`
>
> Only return papers by this author.
>
> **article\_type** `string`
>
> Only return papers of this article type.
>
> **include\_abstracts** `boolean` (default: True)
>
> Whether each hit carries its abstract.
>
> **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.
>
> **paperclip\_api\_key** `string`
>
> Paperclip API key; defaults to `PAPERCLIP_API_KEY`.
>
> **paperclip\_token** `string`
>
> Paperclip bearer token, used when no API key is set; defaults to `PAPERCLIP_TOKEN`.
>
> **timeout\_seconds** `number` (default: 120.0)
>
> Maximum duration of one service operation.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L279)

> [accordion] Output: PaperclipSearchOutput
>
> **query** `string` *required*
>
> Submitted literature query.
>
> **sources** `List[string]` *required*
>
> Searched Paperclip corpora.
>
> **result\_id** `string`
>
> Paperclip search-result identifier.
>
> **hits** `List[PaperclipSearchHit]`
>
> Normalized literature matches.
>
> **PaperclipSearchHit**
>
> **matched\_text** `string`
>
> Passage the search matched.
>
> **relevance\_score** `number`
>
> Paperclip relevance score.
>
> **access\_kind** `LiteratureAccessKind` *required*
>
> Content granularity returned.
>
> **document\_id** `string` *required*
>
> Stable Paperclip document identifier.
>
> **title** `string` *required*
>
> Publication title.
>
> **authors** `List[string]`
>
> Author names in the order Paperclip lists them.
>
> **journal** `string`
>
> Journal, or the preprint server for a preprint.
>
> **publication\_date** `string`
>
> Publication date, `YYYY-MM-DD` where known.
>
> **year** `integer`
>
> Publication year.
>
> **doi** `string`
>
> Digital object identifier.
>
> **pmid** `string`
>
> PubMed identifier.
>
> **pmcid** `string`
>
> PubMed Central identifier.
>
> **source** `string` *required*
>
> Paperclip corpus, such as `pmc`, `biorxiv`, or `arxiv`.
>
> **article\_type** `string`
>
> Article type, such as `Review`, where Paperclip records one.
>
> **abstract** `string`
>
> Abstract, when available.
>
> **source\_url** `string` *required*
>
> Paperclip citation page for the paper.
>
> **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 natural sequences, experimental context, and design methods relevant to a biological objective.

#### Usage Tips

* For general biomedical literature, search `pmc`, the default. Use `papers` to cover PMC, bioRxiv, medRxiv, and arXiv together.
* Narrow results with `year`, `journal`, `author`, or `article_type` rather than adding those words to the query.
* Set `include_abstracts=False` for a compact hit list to triage, then read the promising papers with `paperclip-literature-document`.
* Up to 100 hits, a smaller `limit` returns a prefix of a larger one, as long as the Paperclip index has not been updated in between.

### Paperclip Literature Lookup (`paperclip-literature-lookup`)

Finds papers by one metadata field: DOI, PMID, PMC ID, arXiv ID, title, author, journal, or year.

#### API Reference

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L354)

> [accordion] Input: PaperclipLookupInput
>
> **field** `enum` *required*
>
> Metadata field to match, such as doi or pmid.
>
> Available options: `doi`, `pmid`, `pmc`, `arxiv`, `title`, `author`, `journal`, `year`
>
> **value** `string` *required*
>
> Value to look up in that field.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L366)

> [accordion] Config: PaperclipLookupConfig
>
> **limit** `integer` (default: 10)
>
> Maximum number of returned papers.
>
> **include\_abstracts** `boolean` (default: True)
>
> Whether each hit carries its abstract.
>
> **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.
>
> **paperclip\_api\_key** `string`
>
> Paperclip API key; defaults to `PAPERCLIP_API_KEY`.
>
> **paperclip\_token** `string`
>
> Paperclip bearer token, used when no API key is set; defaults to `PAPERCLIP_TOKEN`.
>
> **timeout\_seconds** `number` (default: 120.0)
>
> Maximum duration of one service operation.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L386)

> [accordion] Output: PaperclipLookupOutput
>
> **field** `string` *required*
>
> Metadata field that was matched.
>
> **value** `string` *required*
>
> Value that was looked up.
>
> **result\_id** `string`
>
> Paperclip result identifier.
>
> **hits** `List[PaperclipSearchHit]`
>
> Matching papers.
>
> **PaperclipSearchHit**
>
> **matched\_text** `string`
>
> Passage the search matched.
>
> **relevance\_score** `number`
>
> Paperclip relevance score.
>
> **access\_kind** `LiteratureAccessKind` *required*
>
> Content granularity returned.
>
> **document\_id** `string` *required*
>
> Stable Paperclip document identifier.
>
> **title** `string` *required*
>
> Publication title.
>
> **authors** `List[string]`
>
> Author names in the order Paperclip lists them.
>
> **journal** `string`
>
> Journal, or the preprint server for a preprint.
>
> **publication\_date** `string`
>
> Publication date, `YYYY-MM-DD` where known.
>
> **year** `integer`
>
> Publication year.
>
> **doi** `string`
>
> Digital object identifier.
>
> **pmid** `string`
>
> PubMed identifier.
>
> **pmcid** `string`
>
> PubMed Central identifier.
>
> **source** `string` *required*
>
> Paperclip corpus, such as `pmc`, `biorxiv`, or `arxiv`.
>
> **article\_type** `string`
>
> Article type, such as `Review`, where Paperclip records one.
>
> **abstract** `string`
>
> Abstract, when available.
>
> **source\_url** `string` *required*
>
> Paperclip citation page for the paper.
>
> **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 lookup to open a paper that another tool already identified, such as a PMID from NCBI or a DOI from a UniProt reference.

#### Usage Tips

* Pass the returned `document_id` to `paperclip-literature-document` to read the paper.

### Paperclip Literature Grep (`paperclip-literature-grep`)

Searches the full text of every paper for a regular expression and returns each matching paragraph with the paper and corpus it came from.

#### API Reference

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L449)

> [accordion] Input: PaperclipGrepInput
>
> **pattern** `string` *required*
>
> Regular expression matched against paper full text.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L464)

> [accordion] Config: PaperclipGrepConfig
>
> **max\_matches** `integer` (default: 50)
>
> Maximum matching paragraphs returned.
>
> **ignore\_case** `boolean` (default: False)
>
> Whether matching ignores case.
>
> **exhaustive** `boolean` (default: False)
>
> Whether to give the scan its full time budget.
>
> **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.
>
> **paperclip\_api\_key** `string`
>
> Paperclip API key; defaults to `PAPERCLIP_API_KEY`.
>
> **paperclip\_token** `string`
>
> Paperclip bearer token, used when no API key is set; defaults to `PAPERCLIP_TOKEN`.
>
> **timeout\_seconds** `number` (default: 120.0)
>
> Maximum duration of one service operation.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L502)

> [accordion] Output: PaperclipGrepOutput
>
> **pattern** `string` *required*
>
> Submitted regular expression.
>
> **result\_id** `string`
>
> Paperclip result identifier, when one was saved.
>
> **matches** `List[PaperclipGrepMatch]`
>
> Matching paragraphs, grouped by paper in match order.
>
> **PaperclipGrepMatch**
>
> **document\_id** `string` *required*
>
> Paper the paragraph is from.
>
> **source** `string` *required*
>
> Corpus the paper belongs to, such as `pmc` or `arxiv`.
>
> **text** `string` *required*
>
> The matching paragraph.
>
> **source\_url** `string` *required*
>
> Paperclip service the corpus was searched on.
>
> **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 grep to find every paper that mentions an exact gene, protein, dataset, or accession, including mentions in methods or data-availability sections that search can rank low.

#### Usage Tips

* Corpus-wide grep is time-bounded, so repeated calls can return a different set or order of matches.
* If a rare pattern returns nothing, retry with `exhaustive=True` to give the scan more time.

### Paperclip Literature Document (`paperclip-literature-document`)

Reads one paper's metadata plus a range of lines, the lines matching a pattern, or its full text. Every line is numbered, so evidence can be cited by line.

#### API Reference

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L580)

> [accordion] Input: PaperclipDocumentInput
>
> **document\_id** `string` *required*
>
> Stable Paperclip document identifier.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L617)

> [accordion] Config: PaperclipDocumentConfig
>
> **read** `enum` (default: lines)
>
> What to read beyond metadata.
>
> Available options: `metadata`, `lines`, `grep`, `full_text`
>
> **start\_line** `integer` (default: 1)
>
> First line to read in `lines` mode (1-indexed, inclusive).
>
> **end\_line** `integer` (default: 100)
>
> Last line to read in `lines` mode (1-indexed, inclusive).
>
> **pattern** `string`
>
> Regular expression to find in `grep` mode.
>
> **context\_lines** `integer` (default: 0)
>
> Lines of context around each `grep` match.
>
> **max\_matches** `integer` (default: 20)
>
> Most matching lines returned in `grep` mode.
>
> **ignore\_case** `boolean` (default: False)
>
> Whether `grep` matching ignores case.
>
> **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.
>
> **paperclip\_api\_key** `string`
>
> Paperclip API key; defaults to `PAPERCLIP_API_KEY`.
>
> **paperclip\_token** `string`
>
> Paperclip bearer token, used when no API key is set; defaults to `PAPERCLIP_TOKEN`.
>
> **timeout\_seconds** `number` (default: 120.0)
>
> Maximum duration of one service operation.

[ Source](https://github.com/evo-design/proto-tools/blob/0a918bae9551824984526ee13f2cff66e6fc4713/proto_tools/tools/database_retrieval/paperclip/paperclip_retrieval.py#L697)

> [accordion] Output: PaperclipDocumentOutput
>
> **document** `PaperclipDocument` *required*
>
> Retrieved metadata and requested content.
>
> **PaperclipDocument**
>
> **paper** `PaperclipPaper` *required*
>
> Citation details from the paper's `meta.json`.
>
> **access\_kind** `LiteratureAccessKind` *required*
>
> Content granularity returned.
>
> **excerpt** `string`
>
> Requested line range, in `lines` mode.
>
> **matches** `List[PaperclipLineMatch]`
>
> Matching and context lines, in `grep` mode.
>
> **content** `string`
>
> Complete line-numbered full text, in `full_text` mode.
>
> **line\_count** `integer`
>
> Lines in the full text, in `full_text` mode.
>
> **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 these tools to collect source-backed design evidence and natural examples before applying sequence, structure, or mechanistic scoring tools.

#### Usage Tips

* `document_id` takes a Paperclip id (`PMC11754230`, `bio_29a07e4e799b`, `arx_2605.11347`) or one as copied: lowercase `pmc...`, a PMC or Paperclip article link, or an arXiv id or link. Find a paper by DOI or PMID with `paperclip-literature-lookup` first.
* The paper's citation details come back typed in `document.paper`, the same fields a search hit carries.
* Prefer `read="lines"` (the default, first 100 lines) or `read="grep"` with a `pattern`. `max_matches` (20 by default) caps how many matching lines a grep returns. GXL advises against reading whole papers.
* `read="full_text"` returns the complete paper as `content`, which can be long.
* Set `PAPERCLIP_API_KEY` before retrieval, or `PAPERCLIP_TOKEN` for a bearer token. The config fields `paperclip_api_key` and `paperclip_token` take precedence. The tools do not read credentials saved by an interactive `paperclip login`.
* Without a key, `europepmc-search` and `europepmc-fulltext` search and read open-access PMC articles and preprints through Europe PMC's public API, without line numbers.
* `PAPERCLIP_BASE_URL` points the tools at a different Paperclip deployment.
* Treat literature as evidence for candidate generation, not functional validation.

## Toolkit Notes

These notes apply to all four Paperclip tools.

* **For interactive or agentic work, use the Paperclip MCP server.** See the [Paperclip install guide](https://paperclip.gxl.ai/install) to connect it to your agent. These tools are for calling Paperclip from Python programs.
* **Requires authenticated network access.** No literature database is bundled or synchronized locally; every call is an HTTPS request to the Paperclip service.
* **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/paperclip/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.