donpark/chrome-ai-tools — explained in plain English
Analysis updated 2026-05-18
Call Chrome's on device AI for prompting, summarizing, translating, or writing text from a script or CLI.
Prototype AI features without needing API keys or a paid cloud AI service.
Automate text tasks by piping file contents into the chrome-ai command line tool.
Install chrome-ai-tools as a skill for the Pi coding agent.
| donpark/chrome-ai-tools | 0xallam/my-recipe | 0xhassaan/nn-from-scratch | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | Python | Python | Python |
| Last pushed | — | 2022-11-22 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a recent desktop Chrome (v129+) with the Prompt API and Python 3.9 or newer, keep the bridge tab open while using it.
chrome-ai-tools lets you call Chrome's built in AI features, which run on a model called Gemini Nano, from a command line, from Node.js, or from Python, instead of only from inside a browser page. Chrome's AI APIs are normally locked to running inside browser pages, so this project bridges that gap. A small Python server manages a queue of prompts, and a page you open once in Chrome picks up those prompts and actually calls the AI directly, then sends the result back to the server. You install it with npm, then start the included Python server, which listens on a local address, and open that address once in a Chrome browser tab, leaving it open in the background. After that, you can send prompts using a command line tool called chrome-ai, or by importing helper functions into a Node.js or Python project, or even by sending plain HTTP requests with a tool like curl. Four kinds of tasks are supported: general prompting with an optional system instruction, summarizing a block of text, translating text between two languages, and writing new text such as a poem, given an optional context. Each of these can be piped text from a file, called from code, or requested with a single command line call. No browser extensions, no separate automated browser tooling, and no API keys are required, only a recent desktop version of Chrome and Python 3.9 or newer. The project is described as alpha status: it is not yet published to npm, the interfaces may still change, and some edge cases are not yet handled, but it works for prototyping through a local install. It also ships as an installable skill for a coding agent called Pi.
A bridge that lets you call Chrome's built in Gemini Nano AI features from the command line, Node.js, or Python, instead of only from inside a browser page.
Mainly Python. The stack also includes Python, Node.js, TypeScript.
The README does not state a license.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.