AIChatbot
Configure the AI chatbot sidebar, including which built-in providers are available and the ability to add custom providers. For more information, see Access AI chatbots in Firefox on support.mozilla.org.
Values
Section titled “Values”Providers: Configures the available AI chatbot providers.Add: An array of custom provider objects to add. Each object accepts the following properties:url(required): The URL of the AI chatbot provider.name(required): Display name for the provider.id(required): Unique identifier for the provider.iconUrl: URL of the provider's icon.queryParam: Query parameter name used to pass prompts to the provider. Firefox sends prompts to custom providers in theqquery parameter, so setqueryParamif your bot or provider expects something different.
BuiltIn: An object to remove specific built-in providers. Set a provider key tofalseto remove it. To add a provider that isn't already listed, use theAddkey. The following built-in providers are available:Anthropic ClaudeChatGPTCopilotGoogle GeminiHuggingChatMistral VibelocalhostLe Chat Mistral(Deprecated. UseMistral Vibeinstead.)
Default: Thenameof the provider to use as the default, for exampleAnthropic Claudeor thenameof a provider inAdd.
Prompts: Configures the AI chatbot prompt suggestions.Enabled: Set totrueto enable prompt suggestions orfalseto disable them.BuiltIn: An object to remove individual built-in prompts. Set a prompt key tofalseto remove it. The following built-in prompts are available:SummarizeExplainQuizProofread
Examples
Section titled “Examples”{ "policies": { "AIChatbot": { "Providers": { "BuiltIn": { "Anthropic Claude": true, "ChatGPT": false, "Copilot": false, "Google Gemini": false, "HuggingChat": true, "Mistral Vibe": true, "localhost": true }, "Default": "Anthropic Claude", "Add": [ { "url": "https://ai.example.com", "name": "Example AI", "id": "exampleai", "iconUrl": "https://ai.example.com/icon.png", "queryParam": "someparam" } ] } } }}JSON schema
{ "type": "object", "properties": { "Providers": { "type": "object", "properties": { "Add": { "type": "array", "items": { "type": "object", "properties": { "url": { "type": "string", "format": "moz-url" }, "name": { "type": "string" }, "id": { "type": "string" }, "iconUrl": { "type": "string" }, "queryParam": { "type": "string" } }, "required": [ "url", "name", "id" ] } }, "BuiltIn": { "type": "object", "properties": { "Anthropic Claude": { "type": "boolean" }, "ChatGPT": { "type": "boolean" }, "Copilot": { "type": "boolean" }, "Google Gemini": { "type": "boolean" }, "HuggingChat": { "type": "boolean" }, "Mistral Vibe": { "type": "boolean" }, "Le Chat Mistral": { "type": "boolean" }, "localhost": { "type": "boolean" } } }, "Default": { "type": "string" } } }, "Prompts": { "type": "object", "properties": { "Enabled": { "type": "boolean" }, "BuiltIn": { "type": "object", "properties": { "Summarize": { "type": "boolean" }, "Explain": { "type": "boolean" }, "Quiz": { "type": "boolean" }, "Proofread": { "type": "boolean" } } } } } }}Allowing only your organization's chatbot
Section titled “Allowing only your organization's chatbot”This example adds a company-hosted LibreChat instance, makes it the default, and removes every built-in provider so it's the only choice in the sidebar.
Set url to the page that starts a new chat, /c/new for LibreChat.
Default must match the provider's name, not its id.
Users who had already picked one of the removed providers are switched to LibreChat:
{ "policies": { "AIChatbot": { "Providers": { "Add": [ { "url": "https://chat.example.com/c/new", "name": "LibreChat", "id": "librechat", "iconUrl": "https://chat.example.com/assets/favicon-32x32.png" } ], "BuiltIn": { "Anthropic Claude": false, "ChatGPT": false, "Copilot": false, "Google Gemini": false, "HuggingChat": false, "Mistral Vibe": false, "localhost": false }, "Default": "LibreChat" } } }}To offer LibreChat in addition to the built-in providers, omit the BuiltIn object.
To turn off the chatbot entirely instead, use the AIControls policy.
Turning off prompt suggestions
Section titled “Turning off prompt suggestions”This example removes the built-in prompts, such as Summarize and Explain, and the prompt shortcut that appears when users select text on a page. Users can still type their own prompts in the chatbot in the sidebar:
{ "policies": { "AIChatbot": { "Prompts": { "Enabled": false } } }}Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\url = "https://example.com"Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\name = "Example AI"Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\id = "example-ai"Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\iconUrl = "https://example.com/icon.png"Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Add\1\queryParam = "q"Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Anthropic Claude = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\ChatGPT = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Copilot = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Google Gemini = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\HuggingChat = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\Mistral Vibe = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Providers\BuiltIn\localhost = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Providers\Default = "Example AI"Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\Enabled = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Summarize = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Explain = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Quiz = 0x1 | 0x0Software\Policies\Mozilla\Firefox\AIChatbot\Prompts\BuiltIn\Proofread = 0x1 | 0x0<dict> <key>AIChatbot</key> <dict> <key>Providers</key> <dict> <key>Add</key> <array> <dict> <key>url</key> <string>https://example.com</string> <key>name</key> <string>Example AI</string> <key>id</key> <string>example-ai</string> <key>iconUrl</key> <string>https://example.com/icon.png</string> <key>queryParam</key> <string>q</string> </dict> </array> <key>BuiltIn</key> <dict> <key>Anthropic Claude</key> <true/> | <false/> <key>ChatGPT</key> <true/> | <false/> <key>Copilot</key> <true/> | <false/> <key>Google Gemini</key> <true/> | <false/> <key>HuggingChat</key> <true/> | <false/> <key>Mistral Vibe</key> <true/> | <false/> <key>localhost</key> <true/> | <false/> </dict> <key>Default</key> <string>Example AI</string> </dict> <key>Prompts</key> <dict> <key>Enabled</key> <true/> | <false/> <key>BuiltIn</key> <dict> <key>Summarize</key> <true/> | <false/> <key>Explain</key> <true/> | <false/> <key>Quiz</key> <true/> | <false/> <key>Proofread</key> <true/> | <false/> </dict> </dict> </dict></dict>Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise | |
|---|---|---|---|
AIChatbot | Not supported | Not supported | Available since 149 |
Providers.BuiltIn.Le Chat Mistral1 | Not supported | Not supported | Available from 149, removed in 155 |
Providers.BuiltIn.Mistral Vibe | Not supported | Not supported | Available since 161 |
- Has no effect since Firefox 155, when the provider was renamed. Use
Mistral Vibeinstead.
CCK2 Equivalent: N/A
Preferences Affected: browser.ml.chat.enabled, browser.ml.chat.provider, browser.ml.chat.providers, browser.ml.chat.shortcuts, browser.ml.chat.prompts.0, browser.ml.chat.prompts.1, browser.ml.chat.prompts.2, browser.ml.chat.prompts.3