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.
Source: HN · May 3, 2026
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
Get a second opinion on an MRI
One person's account of using Claude Code to analyze their own MRI.
Search LinkedIn and submit tailored job applications
Claude Code drives a real Chrome browser to find matching jobs from a resume, collect them in a CSV, write cover letters, fill forms and submit.
Clear leftover installers and fetch a YouTube transcript
Scout ran PowerShell to delete 31 leftover installers (4.4 GB) after asking permission, and installed a tool to save a YouTube transcript when the browser was blocked.
Monitor and respond to home office sensors
Omar Shahine ran a local OpenClaw agent on his MacBook, extended with home automation so it could observe and respond to physical sensors in his home office.
- Custom agent
Fill out a long GP form
An agent filled out a long GP form, which led to a doctor call and tests being booked automatically.
- Custom agent
Book a vet appointment through a clinic's AI phone bot
A commenter called their doctor about a sick pet and the AI booked an appointment 30 minutes later, which worked out.