Cline, Roo Code and Kilo Code
Cline, Roo Code and Kilo Code come from the same family tree, but these days each one reaches the web in its own way. Cline’s current SDK-based tool, fetch_web_content, sends one plain HTTP GET from the developer’s machine with the generic UA Mozilla/5.0 (compatible; AgentBot/1.0) and never runs JavaScript. Cline’s older @url mention path, on the other hand, still launches headless Chrome, renders the page fully and looks like a Mac Chrome 128 visit. Roo Code removed its browser and has no built-in web tool at all, and Kilo Code has been rebuilt on OpenCode, so it fetches with OpenCode’s Chrome 143 disguise and searches through Exa or Parallel. In practice that means a site owner can see anything from a single bare request to a full browser page load with analytics firing, depending on which of these tools ran.
At a glance
Section titled “At a glance”Cline v4 fetch_web_content |
Cline @url / legacy web_fetch |
Roo Code (main) |
Kilo Code webfetch |
|
|---|---|---|---|---|
| Search tool | web_search: model provider’s native search, or Cline API |
Cline backend (legacy) | None (MCP only) | websearch via Exa, Parallel or Kilo’s Exa proxy |
| Who issues the request | Developer machine | Developer machine (local Chrome) | n/a | Developer machine |
| User-Agent | Mozilla/5.0 (compatible; AgentBot/1.0) |
Chrome/128 on macOS | n/a | Chrome/143 on Windows, kilo on Cloudflare retry |
| Accept header | text/html,application/xhtml+xml,application/xml;q=0.9,text/plain;q=0.8,*/*;q=0.7 |
Chrome’s own | n/a | Markdown-first q-list by default |
| JS rendering | No | Yes (networkidle2, 10 s) |
n/a | No |
| Content conversion | Regex tag strip to text, no markdown | cheerio strip, then turndown | n/a | turndown |
| Size and truncation | 5,000,000-byte read cap, first 50,000 characters | None | n/a | 5 MB |
| Caching | None found | None found | n/a | None found |
| robots.txt | Not checked | Not checked | n/a | Not checked |
| Permission model | Per-tool policy, auto-approve available, no domain list | Mention is user-initiated | n/a | ctx.ask per URL |
How fetching works in Cline
Section titled “How fetching works in Cline”Cline was rewritten around an SDK, and the fetch executor in sdk/packages/core/src/extensions/tools/executors/web-fetch.ts uses native fetch in the user’s process, which means the request comes from the developer’s IP verified in code. The tool takes a batch of {url, prompt} requests and runs them in parallel. Each request carries User-Agent: Mozilla/5.0 (compatible; AgentBot/1.0), an HTML-first Accept header and Accept-Language: en-US,en;q=0.9, and it sends no Referer and no Sec-Fetch-* headers. Redirects are followed, only http and https are allowed, and the timeout is 30 s.
I’d call Cline v4’s conversion the crudest of any agent we cover on this site. A regex htmlToText function drops script and style elements and comments, turns block tags into newlines, strips every other tag and decodes a handful of entities. There’s no markdown and no readability pass, so navigation, footers and cookie banners all survive as plain text verified in code. The body read aborts above 5,000,000 bytes, and the output is cut to the first 50,000 characters with a truncation note. By the way, the prompt isn’t run through a second model: the executor simply appends it under an “Analysis Request” heading, so the calling model does the extraction itself.
description: "Fetch content from URLs and analyze them using the provided prompts.Use for retrieving documentation, API references, or any web content.Each request includes a URL and a prompt..."Tool description from definitions.ts, trimmed.
The AgentBot/1.0 string is the SDK default, and we found no override in the VS Code app, but I want to be upfront that we haven’t confirmed what the packaged extension sends at runtime inferred. Cline’s VS Code UI also fetches link previews whenever a URL renders in the chat, using Mozilla/5.0 (compatible; VSCodeExtension/1.0; +https://cline.bot) with a 5 s timeout and open-graph-scraper (link-preview.ts). That request fires when the link renders, not when the model decides to fetch, so it can show up in your logs even when the model never reads the page verified in code.
The headless Chrome path: JS rendering
Section titled “The headless Chrome path: JS rendering”Cline’s @url mention and the v3 web_fetch tool take a completely different route, through UrlContentFetcher, which still exists on main in apps/vscode/src/services/browser/UrlContentFetcher.ts verified in code. It launches Chrome through puppeteer-core with a Mac Chrome 128 User-Agent, navigates with waitUntil: ["domcontentloaded", "networkidle2"] and a 10 s timeout, removes script, style, nav, footer and header with cheerio, and converts what’s left to markdown with turndown. Because this is a real browser, the page’s JavaScript runs, and CSS, images and XHR requests all load, so your client-side analytics will count the visit.
Cline @url mention: a full headless Chrome page load
- Developer→Cline + Chrome
@https://docs.example.com/page - Cline + Chrome
launch headless Chrome - Cline + Chrome→Your site
GET pageUA: Chrome/128 macOS
- Your site→Cline + Chrome
HTML - Cline + Chrome→Your site
GET JS, CSS, XHR, beacons - Cline + Chrome
wait networkidle2 (max 10 s) - Cline + Chrome
strip nav/header/footer - Cline + Chrome
turndown to markdown
If you’re testing a JavaScript-rendered site, I think the contrast with fetch_web_content is the most useful thing on this page. A single-page app with an empty <div id="root"> returns content through Cline’s @url path and nearly nothing through fetch_web_content inferred. It cuts the other way for landmarks, too: content inside nav, header or footer elements is invisible on the headless path and visible (as noise) on the plain one. Cline’s browser_action tool uses the same Chrome 128 UA in headless: "shell" mode, or connects to a remote Chrome. The v3 tool description told the model to prefer an MCP-provided fetch tool when one is available, which is the same instruction OpenCode gives.
How searching works in Cline
Section titled “How searching works in Cline”Cline’s web_search isn’t a scraper at all. The catalog entry reads “Search the public web using the selected model provider’s native search capability”, and the SDK maps it to Anthropic’s webSearch_20250305, OpenAI’s web search tool, or Google and Vertex googleSearch (runtime.ts) verified in code. It’s enabled only when the provider supports it and the user toggle is on. So the search engine that matters is the model vendor’s (for example, Brave behind Claude), and there’s more on that in search backends.
On the Cline provider itself, the client tool cline.web_search posts {query, allowed_domains | blocked_domains} with the user’s bearer token to /search/websearch on Cline’s API and expects titles and URLs back. Which engine sits behind that endpoint isn’t visible in the client code, so we can’t tell you.
- Cline v4 → Model / Cline API
search - Cline v4 → docs.example.com
GET, AgentBot/1.0 - Cline @url → docs.example.com
full page load - Kilo Code → Exa / Parallel
search - Kilo Code → docs.example.com
GET, markdown-first
Roo Code
Section titled “Roo Code”Roo Code, a Cline fork, has no built-in web fetch or browser tool on main. PR 11392, merged 2026-02-12, removed the Puppeteer-based browser automation entirely and points users who need it to Playwright MCP verified in code. Roo’s mention handler now turns http mentions into quoted text without fetching anything. Before the removal (v3.28.0), Roo matched Cline v3, with puppeteer-core, a Chrome 128 UA, a 30 s timeout and turndown. These days, Roo Code users reach your site only through MCP servers they install or shell commands the model writes.
Kilo Code
Section titled “Kilo Code”Kilo Code’s current product is built on OpenCode, in packages/opencode/src/tool/ of the kilocode repository, while the Cline-lineage extension lives on in a separate kilocode-legacy repository verified in code. Its webfetch is OpenCode v1’s, with a Chrome 143 Windows UA, Accept-Language: en-US,en;q=0.9, a format-dependent Accept that’s markdown-first by default, a 5 MB limit, turndown conversion, and a single retry on a Cloudflare challenge. The one visible difference is the honest fallback UA, which is kilo instead of opencode. The tool description also keeps OpenCode’s instruction to prefer a better fetch tool when one is present. The OpenCode page has the full mechanics if you want the nitty gritty.
Kilo’s websearch follows OpenCode too, with a few extra knobs verified in code. It exposes numResults (default 8, max 10), livecrawl (fallback or preferred), type (auto, fast or deep) and contextMaxCharacters, and it routes to Exa, Parallel, or a Kilo-hosted Exa proxy for signed-in users, splitting 50/50 by session when no flag is set. The description carries the same “You MUST use this year” instruction. It’s on for the Kilo provider and opencode-go, and otherwise needs KILO_ENABLE_EXA or KILO_ENABLE_PARALLEL (Kilo docs) documented. Kilo also offers an optional Playwright MCP server for browser automation.
What shows up in your logs
Section titled “What shows up in your logs”| Action | Source | User-Agent | Distinguishing signals |
|---|---|---|---|
Cline v4 fetch_web_content |
Developer IP | Mozilla/5.0 (compatible; AgentBot/1.0) |
One GET, no sub-resources, HTML-first Accept, no Sec-Fetch-* |
| Cline link preview | Developer IP | Mozilla/5.0 (compatible; VSCodeExtension/1.0; +https://cline.bot) |
Fires when a URL renders in chat |
Cline @url or browser_action |
Developer IP | Chrome/128 on macOS | Full page load with JS, CSS, images and analytics beacons |
Cline web_search |
Model vendor’s or Cline’s infrastructure | Vendor’s | Your site is not contacted by the search itself |
Kilo webfetch |
Developer IP | Chrome/143 on Windows, then kilo after a challenge |
Markdown-first Accept |
Kilo websearch |
None, or Exa’s crawler with livecrawl |
Exa’s | Search provider’s index |
What this means for discoverability
Section titled “What this means for discoverability”Server-rendered HTML is what reaches Cline’s default fetch, Kilo, and Roo’s MCP-based setups. Only Cline’s @url and browser paths render JavaScript, so a client-rendered docs site is readable by Cline only when the developer explicitly mentions the URL inferred. Cline v4’s 50,000-character cut and its lack of boilerplate removal also mean that long navigation menus eat into the budget before your content even appears. Markdown negotiation helps Kilo, which asks for markdown first, but it does nothing for Cline v4, which asks for HTML first.
Cloudflare “block AI bots” rules are likely to stop Cline’s AgentBot/1.0, while Kilo’s Chrome disguise passes many detectors and falls back to kilo when it doesn’t inferred. For search, Cline depends on the model vendor’s engine and Kilo on Exa and Parallel. You can compare all of this side by side in the matrix and the user-agent reference.
Tests to run against this agent
Section titled “Tests to run against this agent”- JS rendering contrast. Serve a page whose phrase is injected client-side, ask Cline to fetch it, and then mention it with
@url. Expected: blank throughfetch_web_content, phrase found through@url, and only the second produces sub-resource requests. - Shipped UA. Log Cline’s request from the packaged VS Code extension to confirm whether
AgentBot/1.0is what users actually send. - Landmark stripping. Put one phrase inside
<nav>and another in<main>. Expected: both throughfetch_web_content, and only the<main>phrase through@url. - Truncation. Place a marker after 60,000 characters. Expected: it’s missing from Cline v4’s output.
- Kilo fallback. Put the probe behind a Cloudflare managed challenge. Expected: a Chrome/143 request, then
User-Agent: kilo.
Open questions
Section titled “Open questions”- We still need a runtime check to know whether the packaged Cline extension overrides
AgentBot/1.0, and whetherfetch_web_contentis enabled by default. - We don’t know which engine sits behind Cline’s
/search/websearchendpoint. - Our Roo Code conclusions come from GitHub API listings of
mainand PR 11392, because our local clone was incomplete.
Further reading
Section titled “Further reading”- Cline repository
- Roo Code PR 11392: removal of browser use
- Kilo Code tool-use overview
- The Current State of Content Negotiation for AI Agents (Checkly)
Last reviewed 2026-12-02 against Cline main at fa6a345, Roo Code main, and Kilo Code at d1c58e8. This site is re-reviewed monthly; see maintenance.