# How to use RunPapers

RunPapers turns published papers into packs your own AI agent can run. You do not need to write code: pick a paper, copy
one prompt into your AI agent in an empty folder, and watch it reproduce a figure from the original data with the
paper's numbers next to its own. Then ask it your own questions about the same data.

## What you need

- **An AI agent that can run commands on your computer**: Claude Code, Codex, Antigravity, Gemini CLI, Cursor or
  another agent that works in a folder. A chat-only website cannot download data or run figure scripts.
- **A computer or computing cluster** (macOS, Linux or Windows) with an internet connection and free disk space. Every
  paper page states how much data its figures download before you start.
- **A few minutes.** Nothing needs to be set up beforehand: if `uv` (a small, open-source Python tool manager) is not on
  your computer yet, your agent asks permission and installs it from the official installer.

## Use a paper in three steps

1. **Find a paper.** Search on the [Papers](../papers/) page by title, DOI, PMID, gene, cell type or species, or narrow
   the list with the five tag filters (Species, Tissue/cell, Data type, Disease, Collection).
2. **Copy its prompt into your AI agent, in an empty folder.** Create a new empty folder on your computer, open your AI
   agent in that folder, and paste the copied prompt. There is nothing to fill in first: your agent asks you in one
   short message whether to run on your computer or on a computing cluster, and what question you want to explore.
3. **See the figure and the paper's numbers next to your agent's. Then ask your own question.** Your agent downloads
   only the files needed for that figure from the original public archive, checks each file's checksum, runs the figure
   script, and shows you the figure alongside a comparison table. After that, ask follow-up questions in plain English.

What your agent creates inside your folder:

- `SKILL.md`: plain-language notes on what the paper measured, how the data tables fit together, and the biological
  guardrails (such as using donors rather than individual cells as replicates).
- `data/`: links to the original files downloaded from the public archive, cached once so files are never downloaded twice.
- `recipes/`: the scripts that reproduce the paper's figures.
- `out/`: the reproduced figures and `result.json`, showing the paper's printed numbers next to your agent's numbers.
- `analyses/`: where your agent saves the scripts it writes for your own questions so you can inspect, re-run or share them.

## Ask good biological questions

Each paper page lists questions its data can answer and questions its data cannot answer. Helpful habits when working
with your agent:

- Ask for numbers per donor or per animal, not only pooled cell counts. Donors, not cells, are the biological replicates.
- Ask your agent to save every script it writes in `analyses/` and tell you which file and column it read.
- Ask "What can't this dataset answer?" before planning follow-up experiments.
- When a paper's text and supplementary table disagree slightly with each other, the pack documents that openly so your
  agent can point it out.
- To continue another day, open your agent in the same folder; it reads `AGENTS.md` and picks up where you left off.

## Data terms, privacy and citing

- **Original sources, original terms:** RunPapers never re-hosts scientific data. Your agent downloads files straight
  from the original public repository under that repository's terms (for example, the Allen Brain Cell Atlas is for
  noncommercial research with citation required). Every paper page states the source and links to the full terms.
- **Privacy:** RunPapers runs no model and has no server that sees your questions. Your conversation stays between you
  and your own AI agent provider.
- **How to cite:** If you publish work that uses a pack, cite the original paper first, the data repository as its terms
  require, and the permanent archived version of the RunPapers pack shown on the paper page.

## Request a paper or report a problem

- **Request or vote:** On the [Requests](../requests/) page, press **Request a paper** to ask for a paper by DOI or
  PMID, or click **Vote on GitHub** on an existing request. Each thumbs-up on [GitHub](https://github.com/runpapers/runpapers/issues?q=label%3Arequest)
  is a vote, and papers with the most votes are built first.
- **Report a problem:** If a figure fails to run, a number disagrees with the paper, or a pack misled your agent, open
  the [Report a problem](https://github.com/runpapers/runpapers/issues/new?template=pack-problem.yml) form on GitHub with the DOI
  and your agent's last few messages.

## Optional: terminal commands and MCP

You never need to type commands yourself, because your agent runs them for you. If you prefer working in a terminal or
connecting an MCP client directly:

- **Download a pack:** `uvx --from git+https://github.com/runpapers/runpapers runpapers get <DOI>` creates the paper's folder without downloading raw data up front.
- **Check data and memory needs:** `uvx --from git+https://github.com/runpapers/runpapers runpapers needs` lists each figure recipe's download size, memory and runtime.
- **Run one figure:** `uvx --from git+https://github.com/runpapers/runpapers runpapers run <recipe>` downloads that figure's files, checks checksums and compares numbers.
- **Connect via Model Context Protocol (MCP):** `uvx --from git+https://github.com/runpapers/runpapers runpapers mcp` (for example, `claude mcp add runpapers -- uvx --from git+https://github.com/runpapers/runpapers runpapers mcp`).
- **Compare several papers on one topic:** `uvx --from git+https://github.com/runpapers/runpapers runpapers meeting "<topic>"` builds one workspace with every matching pack.
- **Plain-text files for agents:** every page has an `index.md` twin alongside [llms.txt](../llms.txt) and [index.json](../index.json).
