Stanford Publishes Paper2Agent to Turn Research Papers Into Working AI Tools

The Nature study packages a paper’s methods into an agent that can run workflows on new data. Its ADHD case study is a useful lead, not a lab-confirmed result.

By 2 min read
Stanford Publishes Paper2Agent to Turn Research Papers Into Working AI Tools
Stanford Publishes Paper2Agent to Turn Research Papers Into Working AI Tools

Listen to this story

The audio brief

About 1:34
0:001:34
Read transcript
Stanford Medicine researchers have built more than a hundred AI agents that turn research papers into runnable software. Their Paper2Agent framework packages a study’s code, data, methods, figures, and manuscript into an interactive agent that can answer questions, reproduce analyses, and apply the method to new datasets. The system uses the Model Context Protocol, or MCP. Each MCP server combines executable tools with the paper’s source materials and workflow prompts, so a researcher can ask for a multi-step analysis in natural language instead of rebuilding the study’s environment by hand. Behind the scenes, worker agents find the code, configure dependencies, extract the core methods, and test them against reference outputs. Tools that repeatedly fail validation are left out. The most attention-grabbing demonstration linked an agent built from a genomic-mutation paper with one based on an ADHD genome-wide association study, or GWAS. Together, they prioritized the variant rs1626703 and suggested a possible MPHOS9 splicing mechanism in glutamatergic neurons. But that is a research lead, not evidence that the biology is correct. Reference-output checks show that the tools can reproduce an analysis; they do not validate a new hypothesis. The larger opportunity is a searchable, runnable layer over scientific literature. The constraint is scale: as Stanford imagines thousands or even millions of collaborating agents, monitoring, preserving context, and crediting the original authors become central problems.

Story brief

3 key points

Stanford Medicine’s Paper2Agent converts research artifacts into MCP-based agents that can execute methods, reproduce reference outputs, and collaborate across studies. The team reports more than 100 agents, including a demonstration that connected genomic-mutation and ADHD GWAS work to prioritize rs1626703 and suggest a possible MPHOS9 mechanism. That result is only a research lead, not biological evidence. The...

  1. 01

    Paper2Agent worker agents locate code, configure environments, extract tools, and remove tools that repeatedly fail validation.

  2. 02

    Each MCP server combines executable methods, manuscripts, datasets, figures, and workflow prompts for natural-language use.

  3. 03

    The cross-paper demonstration prioritized rs1626703 and a possible MPHOS9 splicing mechanism linked to glutamatergic neurons.

Stanford Medicine researchers have published Paper2Agent, a framework that turns a research paper’s manuscript, code, datasets and supplementary materials into an interactive AI agent. The resulting agents can answer questions, reproduce analyses, apply methods to new data and work with agents built from other papers.

The Nature paper, led by Jiacheng Miao and James Zou, targets a practical problem in computational research. Understanding a paper is often only the beginning: a researcher may still need to locate its code, install dependencies, configure an environment and determine how to use the method on a different dataset.

From publication to runnable method

Paper2Agent uses Model Context Protocol, or MCP, to package a study’s materials for AI systems. An MCP server holds executable tools based on the paper’s methods, resources such as its manuscript and datasets, and prompts that guide multi-step workflows. A connected chat agent can then invoke those tools through natural-language requests.

The conversion process tests its own work

The framework does more than summarize a PDF. Its worker agents identify a paper’s codebase, configure its software environment, extract core methods into tools, and run validation tests. Tools that repeatedly fail those checks are excluded from the final MCP server.

  • Tools run core analytical methods in a preconfigured environment.
  • Resources organize the manuscript, code, data, tables and figures.
  • Prompts guide agents through workflows derived from the study.

A paired test produces an unvalidated lead

For a collaboration demonstration, the researchers paired an agent based on a genomic-mutation prediction paper with one based on an ADHD genome-wide association study. The mutation-prediction agent analyzed the ADHD dataset and prioritized variant rs1626703, proposing a possible effect on MPHOSPH9 splicing and expression in glutamatergic neurons.

Zou said an association near MPHOSPH9 and increased ADHD risk had not previously been reported. The authors say the proposed mechanism requires experimental validation. Yet papers may omit failed experiments and the judgment calls behind a setup, so authors can add that missing context in conversations with an agent.

The team has created more than 100 paper agents and has a longer-term goal of thousands or millions finding connections across the literature. That future depends on keeping those collaborations guided and monitored, while preserving credit for the original papers and human authors.

Sources

  1. nature.comReimagining research papers as interactive and reliable AI agents - Nature
  2. techxplore.comManuscripts-turned AI agents can now 'talk' to each other and make new discoveries

Loading discussion...

Stanford Publishes Paper2Agent to Turn Research Papers Into Working AI Tools | Superpower Daily