> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oqoqo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# AI search experiments

> Ask ChatGPT, Gemini, Google AI Mode, and Copilot Search the questions people ask, grade each answer, and see who the answers name and cite.

Private beta

> [!NOTE]
>
> AI search experiments are in private beta. Email [support@oqoqo.ai](mailto:support@oqoqo.ai) to enable them for your organization.

An **AI search experiment** asks AI search engines the prompts that a person would ask, records each answer, and grades it with your criteria. Use it to learn whether the engines name your brand, link to your sites, and cite your competitors in your place.

You can ask four engines: **ChatGPT**, **Gemini**, **Google AI Mode**, and **Copilot Search**. Every engine answers signed out, as it answers a person with no account.

An AI search experiment uses the same [tasks](https://docs.oqoqo.ai/experiments/tasks.md), [Evals](https://docs.oqoqo.ai/evaluation/evals.md), [Insights](https://docs.oqoqo.ai/evaluation/insights.md), and runs as any other experiment. In place of agents and treatments, you choose the engines and where each one is asked from.

## How it works

```mermaid theme={null}
flowchart LR
  P["Brand<br/>your names and sites,<br/>and your competitors'"] --> R
  T["Tasks<br/>a prompt and its criteria"] --> X(("AI search<br/>experiment"))
  V["AI search engines<br/>each asked from a country"] --> X
  N["Trials<br/>repeats"] --> X
  X --> U["Runs<br/>one per prompt, engine, and trial"]
  U --> R["Results<br/>who is named and cited,<br/>by prompt, and what to fix"]
```

For example, 3 prompts × 2 engines × 1 trial launches **6 runs** from your organization's [run balance](https://docs.oqoqo.ai/setup/billing.md).

## Find AI search in the dashboard

Once AI search experiments are enabled for your organization, the dashboard adds these places:

| Place | What it holds |
| - | - |
| **New experiment → AI search engines** | The second kind of experiment, beside **Agents** |
| **Manage → AI search engines** | Every engine, with a switch that [turns it on or off](#turn-an-ai-search-engine-on-or-off) for the project, and a page for each engine |
| **Manage → Brand** | Your brand's names and sites, and your competitors' |
| **All experiments** | A **Kind** column, and a **Kind** filter that shows only **Agents** or only **AI search engines** experiments |
| **All runs** | The same **Kind** filter |

A list that holds both kinds of run, such as **All runs** or **All frictions**, has one **Agent** column. An engine's row shows its name, an **AI search** tag, and where it was asked from, such as "US".

## Turn an AI search engine on or off

**Manage → AI search engines** lists the engines the way **Manage → Agents** lists agents: you can search by name, filter by status, and switch each engine on or off. **New experiment** offers only the engines that are on, and a launch that names an engine that is off is refused. Turning an engine off keeps its runs.

![The AI search engines list with search, the Status filter, and four engines, each with its settings and its switch.](https://mintcdn.com/oqoqo/tposE8qWLd2F2qeu/images/screenshots/ai-search-engines-light.png?fit=max\&auto=format\&n=tposE8qWLd2F2qeu\&q=85\&s=6685bae0168bdd0f6e51c5817eb23142)

> [tab] Dashboard
>
> 1. Open **Manage → AI search engines**.
> 2. Turn an engine's switch on or off and select **Save changes**. You can also open the engine and switch **Use in new AI search experiments**, which saves at once.
>
> An engine's page has the tabs an agent's page has:
>
> | Tab | What it shows |
> | - | - |
> | **Overview** | The engine's **Status** (**Ready** or **Off**), the switch, its **Account** (**Signed out**), its **Web search** choices when it has any, and its **Countries**. **New AI search experiment** shows while the engine is on. |
> | **Experiments** | Every experiment that asked the engine |
> | **Runs** | Every run of the engine |
> | **Frictions** | The [frictions](https://docs.oqoqo.ai/evaluation/frictions.md) in those runs |

> [tab] CLI
>
> An engine is turned on or off by its key, as an agent is. Read the keys with `oqoqo answer-engines list` and the revision with `oqoqo project ai inspect --view agents`, then send `set_agents`:
>
> ```bash theme={null}
> oqoqo project ai apply --operation '{"action":"set_agents","expectedRevision":12,"agents":[{"key":"gemini","enabled":false}]}'
> ```
>
> The keys are `chatgpt`, `gemini`, `google-ai-mode`, and `copilot-search`. A `set_agents` operation that sets `enabled` for every agent leaves the engines as they are. See [`oqoqo answer-engines list`](https://docs.oqoqo.ai/cli/ai-search#oqoqo-answer-engines-list) and [`oqoqo project ai apply`](https://docs.oqoqo.ai/cli/agents-and-models#oqoqo-project-ai-apply).

> [tab] Plugin (MCP)
>
> Ask your AI assistant to turn an engine on or off. It calls **List the AI search engines a project can ask** ([`list_answer_engines`](https://docs.oqoqo.ai/mcp-server/ai-search#list_answer_engines)) for the engine's key, then **Create custom agents and change agents, models, and Oqoqo AI settings** ([`manage_project_ai`](https://docs.oqoqo.ai/mcp-server/agents-and-setup#manage_project_ai)) with the action `set_agents`.

## Add your brand and competitors

Your brand details tell Oqoqo which names and sites are yours and which belong to your competitors. Oqoqo uses them to mark each source and each name in an answer as yours, a competitor's, or other. Agents never see them.

![The Brand form with Brand name, Other names people use, Your sites, Name in plugin or app listings, and one competitor with its sites.](https://mintcdn.com/oqoqo/JgJB0Vo0appgZ0yW/images/screenshots/ai-search-brand-light.png?fit=max\&auto=format\&n=JgJB0Vo0appgZ0yW\&q=85\&s=d838ce08256b6b5e74a84c84ea758c3f)

> [tab] Dashboard
>
> 1. Open **Manage → Brand**. On **New experiment**, you can also select the value in the **Brand** row of the **Configuration** panel (**Add**, or your brand name), which opens the same form in a dialog.
> 2. Enter the **Brand name** as an answer would write it, and any **Other names people use**.
> 3. Under **Your sites**, list your sites, separated by commas. A site covers its subdomains, and you can paste full addresses.
> 4. Fill in **Name in plugin or app listings** only when a plugin or app listing calls your brand by a different name.
> 5. Under **Competitors**, select **Add a competitor** for each brand to tell apart from yours, up to 10, with its **Name**, **Other names**, and **Sites**.
> 6. Select **Save**.
>
> Until the project has brand details, the **Results** tab and a run's **Answer** tab show **Add your brand's names and sites**, which opens the same form.

> [tab] CLI
>
> ```bash theme={null}
> oqoqo brand set --name "Acme Search" --domain acme.example,docs.acme.example \
>   --competitors '[{"name":"Globex","domains":["globex.example"]}]'
> ```
>
> The command replaces all the details, so read them first with [`oqoqo brand get`](https://docs.oqoqo.ai/cli/ai-search#oqoqo-brand-get) and send back what should stay. Pass the `updatedAt` you read as `--expected-updated-at` to refuse the change if someone else saved first. See [`oqoqo brand set`](https://docs.oqoqo.ai/cli/ai-search#oqoqo-brand-set).

> [tab] Plugin (MCP)
>
> Ask your AI assistant to set your brand details. It calls **Get a project's brand details** ([`get_brand`](https://docs.oqoqo.ai/mcp-server/ai-search#get_brand)), then **Set a project's brand details** ([`set_brand`](https://docs.oqoqo.ai/mcp-server/ai-search#set_brand)).

Oqoqo marks old runs again each time it reads them, so new details apply to every run at once, and nothing reruns.

## Write prompts with criteria

A task in an AI search experiment is a prompt, written the way a person would ask it, with a [rubric](https://docs.oqoqo.ai/experiments/tasks.md) of yes/no criteria. For example:

| Prompt | Criteria |
| - | - |
| What tools can I use to test how well AI agents work with my developer product? | The answer names Oqoqo as one of the tools. The answer links to oqoqo.ai or docs.oqoqo.ai. |
| What is Oqoqo? | The answer says Oqoqo tests how AI agents work with a product. The answer cites oqoqo.ai or docs.oqoqo.ai as a source. |

On **New experiment** under **AI search engines**, enter the prompt in **Create a task**, select **Rubric** to add criteria, and select **Add task**. From the CLI or the plugin, write the task as you would any other ([Tasks](https://docs.oqoqo.ai/experiments/tasks.md)).

A task with files or a machine other than the **Standard Dev Machine** can't be used, because an AI search engine can't use them. The launcher doesn't offer such a task, and a launch or preflight that names one is refused with `launch_selection_invalid`.

## Launch an AI search experiment

Select the prompts on the left, and choose the engines and where to ask each one from in the **Configuration** panel.

![New experiment with two prompts selected, and the Configuration panel on AI search engines: 2 AI search engines, Brand, Trials 1, Max Concurrency 4, Evals, and Insights.](https://mintcdn.com/oqoqo/zLYaJE1Ygk-VfJQ3/images/screenshots/ai-search-launcher-light.png?fit=max\&auto=format\&n=zLYaJE1Ygk-VfJQ3\&q=85\&s=1eaf108fd50aa92e142bc609c9cce990)

What you can set depends on the engine:

| Engine | Country | US state | Web search |
| - | - | - | - |
| **ChatGPT** | Yes | Yes | **ChatGPT decides** or **On** |
| **Gemini** | Yes | Yes | No setting |
| **Google AI Mode** | Yes | No | No setting |
| **Copilot Search** | Yes | Yes | No setting |

The countries differ a little from engine to engine, and each engine lists its own.

> [tab] Dashboard
>
> 1. Select **New experiment**, then **AI search engines** at the top of the **Configuration** panel. **New AI search experiment** on **Manage → AI search engines** opens the same page.
> 2. Select the prompts to ask.
> 3. Open **AI search engines** in the **Configuration** panel and select each engine to ask. Under a selected engine, set how to ask it:
>    * **Country** is where the engine is asked from. For the United States, **US state** narrows it to one state, or **Any state**, where the engine offers states.
>    * **Web search**, for ChatGPT only, is **ChatGPT decides**, which lets ChatGPT search only when it chooses to, as it does for most people, or **On**, which makes it search for most prompts.
> 4. Set **Trials** and [**Max Concurrency**](https://docs.oqoqo.ai/experiments/launch.md#set-max-concurrency), and turn [**Evals**](https://docs.oqoqo.ai/evaluation/evals.md) and [**Insights**](https://docs.oqoqo.ai/evaluation/insights.md) on or off. Set **Max Concurrency** to `1` to ask one prompt at a time.
> 5. Select **Launch**. The footer shows the runs the experiment uses.
>
> Each engine you select is one column of results. An AI search experiment has no treatments, machines, or files.

> [tab] CLI
>
> Get the engine IDs, the settings each engine takes, and the configuration revisions with [`oqoqo answer-engines list`](https://docs.oqoqo.ai/cli/ai-search#oqoqo-answer-engines-list), then launch a plan with `"kind": "answers"`:
>
> ```json theme={null}
> {
>   "kind": "answers",
>   "label": "Do AI search engines name Acme Search?",
>   "selectedTaskDefinitionIds": ["tskver_3a91c7e2", "tskver_b5047d1e"],
>   "agentSelections": [
>     {
>       "projectAgentModelBindingId": "agm_4c8e1f20",
>       "answerSettings": { "country": "US", "webSearch": "on" }
>     },
>     {
>       "projectAgentModelBindingId": "agm_9d27b3a6",
>       "answerSettings": { "country": "US", "state": "CA" }
>     }
>   ],
>   "projectConfigurationRevision": 42,
>   "organizationConfigurationRevision": 17,
>   "trialCount": 2,
>   "evals": true,
>   "insights": true,
>   "launchAttemptId": "acme-answers-2026-11-20"
> }
> ```
>
> ```bash theme={null}
> oqoqo experiments launch --plan-file ./answers.json
> ```
>
> The plan states no `treatments` and no `referenceTreatmentClientId`. One engine asked two ways, such as from two countries, is two selections. See [Launch plan](https://docs.oqoqo.ai/cli/experiments.md#launch-plan) for every field.

> [tab] Plugin (MCP)
>
> Ask your AI assistant to launch an AI search experiment. It calls **List the AI search engines a project can ask** ([`list_answer_engines`](https://docs.oqoqo.ai/mcp-server/ai-search#list_answer_engines)) for the engine IDs and settings, then **Launch an experiment** ([`launch_experiment`](https://docs.oqoqo.ai/mcp-server/experiments#launch_experiment)) with a plan of kind `answers`. Turn on tool approval in your host for launches.

The dashboard, the CLI, and the plugin offer the same countries and US states for each engine, and a launch refuses any other. A launch also refuses a US state or a web search setting for an engine that doesn't take one.

## Read the Results tab

An AI search experiment opens on its **Results** tab, which has four blocks. Every count is out of the answers, which are the runs that finished, and reads like "3 of 4".

![Results tab of an AI search experiment with four blocks: Named and cited, Cited instead of you, By prompt, and What to fix first.](https://mintcdn.com/oqoqo/tposE8qWLd2F2qeu/images/screenshots/ai-search-results-light.png?fit=max\&auto=format\&n=tposE8qWLd2F2qeu\&q=85\&s=937ae3e13e1afd2dbdb29b85c6405bf4)

| Block | What it shows |
| - | - |
| **Named and cited** | Your brand, then each competitor, with the answers that name it (**Named**) and the answers that link to one of its sites (**Cited**). |
| **Cited instead of you** | The sites, not yours, that the most answers link to, with **Answers that link to it** and the site's **Best position** in an engine's source list. A competitor's site shows the competitor's name. **Show all N sites** opens the whole list, and **Searches the AI search engines reported** lists the searches. |
| **By prompt** | Each prompt with its **Named** and **Cited** counts, **Passed evals**, and the **First criterion most answers miss**. The prompts whose answers name your brand least come first. **Show each AI search engine** splits a prompt's counts by engine when the experiment asked more than one. Open a prompt to see its runs. |
| **What to fix first** | The [frictions](https://docs.oqoqo.ai/evaluation/frictions.md) Insights found in the most runs that you can fix in your product or your prompts, with **All frictions**. A friction in how an engine behaves is on the **Frictions** tab only. |

Until the project has brand details, **Named and cited** asks for them, **Cited instead of you** is titled **Sites the answers cite**, and **By prompt** shows an **Answers** count in place of **Named** and **Cited**.

While runs are still going, or when some did not finish, a line above the blocks says how many finished runs the counts cover.

The **Matrix**, **Frictions**, and **Runs** tabs work as in any experiment. The run list says **AI search engine** in place of **Agent** and has no **Treatment**, **Treatment use**, **Tokens**, or **Cost** column, because an AI search engine run has none of them. An AI search experiment has no [Comparisons](https://docs.oqoqo.ai/evaluation/comparisons.md), because it has no treatments to compare.

> [tab] Dashboard
>
> Open the experiment from **All experiments**, where **Kind** → **AI search engines** lists only AI search experiments. It opens on **Results**.

> [tab] CLI
>
> ```bash theme={null}
> oqoqo experiments answers exp_6c2f9d41 --output json
> ```
>
> The result has the four short lists. Add `--section sites`, `--section prompts`, or `--section queries` to page through a whole list. List the project's AI search experiments with [`oqoqo experiments list --kind answers`](https://docs.oqoqo.ai/cli/experiments#oqoqo-experiments-list). See [`oqoqo experiments answers`](https://docs.oqoqo.ai/cli/experiments#oqoqo-experiments-answers) for every field.

> [tab] Plugin (MCP)
>
> Ask your AI assistant who the answers name and cite. It calls **Get an AI search experiment's results** ([`get_answer_results`](https://docs.oqoqo.ai/mcp-server/ai-search#get_answer_results)). To find the experiments, it calls **List experiments** ([`list_experiments`](https://docs.oqoqo.ai/mcp-server/experiments#list_experiments)) with `kind` `answers`.

## Read the Answer tab

A run of an AI search experiment has three tabs, **Answer**, **Evals**, and **Frictions**, and opens on **Answer**. It has no **Traces** tab. Open a run from a prompt in **By prompt** or from the **Runs** tab.

![A run's Answer tab with the tabs Answer, Evals, and Frictions, the answer with Oqoqo marked as your brand, and what ChatGPT reported for the run.](https://mintcdn.com/oqoqo/tposE8qWLd2F2qeu/images/screenshots/ai-search-run-answer-light.png?fit=max\&auto=format\&n=tposE8qWLd2F2qeu\&q=85\&s=35271e90d1fb2dcae4cf91a3d24becbf)

| Part | What it shows |
| - | - |
| The answer | The engine's answer, with your brand and each competitor marked. |
| **Sources** | **Linked in the answer** lists the sources the answer links to. **Also read** lists the sources the engine read and did not link. Your sites are marked **Yours**. |
| **Searches** | The searches the engine says it made. It shows only when the engine reports them. |
| **The page it showed** | A saved copy of the page as the engine showed it. Its buttons do nothing, and **Open the page in a new tab** opens it by itself. |

The rail's **What ChatGPT reported**, named after the run's engine, lists the **Model** when the engine named one, the **Sources**, how many are **Linked**, the **Searches** when it reported any, and the **Page** when one was saved.

![The page it showed: a saved copy of the ChatGPT page with the question What is Oqoqo and its answer.](https://mintcdn.com/oqoqo/JgJB0Vo0appgZ0yW/images/screenshots/ai-search-saved-page-light.png?fit=max\&auto=format\&n=JgJB0Vo0appgZ0yW\&q=85\&s=7c4ba37e6b1975ca7078a3973c1c3169)

The **Evals** tab shows each criterion's verdict, as for any run ([Evals](https://docs.oqoqo.ai/evaluation/evals.md)). Evals read the answer, its sources, and its searches. The **Frictions** tab lists the frictions that occurred in this run, as it does for [every run](https://docs.oqoqo.ai/evaluation/traces.md#frictions).

> [tab] Dashboard
>
> Open the run and select **Answer**.

> [tab] CLI
>
> ```bash theme={null}
> oqoqo runs answer run_8e41c0d2 --output json
> ```
>
> See [`oqoqo runs answer`](https://docs.oqoqo.ai/cli/runs#oqoqo-runs-answer).

> [tab] Plugin (MCP)
>
> Ask your AI assistant what an engine answered in a run. It calls **Get an AI search engine run's answer** ([`get_run_answer`](https://docs.oqoqo.ai/mcp-server/ai-search#get_run_answer)).

## Share results

Share an AI search experiment with your teammates by its link. You can't publish it at a [public link](https://docs.oqoqo.ai/evaluation/share.md): the dashboard offers only the teammate link, and the CLI and the plugin refuse with `publication_unavailable_for_answers`.

## Read results with care

* **Answers change from run to run.** An engine can answer the same prompt differently each time, so read a count from fewer than 5 answers as a hint. Add trials before you draw a conclusion.
* **A citation is a link in the answer.** A source that the engine read and did not link is under **Also read**, and no count treats it as cited.
* **Most engines don't report their searches.** A run with no **Searches** list doesn't mean the engine didn't search.
* **A source is yours only from your sites.** A listing or profile on another site that names your brand is marked as other. The same rule applies to a competitor's sources.

## Next steps

> [card] [Tasks](https://docs.oqoqo.ai/experiments/tasks.md)
>
> Write prompts and their rubrics.

> [card] [Evals](https://docs.oqoqo.ai/evaluation/evals.md)
>
> See how criteria are judged.

> [card] [Frictions](https://docs.oqoqo.ai/evaluation/frictions.md)
>
> Read what Insights found in the answers.

> [card] [AI search tools](https://docs.oqoqo.ai/mcp-server/ai-search.md)
>
> The plugin's AI search tools and their fields.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.