-
-
Title card: LocalForm AI, hybrid AI form filler for Chrome.
-
Learned-facts queue: every proposed fact waits for your Approve & Merge or Discard.
-
Your vault: approved facts live in the browser; export/import JSON, optional Google Drive sync.
-
Fill report from a manual JSON import with AI unavailable.
-
Saved-facts autofill on a sample form: seven fields filled from the vault. Cover letter, GitHub and experience are left empty.
Summary
LocalForm AI is a Chrome extension that drafts form answers from a profile you control. It fills the basics from facts you saved, then drafts answers to open-ended questions as suggestions you review. Drafting runs on your device by default. Cloud drafting through Firebase AI Logic is a setting you turn on ("Allow cloud AI when I ask"), and it is off until you do. Built for #BuildHybridAI.
What it does
- It learns about you. Give it context: your website, GitHub or portfolio, pasted resume text, a JSON profile from the assistant you already use, or Google Drive. Or turn Observer on for a site and it queues facts it sees you type, as suggestions only. Every suggested fact waits in the Review & Merge Queue until you approve or discard it.
- It fills forms. It scans the form, matches fields to your approved facts and fills them, then shows a report. For open-ended questions such as a cover letter or "why this role", it drafts an answer and marks it as an unverified AI draft. Each draft is checked sentence by sentence against your saved facts and the page text, with its support shown, and nothing goes into the form until you choose Accept and fill. The video walks through a live job application.
- It improves as you go. On sites where Observer is on, it records per field whether you kept, edited or cleared a fill (the class only, never the value). If you change a field to a different vault entry it learns a mapping, which is not used to fill until you confirm it or 3 form submissions agree. You can also accept suggested prompt guidance, and you can confirm or delete any mapping.
How we built it
Prompts go through one path built on the Firebase AI Logic SDK. By default the model runs on your device through Chrome's built-in AI, and the extension makes no cloud calls. If you turn on "Allow cloud AI when I ask" in the AI Model tab, the extension shows what would leave the device (an excerpt of the page text, the question and the vault facts used) and waits for your OK once before each Auto-Fill drafting run. After that it sends one request per essay field. With the setting off, a prompt that cannot run on the device stops with a message and nothing is sent. The AI Model panel reports App Check status. In a recorded run on a live job application, an accepted cloud draft was filled into an open-ended question.
Challenges
- The hybrid SDK silently ignores some parameters on the on-device leg. We contract-tested against the real installed SDK and shaped prompts per leg.
- Google's default model name for new projects had changed, so we verified the live name and pinned it.
- Page text is untrusted input. Drafts are kept only when their words are supported by your vault or the page, and you accept each one.
What's next
Chrome Web Store release and more structured-output form types.
Try it
Source and README: https://github.com/arii/localform-ai
Run npm install && npm run build, then load dist/ via Chrome > Extensions > Developer mode > Load unpacked. The default build needs no keys and makes no cloud calls. To try cloud drafting, use your own Firebase project config as the README describes and turn on "Allow cloud AI when I ask".
Existing project
LocalForm AI is an existing open-source project. Before the submission period: form scanning and autofill, the on-device vault, and the submit observer with correction learning. During it: Firebase AI Logic hybrid inference, App Check status reporting, contract tests, the MIT license, and the opt-in cloud setting with a consent step before each drafting run.
Built With
- chrome
- firebase-ai-logic
- firebase-app-check
- gemini-developer-api
- gemini-nano
- javascript
- prompt-api
- vitest