Paper2Agent: Reimagining Research Papers As Interactive and Reliable AI Agents

Jiacheng Miao, Joe R. Davis, Jonathan K. Pritchard, James ZouarXiv 2025 · DOI

Paper2Agent: Reimagining Research Papers

Abstract

Paper2Agent is an automated framework designed to transform static research papers and their associated codebases into interactive, reliable AI agents. By leveraging the Model Context Protocol (MCP), Paper2Agent enables researchers to execute complex scientific workflows and query paper-specific methods using natural language. This approach significantly lowers the technical barriers to reproducing and extending state-of-the-art research, shifting scientific communication from passive documents to active, executable systems.

Introduction

The traditional research paper remains a "passive artifact." Despite the prevalence of open-source code, the barrier to entry for practical application is high. Readers must manually locate repositories, configure software environments, resolve dependencies, and master complex APIs. This creates a "silo" effect where valuable computational methods are underutilized due to the high cost of adoption. Paper2Agent addresses this by converting papers into "active systems"—knowledgeable AI assistants that embody the paper’s expertise and perform tasks on demand.

The Paper2Agent Framework

Paper2Agent is a multi-agent system built on top of Claude Code that converts a paper into a Model Context Protocol (MCP) server. The framework follows a structured pipeline to ensure that the resulting agent is both functional and scientifically accurate.

The Paper2Agent workflow illustrates the transition from a static paper to a functional Paper Agent via environment configuration, tool extraction, and iterative testing.

The Pipeline

  1. Paper2MCP Analysis: A specialized agent analyzes the manuscript and codebase to identify key contributions such as datasets, models, and workflows.
  2. Environment & Extraction Agents: These agents automatically provision a clean software environment and wrap core analytical features into "MCP tools"—standardized executable functions with defined inputs and outputs.
  3. Iterative Validation: A testing agent runs these tools against the paper’s original results and figures. If the outputs do not match, the system refines the code and environment until consistency is achieved.
  4. Agent Integration: The validated MCP server connects to a chat agent, which uses pre-defined templates (MCP Prompts) to guide users through multi-step analyses.

By "locking" these validated tools, Paper2Agent prevents "code hallucination," ensuring the AI agent uses the exact logic intended by the original authors rather than generating plausible but incorrect scripts.

Experimental Evaluation

The framework was evaluated across three distinct biological domains to test its versatility and accuracy:

  • Genomics (AlphaGenome): Used for genomic variant interpretation.
  • Spatial Transcriptomics (TISSUE): Applied to mouse somatosensory cortex data.
  • Single-cell RNA-seq (Scanpy): Applied to PBMC datasets from 10x Genomics.
  • AI Co-scientist Case Study: A complex integration task combining AlphaGenome with summary statistics from an ADHD genome-wide association study (GWAS).

Key Results

  • Superior Accuracy: The AlphaGenome agent achieved 100% accuracy on both tutorial and novel queries, significantly outperforming general agents with repository access (60-80%) or specialized biological models (40-60%).
  • Computational Efficiency: The system demonstrated a median run-time speedup of 1.8x to 4.6x compared to general agentic systems, as it bypasses the need to re-learn the codebase for every query.
  • Scientific Discovery: In the ADHD case study, the system integrated two different papers to identify a new splicing variant (rs1626703 in the MPHOSPH9 gene) associated with ADHD risk. This end-to-end analysis—from hypothesis generation to a publication-ready report—took approximately two hours, a task that typically requires weeks of manual expert review.

Discussion and Future Directions

Paper2Agent marks a fundamental shift in scientific communication: treating a paper not as text to be read, but as a "knowledgeable entity" capable of execution and dialogue. Unlike general-purpose coding assistants, Paper2Agent creates a library of pre-validated tools, ensuring scientific reliability. Furthermore, the modular nature of MCP allows different agents to collaborate autonomously, enabling a collaborative ecosystem where an "AlphaGenome Agent" can work with a "Data Agent" to test new hypotheses.

The system also enables dynamic re-evaluation of published conclusions. In the AlphaGenome case study, the agent prioritized a different causal gene (SORT1) than the original paper, providing a model-based second opinion supported by external eQTL data.

Limitations and Future Work

The system's efficacy is inherently tied to the quality of the original code; it cannot fix fundamentally broken or undocumented repositories. Currently, the framework is optimized for methodological papers with clear computational workflows. Future efforts will focus on adapting the framework for purely descriptive or data-resource papers and scaling the system to handle large collections of papers. The authors envision a future where journals include an "agent availability" section alongside data and code availability, making interactive agents a standard part of the scientific record.

Summary updated

BibTeX
@misc{miao2025paper,
  author = {Jiacheng Miao and Joe R. Davis and Jonathan K. Pritchard and James Zou},
  title = {{Paper2Agent: Reimagining Research Papers As Interactive and Reliable AI Agents}},
  year = {2025},
  eprint = {2509.06917},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.06917},
}
Figure