The work that begins after the paper
A method can be public and still be hard to use. The article tells you why the researchers built it. The repository contains the program. A supplement supplies a data file, and a notebook gives you the order in which to run the analysis. To get a result on your own data, you have to assemble those pieces, find out which decisions in the notebook were specific to the authors' example, and work out which defaults still make sense. A searchable article helps with the first part. It does not tell you whether the analysis actually runs.
Paper2Agent, described in Nature, adds an executable layer to that publication. Its builders use language-model agents to examine a paper and its supporting materials, identify operations worth exposing, and construct and test tools that a second agent can call. The reader can then ask an ordinary question or request an analysis. The answering agent can consult the paper, but it can also run the published method. “How did the authors cluster these cells?” and “Run their clustering workflow on this dataset” can begin in the same place and lead to different kinds of work.
That distinction separates the project from a chatbot trained to discuss an article. A fluent answer can make a method easier to follow; it cannot substitute for the method being run. An executable interface changes what the reader can ask the paper to do, and also what the reader ought to ask about the answer.
The notebook behind the conversation
Take Scanpy, a package for analysing measurements from individual cells. A researcher might start with a table whose rows are cells and whose columns are genes. The values represent measurements of gene activity, not a set of labelled cell types. Some rows reflect poor measurements; some capture material from more than one cell. The raw counts also vary for technical reasons, so a cell can look different from another because more material was read from it. Before treating a pattern as biology, the researcher has to decide which measurements to retain and how to make the cells comparable.
Clustering is where a series of those decisions becomes a result someone can inspect. The software reduces the number of variables it needs to compare, identifies cells with similar profiles and groups them. Researchers then look for genes whose activity helps distinguish one group from another. If an earlier filtration step removes a set of cells, or a comparison is made before appropriate normalization, the groupings can change. A notebook does not simply list commands: it embodies decisions about sequence, inputs and what counts as a usable output.
The Paper2Agent team used this workflow to see how much of the notebook's practical knowledge could be made accessible through a natural-language request. The conversion generated seven tools for preprocessing and clustering, all of which passed its automated validation. It also produced a workflow prompt that tells the answering agent which stages go together and asks it to inspect the dataset before making choices. A researcher does not have to name every operation. The interface already has a way to go from a file to a series of checks, to clustering, to a summary of the result.
The team applied the interface to four publicly available datasets that were not part of the Scanpy codebase. With matched parameters, the agent and the human reference analyses retained equivalent numbers of cells and genes after quality control and recovered equivalent leading marker genes for the clusters. Matching parameters matters here. It lets the comparison ask whether the two routes carry out the same analysis rather than whether two analysts, given freedom to make different decisions, always see the same thing. The paper also describes a separate exercise in which the agent adjusted its choices to suit different datasets. That puts a different question on the table: whether its reasons for changing a parameter are as good as its ability to run the procedure.
A paper with tools attached
The interface uses the Model Context Protocol, or MCP. The name is less important than what it separates. A resource supplies something to read, such as text from the paper or information about a dataset. A tool supplies something to run, with declared inputs. A prompt describes a sequence that makes sense for the method, such as checking the input before clustering it. The system building this package is not the same as the agent that later fields a reader's question. One prepares the interface and tests it; the other uses the interface to investigate a particular problem.
Keeping those roles apart helps make a failure legible. Suppose the answering agent gives a surprising cluster count. The cause might be a mismatch between the new data and the assumptions in the paper, a parameter chosen by the answering agent, a mistake in the generated wrapper, or behaviour of the underlying package. The sentence that describes the result does not tell you which. An output that keeps the input, chosen settings and tool execution together gives the next researcher somewhere to look. The conversation is valuable precisely when it leaves a trail that can be followed outside the conversation.
The authors also examined TISSUE, a method for estimating uncertainty when inferring measurements for individual cells in tissue. In spatial transcriptomics, where the position of a cell is part of what makes the measurement interesting, some assays measure only a selected set of genes. A computational method can infer other values, but an inferred value and a measured value are different objects. Uncertainty affects which downstream comparisons a researcher can reasonably make. For the TISSUE case, the team compared the agent's results with those of researchers running the original tutorial on the same mouse cortex data. The useful achievement is that a second route gets back to the reference analysis, with the uncertainty treatment still part of the procedure rather than lost in a verbal summary.
When reuse becomes part of publication
The natural comparison is with asking a corresponding author for help. An author can tell you that an example was meant for data of a particular kind, or point you toward the step that accounts for a discrepancy. An interface can provide the tutorial and rerun it promptly. It does not inherit the author's judgment with the code. When a different dataset pushes a method past its original conditions, what matters is how readily the person using it can find those conditions, see what actually ran and decide whether to proceed.
An executable layer also makes the gaps in a publication more consequential. A missing dependency can stop a tool before it starts. An example that quietly assumes a file is already in the right format can fail when a new lab tries it. A licensed or private dataset does not become available by being named in a tool. The interface can reduce the work needed to discover these obstacles, and the tests can expose some of them while the package is being built. Neither supplies the missing material. For authors, that is a reason to treat the example inputs, software versions and expected outputs as part of the result they are handing over.
The experiment worth trying at publication is simple to state: give the interface and an unfamiliar but suitable dataset to a second lab, then ask the lab to rerun the work and explain every choice that mattered. Where the lab succeeds, the method has travelled further than a citation. Where it gets stuck, the authors learn something a download count could never tell them: exactly where another researcher stopped being able to make the work their own.