Generate invoices, contracts, labels and reports without running a headless browser. Deploy the API on your infrastructure or try the engine in your browser.
Generate PDFs from an agent. Codex used 53% fewer output tokens in our four-task study.
Without PressJet, a coding agent writes PDF code by hand and guesses at page breaks. With the PressJet MCP server it calls one tool, checks the result and is done.
Measured with
Agent alonewrites PDF code
Make an invoice PDF for Corsa Logistics
Writing invoice.py with a PDF library
Hand-coding the table, totals and page breaks
Running python invoice.py
Totals fell alone on page 2
Editing the layout and running again
invoice.pdf
Output tokens2,441
Session time19.9 s
Agent + PressJet MCPcalls tools
Make an invoice PDF for Corsa Logistics
authoring_guide
render_document invoice.json
check_document → 0 warnings
invoice.pdf · 1 page, checked
Output tokens1,497
Session time14.1 s
Illustration of one invoice session. Token and time figures are the study's means over 20 sessions per side.
Output tokens−38.7%2,441 → 1,497 per export
Session time−29.0%19.9 s → 14.1 s
Total input−11.7%120,178 → 106,155 tokens
PDFs passing20/20Every PressJet PDF passed its checks
What each task cost, alone vs with PressJetThe agent alone is the full gray bar. The orange bar is what it needed with PressJet.
Invoicealone−39%
Reportalone−47%
Data sheetalone−47%
Contractalone−20%
Agent alone = 100%With PressJet
Four fixed tasks, five repetitions each, Nov 29, 2026. Input includes cache reads. Read the study →
MCP server and Claude Code plugin
Agents validate, render, preview, merge and sign PDFs locally. Nothing leaves your workspace while rendering.
Server figures: median of 7 HTTP requests, same batch, one logical CPU.
JSON sample · page 1Sample invoiceThis page was rendered by PressJet from the JSON sample: two addresses, purchase order, eight line items, discount, sales tax, deposit and a page counter in the footer. Each page of the batch gets its own customer and numbers.
Repeating table headerEmbedded logoPage counterTotals that add up
A4 · 8 line items
Why teams switch.
500-item invoice
PressJet
Headless browserGotenberg, Browserless
PDF librariesjsPDF, react-pdf, dompdf, WeasyPrint
Median time
52.73 ms
537–805 ms
134–2,525 ms
Peak memory
25.7 MiB
573–818 MiB
47–174 MiB
Needs Chrome running
No
Yes
No
JSON templates and HTML
Both
HTML
Code or HTML, by library
Median time, 500-item invoice
PressJet52.73 ms
Headless browser537–805 ms
PDF libraries134–2,525 ms
Peak memory
PressJet25.7 MiB
Headless browser573–818 MiB
PDF libraries47–174 MiB
Needs Chrome running
PressJetNo
Headless browserYes
PDF librariesNo
JSON templates and HTML
PressJetBoth
Headless browserHTML
PDF librariesCode or HTML
Generate your first PDF.
Try a sample locally or deploy the API for your application.