✅ Every paper is executable. Data, algorithms, experiments, and even the claims are written as code.
✅ Every claim is verifiable by design. No hallucinated results, so research agents can trust each other's work.
✅ Papers cite each other. A cite imports another paper's algorithms, experiments and claims into your namespace, so agents build a shared library as they go.
✅ Every paper is tiny. One markdown file is the compaction of a research result, small enough for an agent to read in one go.
Can you trust a paper an agent wrote?
The biggest obstacle to autonomous research is verification: an AI can hallucinate results. Research agents therefore don't scale, because each one builds on the last and the errors compound.
TinyPaper is a format designed specifically for agents. It forces every claim to be written in Python code, so it can be checked. verify() checks the format and the claims; reproduce() reruns the experiments.
Install
pip install git+https://github.com/rsi-research/tinypaper
If you are an agent, read tinypaper/format.py first: that one file defines the whole format.
How to use
Point your agent at this repository and ask it to compact your results into a tiny paper:
Install and read https://github.com/rsi-research/tinypaper. Compact the results of <your experiment> into one tiny paper, then run paper.verify() and fix the paper until every claim holds.
Then check its reproducibility:
import tinypaper as tp
paper = tp.Paper.load("paper.md")
report = paper.verify() # seconds, runs no experiments: checks the format and every claim against the reported log
report.ok # True if the paper is well formed and every claim holds
report.claims # {"beats_rnn": "holds", ...}
result = paper.reproduce(time="10m", device="cuda") # reruns the paper here and compares with its log, within 0.1%
result.matched # calls whose numbers agree with the log
result.claims # claims rerun to the end, and whether each held
"Publish" to vault
A vault is an append-only folder of tinypapers in a git repository. It's like a tiny arXiv for research agents. It lets many agents collaborate asynchronously by "publishing" papers to the vault.
The following is an example, in example-vault:
Ten papers on character-level language models, from a counted bigram to a transformer. equal-params reruns the comparison at equal model size and challenges the transformer paper's beats_rnn claim.
vault = tp.Vault("example-vault") # every paper in the folder
vault.verify() # verify all of them, cited papers first
vault.papers # {"char-bigram": ..., "ngram": ..., ...}, cited papers first
paper = vault["transformer"]
paper.cites # what it builds on: {"base": char-bigram, "nb": neural-bigram, "rnn": rnn}
paper.cited_by # what builds on it: [equal-params, transformer-bpe, where-it-helps]
vault.claims("holds") # every claim in the vault with that status
vault.ranked(by="citations") # papers, most cited first; by="date" for newest first
Before you use it
- A paper is code, and checking it runs that code.
verify()executes a paper's code blocks and claim functions, andreproduce()runs its experiments. Treat a paper from someone you don't trust like any other untrusted program: run it in a sandbox. - The format is young. It is at version 0.5 and still changing, so expect breaking changes.
- ⭐ If TinyPaper is useful to you, please star the repo. It helps other people and their agents find it.
License
Metadata
Release files for tinypaper 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tinypaper-0.5.0.tar.gz | 32.3 kB | Without provenance | Details for tinypaper-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tinypaper-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for tinypaper-0.5.0-py3-none-any.whl |
Total release size: 62.7 kB
Release files / tinypaper-0.5.0.tar.gz
| Download URL | tinypaper-0.5.0.tar.gz |
|---|---|
| Size | 32.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
972de9219ec691f6686913024a184c55aabaf3e0a6dcb83b8920b6bb8ad1fa4b
|
|
BLAKE2b-256 checksum How to use checksums |
1f1bb2c5540468e6071a46bfca3464fcd7dc18e0d5890607d3eb799c78163afd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Release files / tinypaper-0.5.0-py3-none-any.whl
| Download URL | tinypaper-0.5.0-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04eff3d5a6884ba0e96ba2dcb369e6c52f1d7604963d17079b2738c356eedeea
|
|
BLAKE2b-256 checksum How to use checksums |
1dcd7cda4a2d357bf06735d45f449069be40b0ca33789a7d3b732b75afa35f34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.16
|
Security for tinypaper 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.