Skip to content

Browser hand — agents that can browse the web live #7

@Dhwanil25

Description

@Dhwanil25

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

  1. A browser tool is available to agents: { action: 'fetch', url: '...' }
  2. The engine fetches the URL server-side (via the Vite plugin middleware), strips HTML to clean text, and returns it to the agent
  3. The agent's canvas node shows a 🌐 indicator when actively browsing
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions