Getting smolagents to handle protected and JS-rendered pages without a browser stack
Summary
The author describes replacing smolagents' built-in VisitWebpageTool with a custom fetch tool using services like ZenRows to handle protected and JS-rendered web pages, improving web data access for AI agents without requiring a browser stack.
Similar Articles
Show HN: Reverse-engineering web apps into agent tools
A browser-based agent that reverse-engineers web app APIs to automatically generate agent tools, enabling deep integration without code changes.
A simple web-access pattern for agents: search, fetch, browser but keep raw pages out of main context
This article presents a cleaner pattern for agent web access by splitting it into three separate lanes—search, fetch, and browser—and using a reader subagent to keep raw pages out of the main context, significantly reducing token usage and context pollution.
@svpino: I'm yet to see an agent running inside a browser that doesn't feel like a hack. I tried a headless browser, but I can't…
Santiago (@svpino) discusses the challenges of running AI agents inside browsers, and @ego_agent announces 'ego lite,' a kernel-level rebuild aimed at making AI agents faster and more reliable.
The web-read primitive most agent stacks skip, and the open-source one I built for it
A developer built an open-source web-read primitive that most agent stacks overlook, addressing a missing capability in agent tooling.
Giving an agent a typed tool per website beat giving it a generic scraper — writeup
This writeup describes how giving an AI agent typed tools per website, with extraction schemas derived and cached via an LLM, outperforms generic scrapers by making calls deterministic, cheaper, and more reliable, while grounding data in source HTML to prevent hallucinations.