Skip to content
AddHunt
Agent skills & plugins

Webcmd

Browser infrastructure that turns agent runs into commands

Open source

  • Open source
  • Licence: Apache-2.0

In short

Webcmd is an open-source CLI and set of agent skills that learns websites as AI agents browse them and compiles that knowledge into reusable, structured commands. It is for developers building browser agents that repeat the same web tasks.

What you get

  • Real-browser control with structured feedback
  • Sitemap memory of pages, actions and pitfalls
  • Reusable site adapters with named inputs
  • Deterministic commands with JSON output
  • Strategy choice: public, cookie, intercept, UI or local
  • Agent skills installed from the CLI

The details

Browser agents handle unfamiliar sites well, but running a known task again through screenshots, page snapshots and new reasoning each time is slow and costly. Webcmd keeps what an agent has learned and gradually replaces browsing with a deterministic command.

Four layers

  1. Control: drive a real browser (inspect, click, type, extract and record network traffic) and get structured feedback.
  2. Remember: build a sitemap of the states, pages, actions, workflows, APIs, fallbacks and pitfalls the agent has seen.
  3. Author: turn that into a reusable site adapter that has explicit arguments, strategy tags and predictable output.
  4. Execute: add tailored commands to the adapter that run quickly with few tokens, called as webcmd <site> <command>.

Each layer has a matching agent skill. After installing the npm package @agentrhq/webcmd, the webcmd skills add command adds the skills to an agent.

Strategies and output

Webcmd picks the cheapest reliable route for each command: a public endpoint, authenticated cookies, intercepted requests, the page UI or a local tool. Each interaction responds with machine-readable output, matches, confidence scores and errors, and agents can list the available commands as JSON. The project is open source under the Apache 2.0 license.

Alternatives to Webcmd

All alternatives

Questions

What does Webcmd do?

It records what AI agents learn while browsing a site and turns it into reusable commands with named inputs and structured output, so known tasks no longer need a full browser session.

How is Webcmd installed?

Through npm as @agentrhq/webcmd, followed by webcmd skills add to give an agent its skills.

Is Webcmd open source?

Yes. It is released under the Apache 2.0 license.

More like this