Repository navigation
08 How Major Assistants Search
A side-by-side look at how ChatGPT/OpenAI, Claude/Anthropic, DeepSeek, Gemini and Perplexity expose web search — based on each vendor's own documentation. Product details change quickly; always check the linked docs.
All of them follow the loop in Figure 7.1: the model decides whether to search, issues queries to a server-side tool, reads results (snippets and sometimes full pages), and answers with citations. Differences lie in control surface, depth modes, and what the developer can steer.
- Web search is a tool in the Responses API; the model may or may not call it depending on the prompt. Three modes are documented: non-reasoning search, agentic search with a reasoning model, and deep research (OpenAI docs).
- Deep research is described as an agent-driven mode where the model searches as part of its chain of thought, often drawing on hundreds of sources, and may run for minutes (use background mode) (same docs; product intro: Introducing deep research).
- Chat Completions search models always search before replying, whereas the Responses tool lets the model decide (docs).
- Action types exposed in outputs include
search, and for deep researchopen_pageandfind_in_page(Azure OpenAI how-to).
- A server-side
web_searchtool gives Claude real-time web content with cited sources; Claude decides when to search from the prompt, and developers can cap searches withmax_uses, set domain allow/block lists and a user location (Claude docs). - Newer tool versions add dynamic filtering: Claude writes and runs code to filter results before they reach the context window (same docs).
- Research architecture: multi-agent research system. Tool integration standard: MCP.
- The API documents
deepseek_web_searchanddeepseek_read_urlserver-side tools. With thinking disabled, the model searches when needed and cites results; with thinking enabled it performs deep thinking search across steps — search, open pages, find text in pages (DeepSeek web tools). - A November 2026 announcement says the capabilities behind the DeepSeek App (search, file input, links) are now available through the API, with tool usage fees on top of tokens (news).
- Reasoning-trace + tool use ("thinking with tools") appeared in the open-weights DeepSeek-V3.2 chat-template changes; the dedicated developer role there is described as reserved for search-agent scenarios.
- Grounding with Google Search connects Gemini to real-time web content and returns grounding metadata with citations.
- An answer engine built around search plus citations; developers can use its Sonar API. Cloudflare has publicly accused Perplexity of using undeclared crawlers to evade no-crawl directives — a claim made by Cloudflare, discussed in 16.
| Capability | OpenAI | Anthropic | DeepSeek | Gemini | Perplexity |
|---|---|---|---|---|---|
| Model-decides-when-to-search | Yes (Responses tool) | Yes | Yes (non-thinking mode) | Yes | Search-centred |
| Citations returned | Yes | Yes | Yes | Yes (grounding metadata) | Yes |
| Page open / read | Deep research (open_page, find_in_page) |
web_fetch-style tooling alongside search |
deepseek_read_url, open/find in thinking mode |
URL context tooling | Via product |
| Multi-step "deep" mode | Deep research | Research / multi-agent patterns | Deep thinking search | Deep Research in app | Deep research modes |
| Cap / control knobs | Filters, context size, background mode |
max_uses, domain lists, location |
Server-side; tool fees | Config in grounding tool | API params |
| Programmatic result filtering | – | Dynamic filtering via code execution | – | – | – |
Cells reflect documentation reviewed for this wiki; "–" means not found in the reviewed docs, not necessarily absent.
Server-side tools mean the fetching happens from the vendor's infrastructure, with the vendor's user agent — which site owners can see and control (see 15–16). Cloudflare also notes that when it blocked a stealth crawler the answer engine fell back to other data sources (Cloudflare).
Search tools give: (1) freshness, (2) citable provenance, (3) long-tail coverage, (4) controllable scope (domains, locations). They cost latency, money (per-search tool fees — e.g. DeepSeek and OpenAI both document tool pricing) and add attack surface (10). See the cost model in 6.3.
Q1. What is "dynamic filtering" and why does it matter?
The model runs code to filter search results before they enter the context window, saving tokens and reducing distraction (Claude docs).
Q2. Why do vendors expose max_uses-style limits?
Each search costs money and latency, and agentic loops can run away. A cap bounds the worst case.
Q3. Who actually requests the target website when a hosted assistant searches?
The vendor's infrastructure (server-side tool), identifiable — when it behaves — by its declared user agent and IP ranges.
Q4. Why treat vendor comparison tables with caution?
They are based on documentation snapshots; features, model names and pricing change frequently.
← Prev 7. History · Next → 9. Search APIs for Agents
Web Search Engine Pipeline Wiki · evidence snapshot 29 Nov 2026 · measured results are from the project's GitHub Actions runs; third-party figures are cited inline and listed in References.
Part I · Mission
Part II · Search Ecosystem
Part III · LLMs Meet the Web
- 6. Parametric vs Retrieved Knowledge
- 7. Agentic Search Architecture History
- 8. How Major Assistants Search
- 9. Search APIs for Agents
- 10. Agentic Browsing & Computer Use
Part IV · Simulation Lab
- 11. Simulation Strategy on GitHub Actions
- 12. Experiments & Measured Results
- 13. Reliability & Failure Taxonomy
- 14. Simulation vs Real Infrastructure
Part V · The Machine-Majority Web
- 15. Bot Traffic & AI Crawlers
- 16. Detection, Blocking & Monetisation
- 17. Detection Gaps
- 18. AI-Generated Content & the Info Ecosystem
- 19. Industry Adoption & Use Cases
Part VI · Future
Appendix