SciTeX Live Paper (scitex-live-paper)
The web-readable foundation for live, AI-verifiable research papers.
Full Documentation · uv pip install "scitex-live-paper[all]"
Problem and Solution
| # | Problem | Solution |
|---|---|---|
| 1 | A PDF is dead — you cannot click a claim, see the code that produced it, re-run it, or check provenance. | Live-paper renderer — turns an accepted manuscript bundle into a page where every claim is hash-linked to the executable artefact that produced it. |
| 2 | Verification rots — a badge stamped at acceptance says nothing about whether the claims still hold after the code moved on. | Live re-verify — verify endpoints ask the installed evidence provider about the live project, so the badge tracks re-review. |
| 3 | Claim-model drift — every consumer re-defines Claim slightly differently until nothing interoperates. |
Deliberately thin consumer — the claim model is owned upstream by the claim registry that produced claims.json; this package reads it, never extends it. |
Quick Start
from scitex_live_paper import bundle
loaded = bundle.load("./bundle/")
print(len(loaded.claims), "claims,", loaded.paper_state.stage)
# Render the static site (viewer + claims sidebar + DAG + index)
scitex-live-paper render ./bundle/ --out ./site/
Demo
A runnable load-and-summarise demo lives in
examples/example_live_paper.py
(run every example with
examples/00_run_all.sh):
python examples/example_live_paper.py
# bundle: bundle-min
# claims: 3
# manuscript: manuscript.pdf
# paper stage: preprint
Installation
uv pip install "scitex-live-paper[all]"
Extras matrix
| Extra | Pulls | For |
|---|---|---|
django |
django>=4.2 |
standalone serve + scitex-hub mount |
server |
django>=4.2 + scitex-sdk[gui] |
serve via the SDK workspace shell (superset of django) |
mcp |
fastmcp>=2.0 |
MCP server for agents |
docs |
Sphinx, MyST, and documentation extensions | build the architecture and generated CLI reference |
test |
pytest>=8.0 |
test suite |
all |
everything above | the one install line operators need |
Table 1. Optional-dependency extras.
live-paper depends on no evidence provider. Without one installed, the
M2 api/claim/verify and api/claims/verify endpoints stay reachable
but degrade gracefully (every per-claim response carries
fallback: true, status: "unassessed" and a clear reason); install
any package that implements the
evidence-provider contract to get
real evidence states.
Working on
scitex-live-paperitself? See Dev quickstart — editable install, render the in-tree fixture bundle, bundle-layout contract, and where the Django app pattern is mirrored from.
Architecture
scitex-live-paper is deliberately thin. It is a consumer /
rendering layer, not an authority on claims. If a feature requires
extending the claim or DAG model, the change belongs upstream in
the claim registry that produces claims.json, not here.
flowchart TD
bundle["accepted manuscript bundle<br/>(LaTeX + claims.json + DAG + figz + provenance)"] --> lp["scitex-live-paper<br/>(thin renderer)"]
lp --> viewer["viewer (PDF.js)"]
lp --> claims["claims panel"]
lp --> dag["DAG nav (mermaid)"]
lp --> badge["badge (verification status)"]
Figure 1. Bundle in, four surfaces out — the package renders, upstream owns the models.
| Concern | Owner | This package's role |
|---|---|---|
Claim data model, claims.json statuses, DAG |
the upstream claim registry | reads only — never defines, never mutates |
| Evidence state + minimal evidence graph per claim | any evidence provider | renders the contract's report (scitex_live_paper.evidence) |
| Manuscript bundle layout | scitex-writer |
ingests the bundle as-is |
| Acceptance + re-review verdicts | scitex-agentic-journal |
receives accepted bundle, surfaces badge |
| Auth / Django app surface | scitex-hub |
mounted on /apps/live-paper/ (M3 shipped) |
Table 2. Ownership boundaries — who owns what.
The paper-workflow architecture defines application, component, library and connector ownership across the paper packages.
Roadmap
| Milestone | Status | Goal |
|---|---|---|
| M1 | shipped | Read-only static-site renderer for an accepted bundle (CLI) |
| M2 | shipped | Live re-verify (api/claim/verify + api/claims/verify + SPA Re-verify button) — see runbook |
| M3 | shipped | Django app on scitex-hub at /apps/live-paper/ + standalone SDK GUI app (serve, 0.2.x) |
| M4 | pending | Re-review badge fed from scitex-agentic-journal |
| M5 | future | Public DOI landing page (sandbox → Zenodo → JaLC) |
Table 3. Milestone roadmap.
Issues for M1 are filed in this repo — see open issues.
3 Interfaces
🐍 Python API ⭐⭐⭐ — import scitex_live_paper
from scitex_live_paper import BundleContext, BundleSource, PaperState, bundle
loaded = bundle.load("./bundle/")
💻 CLI ⭐⭐ — scitex-live-paper
scitex-live-paper render ./bundle/ --out ./site/ emits the static
site; scitex-live-paper serve ./bundle/ boots the standalone SDK
GUI app pinned to a bundle (requires the [server] extra); python -m scitex_live_paper works too. Agent-facing surfaces: scitex-live-paper mcp
(FastMCP tools projecting the Python API, [mcp] extra) and the
scitex.livepaper.renderers entry-point group + conformance kit for
external figure/snippet/claim-graph adapters — see
consumer guide.
🌐 Django app ⭐⭐⭐ — /apps/live-paper/
Mounted under scitex-hub at /apps/live-paper/ (M3 shipped): SPA shell +
<path:endpoint> API dispatcher backed by the HANDLERS registry.
Host apps inject per-request bundle resolution via
scitex_live_paper.mount(resolver=...). The same engine also runs
standalone: scitex-live-paper serve ./bundle/ boots the SDK
workspace shell (scitex_sdk.app.embed.run_standalone) for local
use, demo, and testability.
The same mount serves paper.html, graph.html?claim_id=…, review.json,
review.txt, and the installed page assets. Supply evidence-report.json
(the neutral evidence-report contract) in the bundle directory, or pass a
trusted BundleContext(evidence_report=report, resource_root=authorized_root, …).
The resource root defaults to the bundle directory. Paths in the report never
grant access outside that root; symlinks and non-regular files are refused.
Page, graph and asset links retain the request's project and working-directory
selectors, and every request still passes through the host resolver. These
read routes consume a snapshot without running an evidence provider or changing
manuscript values. A viewer with a report offers Read manuscript with evidence.
Django settings SCITEX_LIVE_PAPER_MAX_REPORT_BYTES (default 16 MiB) and
SCITEX_LIVE_PAPER_MAX_TEXT_BYTES (default 4 MiB across manuscript files) bound
the request's reads. Secure descriptor-relative reads require POSIX support;
an unavailable capability returns 503. Missing, refused, invalid and oversized
resources return 404, 403, 400 and 413 respectively.
Environment Variables
| Variable | Set by | Read by | Purpose |
|---|---|---|---|
SCITEX_LIVE_PAPER_BUNDLE |
serve CLI / operator |
bundle cache | bundle path pinned for the process |
SCITEX_LIVE_PAPER_EVIDENCE_PROVIDER |
operator | re-verify endpoints | entry-point name of the evidence provider (default: the single installed one) |
SCITEX_LIVE_PAPER_EVIDENCE_ROOT |
operator | re-verify endpoints | project root handed to the provider (default: the bundle root) |
Table 4. Environment variables referenced by this package.
SciTeX Ecosystem
flowchart LR
writer["scitex-writer"] -->|manuscript bundle| lp["<b>scitex-live-paper</b>"]
clew["scitex-clew"] -->|evidence-report 1.3.0<br/>entry point, no import| lp
lp -->|claim-aware adapter| rp["scitex-rich-pdf"]
lp -->|mounted app| hub["scitex-hub"]
Figure 2. scitex-live-paper and the packages it is most often used with.
- scitex-writer owns the manuscript and the bundle layout; live-paper ingests the bundle as-is.
- scitex-clew is an evidence provider. live-paper never imports it: clew owns the adapter and reports through the evidence-report contract 1.3.0, found by the
scitex.livepaper.renderersentry point. Any other provider can implement the same contract. - scitex-rich-pdf is the PDF viewer (regions, comments, feed); live-paper supplies the claim-aware adapter. See rich PDF provider.
- scitex-hub hosts the Django app and authentication; scitex-sdk supplies the shared App/UI contracts and PDF rendering.
Part of SciTeX
scitex-live-paper is part of SciTeX.
Four Freedoms for Research
- The freedom to run your research anywhere — your machine, your terms.
- The freedom to study how every step works — from raw data to final manuscript.
- The freedom to redistribute your workflows, not just your papers.
- The freedom to modify any module and share improvements with the community.
AGPL-3.0 — because we believe research infrastructure deserves the same freedoms as the software it runs on.
Metadata
Release files for scitex-live-paper 0.5.7
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 |
|---|---|---|---|---|
| scitex_live_paper-0.5.7.tar.gz | 11.4 MB | With provenance | Details for scitex_live_paper-0.5.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scitex_live_paper-0.5.7-py3-none-any.whl | Python 3 | none | any | Details for scitex_live_paper-0.5.7-py3-none-any.whl |
Total release size: 22.1 MB
Release files / scitex_live_paper-0.5.7.tar.gz
| Download URL | scitex_live_paper-0.5.7.tar.gz |
|---|---|
| Size | 11.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
921218054a2d1c26c280a25852ac2240b0140e12312f28159cec029489c42d13
|
|
BLAKE2b-256 checksum How to use checksums |
d89b36b31768e95d2c384d74b27c7706a7706e95be6c209ff46c72e95ba30166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logRelease files / scitex_live_paper-0.5.7-py3-none-any.whl
| Download URL | scitex_live_paper-0.5.7-py3-none-any.whl |
|---|---|
| Size | 10.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37ebf9f15f672e5839b4e9c77b99ca5875670d33bfab4b31ebb935fc8c8c856e
|
|
BLAKE2b-256 checksum How to use checksums |
b1e0650b91ea96c40f28788b3872e0a8c33b35c26343219651ee7c98f73a70bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logSecurity for scitex-live-paper 0.5.7
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for scitex_live_paper-0.5.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logA 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.