•   8 months ago

Questions after working a week

I have been trying to get my Google Chrome extension to use Gemini nano for a week, but it didn't work, so is there a ready working demo I can test the on-device AI?
Also, is there a specific setup that I should do in Google Chrome before I just try the extension?
Also, I read on Discord that someone tried his extension on Brave(a browser), doesn't the on-device AI work only on Google Chrome?
I have an idea that will help anyone, but I just can't get Gemini nano or the Rewriter API to work.

  • 6 comments

  • Manager   •   8 months ago

    Can you be specific about the "it didn't work" part?

    https://googlechromeai2025.devpost.com/resources is great place to look at samples/demos that are known to be working.

  •   •   8 months ago

    I have figured out two things from Gemini chatbot that made my extension not work(I simply tried to make a Rewriter API to improve the text to a formal way, and used the proofread API to only fix grammar issues, and when I try them, nothing happens. I asked Gemini to create an extension that tests if my browser is allowed to use Gemini nano or not, and it said not.)

    1- I needed to go there chrome://components and click on the "Check for update" button under "Optimization Guide On Device Model - Version: 0.0.0.0(not downloaded)" to download it and change it to Version: 2025.8.21.1028(downloaded)(that worked)
    2-(the problem as Gemini said) I don't have the "Try out experimental AI features" feature in my Google Chrome settings. Gemini said that is because I am in Egypt.

    -also Gemini chatbot said that "The chrome.ai API is also disabled because the "Experimental AI" setting is missing."
    -I download https://github.com/GoogleChrome/chrome-extensions-samples repo and unpacked "Chrome Prompt AI Demo" extention and tried to say "hello world" in the side screen but I can't click on run(the button is not viald), and tried the Summarization API sample and Alt Texter but they are not working(the alt texter says for 5 mins "Generating alt text ..." and the summarization doesn't show output).
    -you may use my experience as feedback.

  •   •   8 months ago

    I also get this error from my extensions. Gemini said it is because I don't have the "experimental AI features" in my browser or my Google account.
    Here's an example:

    Permission 'ai' is unknown.

    {
    "manifest_version": 3,
    "name": "Real-time Tone and Grammar Analysis",
    "version": "1.0",
    "description": "Analyzes text for tone and grammar in real-time using Chrome's built-in AI.",
    "permissions": [
    "ai",
    "scripting",
    "activeTab",
    "storage"
    ],
    "host_permissions": [
    ""
    ],
    "action": {
    "default_popup": "popup.html"
    },
    "content_scripts": [
    {
    "matches": [""],
    "js": ["content.js"],
    "css": ["styles.css"],
    "all_frames": true
    }
    ],
    "background": {
    "service_worker": "background.js"
    }
    }

  • Manager   •   7 months ago

    chrome.ai does not exist anymore. See https://developer.chrome.com/docs/ai/prompt-api#use_the_prompt_api for instance.

    Re you extension experience, what does say the "model status" tab in the chrome:on-device-internals page?

  •   •   7 months ago

    Thanks for chrome.ai does not exist it helped a lot, also here's the:
    Foundational model state: Ready
    Model Name: v3Nano
    Version: 2025.08.14.1358
    File path: C:\Users\ASH THE FLASH\AppData\Local\Google\Chrome\User Data\OptGuideOnDeviceModel\2025.8.21.1028
    File size: 0 Bytes

  • Manager   •   7 months ago

    I believe you should be good to go now.

Comments are closed.