Overview
Give agents the ability to browse the web in real time during a universe run — fetch pages, extract content, follow links — so research tasks work on live data instead of training knowledge.
How it should work
- A
browser tool is available to agents: { action: 'fetch', url: '...' }
- The engine fetches the URL server-side (via the Vite plugin middleware), strips HTML to clean text, and returns it to the agent
- The agent's canvas node shows a 🌐 indicator when actively browsing
- Visited URLs are shown in the agent card's output
Implementation
Engine side (vite-plugin-agentis.ts):
- Add
POST /agentis/browse endpoint — fetches URL, returns { title, text, url }
- Use Node's
https module + basic HTML stripping (no headless browser needed for most sites)
Engine client (multiAgentEngine.ts):
- Add
browse to the worker system prompt as an available tool
- Parse agent output for
<browse url="..." /> tags and resolve them mid-stream
Related
src/components/pages/HandsPage.tsx — the Hands page is designed for this capability
- Mentioned in README roadmap
Overview
Give agents the ability to browse the web in real time during a universe run — fetch pages, extract content, follow links — so research tasks work on live data instead of training knowledge.
How it should work
browsertool is available to agents:{ action: 'fetch', url: '...' }Implementation
Engine side (
vite-plugin-agentis.ts):POST /agentis/browseendpoint — fetches URL, returns{ title, text, url }httpsmodule + basic HTML stripping (no headless browser needed for most sites)Engine client (
multiAgentEngine.ts):browseto the worker system prompt as an available tool<browse url="..." />tags and resolve them mid-streamRelated
src/components/pages/HandsPage.tsx— the Hands page is designed for this capability