Open source · AGPL-3.0

Papers grounded in sources you verified.

A manuscript-writing pipeline for postgraduate researchers, from citation verification to LaTeX and PDF.

pip install scholarrail-pipeline

Manuscript pipeline[@key]
  1. Verify citationsCrossRef → DataCite → OpenAlex
  2. Ingest and reconcile sourcesMarkItDown → LightRAG → Gate 2.5
  3. Structure, draft, and reviewPaperSpine → grounded drafting → CritiqueBot
  4. Export manuscriptConsistency check → LaTeX / PDF

From citation to manuscript

  1. Verify citations

    CrossRef → DataCite → OpenAlex. This gate runs mechanically, without an LLM.

  2. Ingest sources

    MarkItDown → LightRAG.

  3. Reconcile at Gate 2.5

    Every verified citation must have an ingested source, and every ingested source must have a verified citation.

  4. Structure the argument

    PaperSpine structures the manuscript’s argument.

  5. Draft from sources

    Literature review → methodology → results → discussion → conclusion → introduction → abstract. Each stage checks [@key] citations, allows bounded re-drafting, then hard fails if the check still fails.

  6. Review with CritiqueBot

    Adversarial review uses a different model family.

  7. Check consistency and export

    Run the consistency check, then export to LaTeX and PDF.

Guarantees

Mandatory integrity checks

Integrity gates run on every tier and cannot be skipped.

Human gates

A human gate follows every stage by default. Use --auto to run without human gates.

Append-only gate results

Every gate result is appended to a JSONL audit log.

Draft pricing preview - Cloud plans not yet available

Integrity gates are on every tier.

Free

$0

Self-hosted · AGPL-3.0

  • Unlimited runs on your own API keys
Get the pipeline

Starter

$15/mo

3 hosted runs

  • 2 GB storage
  • 500 citation checks
  • 5 CritiqueBot reviews
Notify me

Max

$99/mo

30 hosted runs

  • 50 GB storage
  • Priority support
  • Setup call
Notify me
Compare individual plans
FeatureFreeStarterProMax
RunsUnlimited, self-hosted31030
Hosted storageSelf-hosted2 GB10 GB50 GB
Integrity gatesIncludedIncludedIncludedIncluded

Team

$40/mo

2 seats included · +$20/seat

  • Supervisor-student workspace
  • Audit-log export
  • Admin role
Notify me

Institution

$299/mo

+$10/seat past 20

  • Self-hosted
Notify me
Compare team plans
FeatureTeamInstitution
Seat pricing2 included, +$20/seat+$10/seat past 20
Integrity gatesIncludedIncluded

FAQ

What does a paper run cost?

Bring your own API keys. Your model provider bills you for usage. A full paper run on DeepSeek is estimated at $0.48–$1.20.

Can I run the pipeline without stopping for approval?

Yes. Pass --auto to bypass human approval. Integrity checks still run, and every gate result is appended to the JSONL audit log.

How do I install the self-hosted pipeline?

Run pip install scholarrail-pipeline. The pipeline is open source under AGPL-3.0.

Are cloud plans available?

Cloud plans are still in preview. The “Notify me” links open GitHub Issues.