
Description
paper2code is an agent skill that turns an arXiv paper into a working implementation with reproducible experiments. You give it an arXiv URL or a bare arXiv ID, and it produces code that is anchored to the paper. The project's premise is that ML papers are often vague: hyperparameters are buried in appendices or left out, and the prose sometimes contradicts the equations. So the skill audits every implementation choice before writing code and classifies it as specified, partially specified or unspecified. Unspecified choices are flagged in the code with a comment at the exact line, listing common alternatives. Generated code references the paper section and equation it implements, and appendices, footnotes and figure captions are treated as sources. The output includes model code that maps to paper sections, a reproduction notes file that holds the ambiguity audit, a base configuration file for hyperparameters and a walkthrough notebook that runs on CPU with toy dimensions. You can ask for a specific framework, a full mode with a training loop and data pipeline, or an educational mode with extra comments.…
Highlights
- Anchors code to paper sections and equations
- Audits each implementation choice
- Flags unspecified choices at the exact line
- Notebook with CPU-sized shape checks
Ratings & Reviews
No ratings yet
Be the first to rate paper2code.
People also visit

paper-context-resolver
Rigor Paper Context helper for README-first deep learning repo reproduction

implement-paper-auto
Implement a research paper in a marimo notebook fully automatically without

repo-intake-and-plan
Rigor Intake helper for README-first deep learning repo reproduction
paper2code FAQ
What does paper2code do?
It turns an arXiv paper into a working implementation, with each part of the code linked to the paper section or equation it implements.
What does it produce?
A model.py with the architecture only, a REPRODUCTION_NOTES.md ambiguity audit, a base.yaml of hyperparameters and a walkthrough.ipynb that runs on CPU with toy dimensions.
How do I start it?
Install it as an agent skill, open your coding agent and run the skill with an arXiv URL or ID. The installer asks which agents to use, whether to install globally or per project, and whether to symlink or copy.
Can I choose a framework?
Yes. The README includes usage examples for specifying a framework, plus modes for a minimal implementation, a full training pipeline and an educational notebook.
What is the ambiguity audit?
Before any code is written, each implementation choice is classified as SPECIFIED, PARTIALLY_SPECIFIED or UNSPECIFIED. Unspecified choices are marked with [UNSPECIFIED] comments that list alternatives.
Does it read appendices?
Yes. The page says appendices, footnotes and figure captions are treated as first-class sources rather than ignored.
Who is it for?
Researchers and engineers who want to reimplement an ML paper and check each decision against the text.
What are the best paper2code alternatives?
Popular alternatives to paper2code include ai-paper-reproduction, paper-context-resolver and ai-research-reproduction. See all paper2code alternatives








