Filling PDF forms with AI using client-side tool calling
Details
- External ID
- 47984675
- Source
- HN
- Company
- —
- Product
- Filling PDF forms with AI using client-side tool calling
- Website domain
- simplepdf.com
- Launched
- May 2, 2026
- Cohort
- —
- Upvotes
- 60
- Upvotes percentile
- 0.851373182552504
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
Hey HN!I built SimplePDF Copilot: an AI assistant that can interact with the PDF editor. It fills fields, answers questions, focuses on a specific field, adds fields, deletes pages, and so on.It's built on top of SimplePDF that I started 7 years ago, pioneering privacy-respecting client-side pdf editing, now used monthly by 200k+ people.As for the privacy model: the PDF itself never leaves the browser. Parsing, rendering, and field detection all run client-side.The text the model needs (and your messages) goes to whatever LLM you point at. By default that's our demo proxy (DeepSeek V4 Flash, rate-capped), but you can BYOK and point it at any cloud provider, or go fully local (I've been testing with LM Studio).Unlike the existing "Chat with PDF" tools that only retrieve the text/OCR layer, Copilot can act on the PDF: filling fields, adding fields (detected client-side using CommonForms by Joe Barrow [1], jbarrow on HN with some post-processing heuristics I added on top), focusing on fields, deleting pages, and so on.I built this because SimplePDF is mostly used by healthcare customers where document privacy is paramount, and I wanted an AI experience that didn't require shipping PII to a third party. Stack is pretty standard:- Tanstack Start- AI SDK from Vercel- Tailwind (I personally prefer CSS modules, I'm old-school but the goal since I open source it, I figured that Tailwind would be a better fit)The more interesting part is the client-side tool calling: events are passed back and forth via iframe postMessage.If you're not familiar with "tool calling" and "client-side tool calling", a quick primer:Tool calling is what LLMs use to take actions. When Claude runs grep or ls, or hits an MCP server, those are tool calls.Client-side tool calling means the intent to call a tool comes from the LLM, but the execution happens in the browser.That matters for: speed, you can't go faster than client-to-client operations and also gives you the ability to limit the data you expose to the LLM. For the demo I do feed the content of the document to the LLM, but that connection could be severed as simply as removing the tool that exposes the content data.The demo is fully open source, available on Github [2] and the demo is the same as the link of this post [3]What's not open source is SimplePDF itself (loaded as the iframe).I could talk on and on about this, let me know if you have any questions, anything goes![1] https://github.com/jbarrow/commonforms[2] https://github.com/SimplePDF/simplepdf-embed/tree/main/copil...[3] https://copilot.simplepdf.com/?share=a7d00ad073c75a75d493228...
Enrichment
- Theme
- document and PDF utility tools
- Vertical
- Horizontal
- Function
- Agent / copilot
- Audience
- Developer
- AI stance
- AI-native
- Project type
- Commercial product
- Normalized one-liner
- ai-powered pdf form filling tool
- Manually corrected
- False
Could you build this?
Yes It wraps standard PDF form manipulation libraries (like pdf-lib or PDF.js) with client-side LLM tool/function calling to map user prompts into field fill operations.
Discussion
20 comments analyzed.
Competitors mentioned: Adobe Acrobat, Preview (Mac), Claude Cowork, Foxit PDF editor
Concerns raised: Demo LLM too small/not intelligent enough, Server-side processing could compromise privacy despite claims, Governmental interception risks, Field detection/labeling accuracy issues (~90% success rate), Cannot skip required fields in demo
Feature requests: Offline/downloadable app mode without internet requirement, Embed small WASM LLM for full privacy, Support for local OS-level LLMs via API, Expand file format support, Voice input capability
Competitors
Other products that read as similar to this one — 175 launches clear the similarity bar, closest 8 shown.
Attention rank: #14 of 176 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 160 days after the earliest competitor.
- UsePDFQuick · ph · 2026-09-19 · 1 upvotes · similarity 0.51
- KissThePDF · ph · 2026-09-13 · 3 upvotes · similarity 0.49
- mousePDF - Free Online PDF Editor · ph · 2026-09-09 · 2 upvotes · similarity 0.48
- EasyPDFNex · ph · 2026-09-13 · 1 upvotes · similarity 0.48
- LocalPDF Tools · ph · 2026-09-16 · 1 upvotes · similarity 0.48
- CrabPDF · hn · 2026-04-26 · 10 upvotes · similarity 0.48
- BreezePDF · hn · 2026-03-29 · 97 upvotes · similarity 0.47
- DonePDF – Free PDF Tools · ph · 2026-09-30 · 2 upvotes · similarity 0.46
Other launches for this product
Same idea, different domain
Nobody's really built a agent / copilot tool for Agriculture yet.