Simple examples using Chrome's Built-In AI APIs.
InSite AI Pagebot - A Floating AI Chat Assistant for Any Website!
A simple drop-in on-device chat bot that can answer questions about a website, summarize page content, and translate responses.
- Answers user questions about the page using the Prompt API. (Experimental in Chrome 138+)
- Summarizes the page content using the Summarizer API (Available in Chrome 138+)
- Translates responses using the Translator API (Available in Chrome 138+)
- Implemented with generated and tailored plain HTML/JS/CSS, using on-device translation and language models.
Try the predecessor LanguageModel + Summarizer chat mole example created with lmarena.com:
- lmarena_chatbot_1a (mistral-medium-2505) got my vote over lmarena_chatbot_1b (folsom-exp-v1.5)
Chroutine Extension - Basic On-Device AI Routine Automation POC
A Chrome extension that uses the Prompt API to automate workflows with on-device inference triggered by routines.
- Schedules prompts to run at specific times using
chrome.alarms. - Monitors events (e.g. GitHub repository commits) and runs prompts automatically.
- Implemented with static vanilla HTML/JS/CSS, using
chrome.storage.localto persist prompt libraries and routine state.