Repository navigation
10 Agentic Browsing and Computer Use
Search returns links. Browsing agents operate the web: they load pages, click, type, log in and complete tasks.
flowchart TB
subgraph S1[1 · Hosted search tools]
A1[Model + server-side search/fetch] --> A2[Text evidence + citations]
end
subgraph S2[2 · Browser libraries / MCP]
B1[LLM decides] --> B2[Playwright / CDP driver] --> B3[DOM snapshot or screenshot]
end
subgraph S3[3 · Agentic browsers / extensions]
C1[User's real browser + AI] --> C2[Acts inside logged-in sessions]
end
S1 --> S2 --> S3
| Shape | Examples | Trait |
|---|---|---|
| Hosted tools | OpenAI, Claude, DeepSeek | Vendor-side fetch, citations |
| Libraries / servers | Playwright MCP, browser-use, Stagehand, Skyvern, Browserbase | Developer-controlled loop |
| Agentic browsers / extensions | Consumer products from OpenAI, Perplexity, Anthropic and others | Real user session; product lineup changes fast — check vendor pages |
- Accessibility/DOM snapshot — compact, structured, token-cheap; breaks on canvas or heavy shadow DOM.
- Screenshot + vision ("computer use") — general but slower and costlier; see Anthropic's computer-use tool docs.
Snapshot cost model: if a page exposes
WebArena (self-hosted realistic sites), Mind2Web (cross-site generalisation), WebShop (shopping), BrowseComp (hard-to-find facts).
Pages can contain instructions aimed at the agent. This indirect prompt injection is documented in Greshake et al. 2023 and listed as a leading risk in the OWASP LLM Top 10. Mitigations: least-privilege tools, domain allow-lists, human confirmation on sensitive actions, separating instructions from data, and logging.
A browser agent looks (and is) closer to a human session than a crawler. It blurs the line between bot and user-delegated traffic — the core detection gap in 17.
None of the above runs in the lab yet; it is Stage 5, deferred until search reliability gates pass (21). Playwright can run on GitHub-hosted runners, so a later browser-agent experiment is feasible within CI limits (11).
Q1. What is indirect prompt injection?
Malicious instructions embedded in content the agent reads (a web page, PDF, email) that the model may follow as if from the user (Greshake et al.).
Q2. Why do snapshot-based tools save tokens over screenshots?
They send a compact structured tree instead of image tokens, and can address elements by reference.
Q3. How does a browser agent complicate bot detection?
It executes real browser behaviour, often inside a user's own session, so classic "headless script" signals disappear (17).
← Prev 9. Search APIs · Next → 11. Simulation Strategy
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