Fill PDF forms with an AI copilot using tool calling
An in-browser copilot fills PDF form fields from data sources or user input, helps with foreign-language forms, and explains contract clauses before signing. ·
Done with a custom-built or unnamed agent
- What they did
- The copilot runs inside a browser-based PDF editor and uses LLM tool calling to fill form fields. It can draw values from existing data sources such as a CRM or EHR through MCP/RAG, or from what the user types. Each change appears live in the editor, and the user can correct any field with one click. The LLM is bring-your-own, local or hosted.
- How it went
- The source gives no metrics. The author says a commenter found a bug where mangled form labels sent to the LLM put values in wrong fields, and that it is now fixed.
- Worth knowing
- Check that the form labels passed to the LLM are clean; mangled labels caused values to land in the wrong fields.
Try it yourself with Claude in Chrome
Help me fill out the PDF form at [URL or file] using the details I give you: [name, address, other info]. If the form is in [language], translate each field for me, and flag any contract clause I should understand before signing. Pause and show me every filled field before I sign or submit anything.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · May 3, 2026
Related use cases
Get a second opinion on an MRI
One person's account of using Claude Code to analyze their own MRI.
Build a household dinner-suggestion app
A non-coder used Codex to build a local app that suggests dinners from pantry stock, garden produce, diets, appliances and weather.
Pay bills, clear inbox, and order groceries
A Muse agent called Scout reportedly paid bills, cleared the inbox, and ordered groceries for its user.
Debloat an Android TV
Rakesh Prakash asked his Hermes agent to debloat his Android TV and it completed the task successfully.
Query two years of WHOOP and blood-lab data
The author built a Claude agent that answers questions over WHOOP biometrics and lab results extracted from emailed PDFs, and compared it with a Databricks Genie agent on 30 questions.
Handle tenant correspondence end to end
A remote landlord says Claude managed tenant correspondence end to end, handling landlord-tenant messages for a rental property.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.