
PDF SDK for AI Agents
I originally built an AI pdf sandbox that works with financial reports. Experienced a bunch of issues handling PDFs as privately as I can, ie. minimizing sending data over the network, user data isolation in the multi step process that it takes: extract PDF, put them in a sandbox with agents, and iterate over eval. I moved the stack to cloudflare agents, and noticed the more colocated and secure I make the pieces around PDFs, the faster the whole UX became because the core works over bindings...So I am making an SDK that solves most of the app problems I've experienced myself PER document, you can set different access token and permission different parsing strategy based on long-tail PDF complexity /api/chat/completions per document without deployment /ingest from providers like Google OCR, Llamaparse, Unstructured via http generate PDF previews on Edge ID: doc-441a8a0be0e94914b982 Completion: https://api.okrapdf.com/document/doc-.../chat/completions Status: https://api.okrapdf.com/doc
Continue reading on Dev.to
Opens in a new tab


