agentrhq/webcmd

The Browser Infra that learns and cuts token spend by upto 90%

What it solves

Webcmd provides a self-learning browser infrastructure for AI agents to prevent them from having to rediscover the same websites and navigational paths every time they run a task. This reduces token expenditure by up to 90% and increases the reliability and speed of browser automation by turning variable browser interactions into deterministic commands.

How it works

Webcmd implements a layered approach to browser interaction:

  • Layer 0 (Live Browser Control): Allows agents to use webcmd browser to inspect, click, and extract data from unfamiliar sites using a sandboxed Playwright-style environment.
  • Layer 1 (Sitemap Memory): Captures agent-facing sitemaps of observed pages, workflows, and APIs to avoid repeating exploration.
  • Layer 2 (CLI Authoring): Creates reusable adapters for specific sites with structured output, shifting the agent's token spend from navigation to the actual task.
  • Layer 3 (Extended CLIs): Develops tailored commands for deterministic workflows that run instantly.

Users can manage browser state via Profiles (cookie jars) and Sessions (independent browser windows), allowing parallel agents to operate securely.

Who it’s for

Developers building AI agents that require frequent, reliable, and cost-effective web browsing and data extraction from diverse sites (social media, research databases, shopping platforms, and AI tools).

Highlights

  • Token Efficiency: Significantly reduces cost and variance by collapsing browser interactions into CLI commands.
  • Layered Learning: Progresses from raw browser control to deterministic CLI adapters.
  • Session Management: Supports profiles and isolated sessions for authenticated browsing.
  • Plugin Ecosystem: Includes a catalog of community-developed site adapters (e.g., for Hacker News, PyPI, Skyscanner).
  • High Performance: Outperforms other tools on the BU Bench V1 benchmark in terms of accuracy, cost per task, and agent turns.

Related

  • Project
  • Project
  • Project
  • Project
  • Project