This repository stores and manages system prompts and generation configurations for Firefox's AI Window features using Remote Settings.
Data in this repo should be viewed as the main source of truth.
ai-window-remote-settings-prompts/
└── prompts/
├── <major_version_number>
├── <feature_1>/
├── <model_1>.md
├── <model_1>.json
...
├── <feature_2>/
├── <model_1>.md
├── <model_1>.json
...
...
Prompts are organized using the pattern: prompts/<feature>/<model>.{json,md}.
Each prompt option consists of two files:
.jsonfile: containsmetadataand generationparameters.mdfile: contains the actual system prompt text in markdown format
Folder:
prompts/
chat/
v1/
├── gemini2.5-flash-lite.json
├── gemini2.5-flash-lite.md
├── gpt-oss-120b.json
├── gpt-oss-120b.md
├── qwen3-235b-a22b-instruct-2507-maas.json
├── qwen3-235b-a22b-instruct-2507-maas.md
...
...
model_name.json:
{
"feature": "chat",
"version": "1.0", # <major_version>.<minor_minor>
"model": "qwen3-235b-a22b-instruct-2507-maas",
"is_default": true,
"parameters": {
"temperature": 1.0
},
}model_name.md:
You are a helpful assistant ...
This section lists important rules to follow when updating PROD remote settings to ensure the correctness of the data in the remote.
- Major version: Increment the major version when making significant changes to prompt content or functionality that would break compatibility with the current version or require code changes.
- Minor version: Increment the minor version for minor prompt tuning and parameter updates that don't significantly impact the prompt's purpose or require code changes.
- Remote settings must contain the LATEST minor version for EACH combination of major version, feature, and model.
- When incrementing a new major version, create a new version directory along with a new record (e.g., v1.x -> v2.0 creates a new directory and record while keeping v1.x). This is necessary to maintain support for previous versions. All breaking features (e.g. the addition of new tools) should get a new major version number.
- When incrementing a new minor version, edit the existing record (e.g., v1.0 -> v1.1 updates the same record).
- Only keep the latest minor version for each major version to avoid accumulating unnecessary historical data and reducing network transfer overhead.
- For major version increments, first update remote settings with the new major version, then update the local config's major version reference and fallback prompts in MC to match.
- For each feature & major version combination, only one model should be set as default (
is_default === true).
Please refer to the following table for the owners of each prompt and config.
| Feature | Owners |
|---|---|
| chat | Tom Zhang, Mohan Zhang |
| conversation-suggestions-assistant-limitations | Molly Shillabeer |
| conversation-suggestions-followup | Molly Shillabeer |
| conversation-suggestions-memories | Molly Shillabeer |
| conversation-suggestions-sidebar-starter | Molly Shillabeer |
| title-generation | Mohan Zhang |
| memories | Chris DiPersio, Chidam Gopal |
Updates to remote-settings itself will occur via an hourly cronjob running the code in the remote-settings-ai-window-prompts-updater repository.