whatisgithub

What is webcmd?

agentrhq/webcmd — explained in plain English

Analysis updated 2026-05-18

35JavaScriptAudience · developerComplexity · 3/5LicenseSetup · easy

In one sentence

A tool that helps AI agents learn websites once and reuse that knowledge as fast commands, cutting repeated browsing and token cost.

Mindmap

mindmap
  root((webcmd))
    What it does
      Learns site navigation
      Builds reusable commands
      Cuts agent token spend
    Tech stack
      Node.js
      npm package
      Playwright based browser
    Use cases
      Research across sites
      Automate logged in tasks
      Compare prices or products
    Audience
      AI agent builders
      Automation developers
    Layers
      Live browser control
      Sitemap memory
      CLI authoring

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Have an AI agent research a topic across sites like Hacker News, Reddit, and PubMed.

USE CASE 2

Automate logged in tasks such as checking LinkedIn messages or X bookmarks.

USE CASE 3

Compare product prices and availability on shopping sites like Amazon or Grainger.

USE CASE 4

Build a reusable command line adapter for a website your agents visit often.

What is it built with?

JavaScriptNode.jsnpmPlaywright

How does it compare?

agentrhq/webcmdartofpilgrim/dialsdevadarshini27/nptel-tracker
Stars353535
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasyeasymoderate
Complexity3/51/52/5
Audiencedeveloperdesignergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires Node.js 20 or newer and installation via npm.

Use freely for any purpose, including commercial use, under the Apache 2.0 license.

So what is it?

Webcmd is infrastructure that helps AI agents use websites without repeating the same slow, expensive browsing every time. Normally, an AI agent that needs to check a site has to click around and explore it fresh on every run, which burns a lot of tokens and time. Webcmd tries to fix that by remembering what it learns about a site and turning that knowledge into reusable, deterministic commands. It works in four stages. First, for a site the agent has never seen, Webcmd gives it live browser control to inspect, click, type, and extract information like a person would. Second, once a site is familiar, Webcmd builds a kind of map of that site's pages, actions, and known issues, so future runs do not have to rediscover them. Third, once the useful actions are known, someone can write a proper reusable command, called an adapter, for that specific site so agents skip navigation entirely. Fourth, that adapter can be extended further so the workflow runs instantly with minimal token use. The tool is installed globally through npm and requires Node.js 20 or newer. After installing, you add its skills to your agent tool, such as Codex or Claude, and then simply describe in plain language what you want done, like researching a topic across Hacker News and Reddit or checking prices on Grainger. Webcmd already has example workflows for research sites like Hacker News, Reddit, and PubMed, social platforms like X, LinkedIn, and TikTok, AI tools like ChatGPT, Claude, and Gemini, and shopping or booking sites like Amazon and Zepto. It can also work with logged in browser sessions for tasks that need an account, such as checking LinkedIn messages or X bookmarks. There is also a hosted option called Webcmd Cloud for running these commands and browser sessions remotely, though the README notes it is still in active development and not yet stable. The project accepts community made plugins and is released under the Apache 2.0 license.

Copy-paste prompts

Prompt 1
Install webcmd globally and add its skills to my Claude or Codex agent tool.
Prompt 2
Use webcmd to research a topic across Hacker News and Reddit and summarize the results with source links.
Prompt 3
Show me how to build a reusable webcmd adapter for a website I use often so future runs skip browsing.
Prompt 4
Explain the difference between webcmd's live browser control, sitemap memory, and CLI authoring layers.

Frequently asked questions

What is webcmd?

A tool that helps AI agents learn websites once and reuse that knowledge as fast commands, cutting repeated browsing and token cost.

What language is webcmd written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js, npm.

What license does webcmd use?

Use freely for any purpose, including commercial use, under the Apache 2.0 license.

How hard is webcmd to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is webcmd for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.