Skip to content

The seven retrieval paths

Every interaction between a coding agent and your content travels one of seven paths, plus a zeroth path that never leaves the repository. They differ in who sends the request, and when it was sent, and which version of your content it sees, and what can block it. I think most of the confusion about “AI traffic” comes from treating all of these as one thing, so this page pulls them apart.

Seven paths by timing: what is read live versus from an earlier copyCopied earlierRead during the task1 · Training memorymonths old2 · Search indexdays to weeks old6 · Doc index (MCP)refresh by popularity5 · Registry / GitHubas of last publish3 · Local fetchlive, from dev IP4 · Vendor fetchlive or cached7 · Headless browserlive, JS executed5 · Shell curl to youlive, generic UAsearch then fetchREADME links out
Seven paths by timing: what is read live versus from an earlier copyCopied earlierRead during the task1 · Training memorymonths old2 · Search indexdays to weeks old6 · Doc index (MCP)refresh by popularity5 · Registry / GitHubas of last publish3 · Local fetchlive, from dev IP4 · Vendor fetchlive or cached7 · Headless browserlive, JS executed5 · Shell curl to youlive, generic UAab
  1. 2 · Search index → 3 · Local fetchsearch then fetch
  2. 5 · Registry / GitHub → 5 · Shell curl to youREADME links out
“Copied earlier” holds copies made before the developer asked anything, and “Read during the task” holds requests made while the agent works. Only the second group shows up in your logs at task time.

Before an agent looks anywhere else it reads the project: package.json, lockfiles, existing imports, AGENTS.md or CLAUDE.md, and README files. If your package is already a dependency, the agent will usually extend its use rather than search for alternatives, and if a competitor is already there, you’re unlikely to be considered at all. This path sends no request and is invisible to every analytics tool, yet it decides a large share of choices. It’s also the one path where a project’s own instruction files can name a preferred library outright.

The model answers from its weights, so no request is made and nothing is logged, and the content reflects whatever was crawled before the model’s cutoff (often a year or more earlier). Training crawlers such as ClaudeBot, GPTBot and Google’s crawl under the Google-Extended token feed this path (Anthropic, OpenAI, Google) documented. That’s why blocking those crawlers today shapes which models know you in a year.

The agent calls a search tool that runs in the vendor’s cloud against a pre-built index: Brave for Claude Code, Google for Gemini CLI, an OpenAI index for Codex, Exa or Parallel for OpenCode, Bing for Copilot. The model receives titles, URLs and snippets, and sometimes synthesised text with citations. Your server sees nothing at query time, so what matters is whether that index’s crawler visited you earlier and how it ranks you for a machine-written query. Details per backend are on search backends.

The agent’s own HTTP client fetches a URL from the developer’s machine, converts the HTML, and often summarises it. Claude Code’s WebFetch, OpenCode’s webfetch, Qwen Code’s web_fetch, Copilot CLI’s web_fetch, Cline’s fetch_web_content and Crush’s fetch work this way verified in code. This is the path you’ll actually see in your logs, with an agent-specific user agent, from residential or office IPs, and usually without JavaScript.

Here the agent asks its vendor to fetch the page instead of doing it locally. Gemini CLI’s web_fetch uses the Gemini API’s URL Context tool, which reads from Google’s cache or fetches live from Google IP space; we observed two such requests from different Google addresses for one tool call measured in our lab. Codex’s optional web.run tool and Amp’s read_web_page are also server-side. These requests come from data-centre IPs that you can verify against published ranges. The catch is that they can fail silently when the vendor’s fetcher is blocked or the page isn’t in its cache, which is exactly what happened to Codex in our lab.

Agents run curl, wget, ad-hoc Python, npm view, pip index, gh repo view, or git clone. Requests to registries and GitHub never reach your origin, and requests to your site arrive with generic user agents such as curl/8.7.1 or Python-urllib/3.14, which makes them indistinguishable from any other script. Pi, which ships no web tools at all, does everything this way. In practice this path rewards packages whose README and metadata answer the question without a second hop. See npm and registries and GitHub as a front door.

The agent queries a documentation service through the Model Context Protocol: Context7, DeepWiki, GitMCP, Ref, Exa’s code search or Firecrawl’s developer index. These services index GitHub repositories and docs sites on their own schedule, so your docs reach the model through a third party’s copy and chunking. The good news is that getting into them is mostly a matter of submitting your repository and keeping a config file current, which doc MCP servers walks through.

The agent drives a real browser through Puppeteer, Playwright or a browser MCP server. Aider with Playwright installed, Cline’s legacy URL path, Playwright MCP and desktop browser panes render JavaScript and see the page as a person would, but they’re slow and used less often. Their requests look like ordinary Chrome traffic, sometimes with Headless removed from the user agent, which makes them the hardest of all to attribute.

Real tasks chain these paths together. A typical Claude Code run searches Brave (path 2), fetches the top result locally (path 3), and then runs npm install (path 5), while a Gemini CLI run may get a grounded answer (path 2) and never fetch anything. The test catalog isolates each path so you can tell which one is failing, and the table below is the short version of this page.

Path Request reaches you during the task? Typical identity Sees JavaScript? Main blocker
0 Repository No — — Competitor already installed
1 Training memory No — — Cutoff date, blocked training crawlers
2 Search index No (crawler visited earlier) Index crawler Varies by crawler Not indexed in that backend
3 Local fetch Yes Agent UA, dev IP No WAF and bot rules, JS-only pages
4 Vendor fetch Yes, or served from cache Vendor UA, vendor IP Rarely Vendor fetcher blocked, cache miss
5 Shell / registry Sometimes curl, python, registry No Missing README info, generic-UA blocks
6 Doc index No Indexer No Not submitted, stale refresh
7 Headless browser Yes Chrome Yes Bot challenges, CAPTCHAs

Last reviewed 2026-12-02. This site is re-reviewed monthly; see maintenance.