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

# Deep Research

> Scope for GAIA writing accurate, cited research reports out of the box, and how it is measured

# Deep Research — Scope

> [!NOTE]
>
> **Status:** Shipped: the [`research` task suite](https://amd-gaia.ai/docs/reference/eval#research-suite), research mode in both apps (`/research` and the Agent UI's Research switch), and a stricter `research-report` skill. Research turns check their citations before answering. Search reliability is open.

## What a user expects

A user who asks "research X and write me a report" expects the agent to do what a careful analyst would:

1. Break the question into the parts it really asks.
2. Search each part, more than once if the first results are thin.
3. Read the best sources in full, preferring primary ones (the organisation itself, the paper, the court record, the regulation) over aggregators.
4. Notice where sources disagree or have gone stale, and say so.
5. Write a report a reader can use: the answer up front, a section per part, and every factual claim linked to the page it came from.

The last property is the one that matters most. A report whose links look right but back nothing is worse than no report, because the reader trusts it.

## What GAIA has today

| Piece | What it does |
| - | - |
| `search_web` | DuckDuckGo search, paced and backed off when DuckDuckGo rate-limits; answered by the Tavily connector instead when the user has set one up |
| `fetch_page` | Reads a page as text in windows (`offset`), or only the passages that mention a word (`find`); refuses private and blocked hosts |
| `research-report` skill | The procedure above: decompose, search each part, read before citing, cite inline, say what could not be confirmed |
| Skill suggestions | A research request matches `research-report`, and the agent is told it exists; the model decides whether to load it |
| Research mode | `/research <topic>` (both apps, and `gaia -p`) or the Agent UI's Research switch loads the skill and frames the turn, so the user, not the model, decides it is research |
| `index_document` / `query_documents` | Keep fetched pages for follow-up questions |

Before this work the pieces existed, but whether a user got a good report depended on whether the model loaded the skill, whether search answered, and whether the model kept its citations honest. Nothing checked the last one.

## What it takes to support it out of the box

### 1. Measure it — done

The `research` suite in `gaia eval tasks` gives the agent five research questions, each with an answer key researched by hand from primary sources: the points a correct report must make, the false claims it must not, a reference report, and the date the key was checked.

A report fails before any model reads it when it:

* cites a URL that appears nowhere in its tool record;
* cites a page it only saw in a search result;
* or reads too few sources.

Then a judge decides whether it is correct, accurate and supported, and scores coverage, readability and citation quality. The same suite runs against any model and against a reference agent, so the gap between them is visible per topic. See [the eval reference](https://amd-gaia.ai/docs/reference/eval.md#research-suite).

### 2. Let the user ask for research — done

A research switch makes the choice explicit instead of leaving it to skill matching:

* **Agent UI:** a **Research** chip beside the message box. While it is on, each message is sent as `/research <message>`, and the box asks "What should GAIA research?". It is kept per chat: turned on before a new chat's first message, it stays on in the chat that starts, and other chats are not affected.
* **TUI:** `/research <topic>` researches one message; a bare `/research` switches research mode on for every message until `/research` or `/clear`, shown as `research` in the header. Offered only on the flagship agent.
* **The agent does the rest**, so the apps cannot drift apart. A message that starts with `/research` loads `research-report`, keeps its instructions in the prompt for the turn (the per-turn skill selector cannot collapse them), and adds a research brief to the turn's context: answer first, every claim cited to a page fetched this conversation, a check for newer developments, a Sources list. The topic itself is the user's message, so memory and history keep what the user asked, not the brief. It still works when the app puts a note before the message (the Agent UI adds one naming the chat's folder). An agent without web tools refuses by name.

### 3. Make the procedure reliable — done for the skill

The first runs of the suite showed where reports go wrong, even on a capable model:

* **The report went to a file.** The agent saved a fully cited report and replied with an uncited summary, so the reader in the chat got no sources.
* **Stale status.** A report built on an encyclopedia page stopped years before the latest rulings and reported an old outcome as current.
* **Secondary sources only.** Encyclopedias stood in for the primary sources they cite.
* **Reading pages in small windows.** A long page read 5,000 characters at a time cost a step per window and filled the context.

The `research-report` skill (1.1.0) now addresses each: the whole cited report goes in the reply; anything that can change gets a search for developments since the newest source, reported with its date; encyclopedias are a map to primary sources; long pages are read with `find`; and the report ends with a Sources list. It also says what to do when search is refused (below).

#### What the runs showed across model tiers

The suite was run on a hosted DeepSeek model, Qwen3.6-35B-A3B and Gemma-4-E4B, each plain and in research mode, and on a frontier reference agent with its own web tools:

* **The hosted mid-tier model passes most topics,** with every citation fetched; research mode reached the same result in fewer steps and tokens.
* **Qwen3.6 writes readable reports with factual slips:** figures that are not in the page it cites, and now and then a page it never opened.
* **Gemma-4-E4B barely researches on its own,** answering from one page or none. Research mode makes it search, but it then cites search results it never read and alters links into ones that do not exist (a `crispr-cas9` path rewritten as `crispr_cas9`).
* **The reference agent writes the most complete reports but cites pages it only saw as search results,** so it fails the fetch-before-citing rule too. The rule is deliberate: a search snippet is not the page.

Refused searches hit every tier on this network, the local models hardest, so their results also measure how they cope without search.

### 4. Keep search answering

A deep report needs a dozen or more searches, which is exactly where DuckDuckGo starts refusing automated queries. In the suite's runs it refused every search of a whole task more than once; the agent then fetched the pages it knew by address and said search was down, which is the right fallback but caps how far a report can reach. GAIA already paces searches, backs off, and tells the model how long to wait; it falls back to Tavily only when the user configured it. For research to work out of the box on any PC, the remaining options are:

* a second keyless search backend tried before giving up;
* or making the Tavily connector part of first-run setup, with the trade-off stated.

Either is a product decision, not a code fix, and is tracked separately.

### 5. Check citations at run time — done

A research turn now checks its own report before the user sees it, with the same code the suite grades with (`gaia.web.citations`). Every cited link is compared with the conversation's `search_web` and `fetch_page` results, and with any file `download_file` saved that was then read (how a PDF is read). A link the agent only saw in a search result, or one that matches nothing it read (the retyped `crispr_cas9` link above), goes back to the model once, with the links named, to fetch or drop. Anything still unbacked after that is listed under the report, so the reader knows which links to doubt.

In the suite, Qwen3.6's reports in research mode then cited only pages it had fetched; on one topic the check caught a link the model had broken with a stray bracket, and the model fixed every instance. What the check cannot fix is search: with every search refused, Gemma-4-E4B had nothing to read and cited nothing, which is why section 4 still matters most for small models.

It runs only on research turns and adds nothing to the system prompt, so ordinary turns and the prompt every model sees are unchanged. The base agent's `answer_problems` hook carries it, so other agents can add checks of their own.

## Non-goals

* A separate research agent. Research is a skill on the flagship, like every other task.
* Browser automation for research. Pages behind a login are out of scope here; see [Browser Use](https://amd-gaia.ai/docs/plans/browser-use.md).
* Gating releases on the suite. It reads the live web, so its results move with search engines and pages; it is a measuring tool, run on demand.


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