Chrome AI is a demo project that runs large language models locally within the browser. It showcases the capabilities of modern web technologies to leverage advanced AI functionalities directly in the browser environment without needing server-side processing.
chrome://flags/#prompt-api-for-gemini-nano
, set it to "Enabled".chrome://flags/#optimization-guide-on-device-model
, set it to "Enabled BypassPerfRequirement". Restart the browser.chrome://components/
, find "Optimization Guide On Device Model", ensure it’s fully downloaded. If the version is "0.0.0.0", click "Check for update".window.ai
in the console.Clone the repository:
git clone git@github.com:debugtheworldbot/chromegemini.git
cd chromegemini
pnpm i
pnpm dev
Open localhost:3000
in your browser to start using the AI.
We welcome contributions! Please fork the repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
If you want to know more about chrome ai or have any feedback, please join ours Discord.
This project is based on chromeai by Lightning Joyce.
The original project is licensed under the MIT License. See the LICENSE file for more details.