What it is
Citra, a local-first PDF reader for agents. It returns structured text, table geometry, OCR output and page-level citations rather than a flat text dump, so a claim can be traced back to a page and a cell. Published as @sylphx/citra, version 5.0.0, binary citra.
Requirements
Node.js 22.13.0 or newer for the launcher, and nothing else — no Docker, no API key, no cloud vision service, and PDFs stay on the machine. Run it with npx and the package, or install globally and call citra. One platform native package is selected automatically for your host: macOS arm64 and x64, Linux x64 and arm64 gnu, and Windows x64 are the supported targets. If the matching native binary is missing the server fails closed rather than falling back to a slower engine, which is a deliberate choice — there is no TypeScript PDF runtime in the production package. Optional OCR and visual providers are opt-in and not needed for the core text paths.
Setup effort
One command — npx -y @sylphx/citra