@trupdf/ai
AI assist
Bring-your-own provider · summarise · extract · chat
A right-side AI panel that can summarise the open document, extract structured fields, and answer questions — backed by whichever provider you bring (Anthropic, Gemini, OpenRouter, or any OpenAI-compatible MCP gateway).
F.01 — What you get
- Provider-agnostic via the AIConfig contract — flip in one env var.
- Vision-enabled providers see the rendered page, not just extracted text.
- Telemetry stays local — TruPDF never proxies your prompts.
- Disabled cleanly when no key is configured — no surprise outbound calls.
Next step
See it in the demo
The live demo wires this feature into a full viewer. Open any PDF and try it.