Skip to main content

Turn websites into fast, structured commands for coding agents

Project description

AgentWeb

License: MIT PyPI

AgentWeb lets your coding agent read and act on real websites — GitHub, Amazon, Spotify, Wikipedia, and more — with a plain command instead of clicking around a browser page.

Reads are the easy part; a search engine can do that. The reason to use AgentWeb is the other half: it can add to a cart, post a comment, or follow an artist on an account that's actually yours, and it tells you exactly what it's about to do before it does it.

Install

pipx install agentweb-cli   # or: pip install agentweb-cli

Want it wired into Claude Code or Codex automatically too? Use the install script instead of pip:

curl -fsSL https://github.com/AnayGarodia/agentweb/releases/latest/download/install.sh | sh

Windows: irm https://github.com/AnayGarodia/agentweb/releases/latest/download/install.ps1 | iex, or pip install agentweb-cli works there too. Details, opt-outs, and every other agent host: agent & MCP setup.

Watch it act

A terminal recording: AgentWeb signs in to Hacker News once, previews favoriting a post with --dry-run, confirms it with --confirm, independently re-reads the site to prove the favorite really took, then reverses it live.

agentweb connect news.ycombinator.com                          # once: sign in, in a real browser window
agentweb hn favorite --item-id 8863 --dry-run                  # preview only, nothing changes yet
agentweb hn favorite --item-id 8863 --confirm                  # does it, then re-reads the site to prove it
agentweb hn favorite --item-id 8863 --confirm --enabled false  # undone, the same way

The login is a one-time step, and it's yours: a real browser window opens, you sign in, and AgentWeb keeps only that site's session afterward — never your password. Every command after that is typed, not clicked.

Try a read yourself, no login needed

agentweb find --run "find the latest version of React on npm"
agentweb npm get-version --package react

The first line is a plain-language goal; find --run resolves it to the one unambiguous read it names and executes it immediately, no login or guesswork needed. The second line is the literal typed command underneath it — same site, same answer, same real live JSON, reached the other way. Use whichever fits: a goal when you don't know the command, the command directly once you do.

AgentWeb vs. a browser agent

A browser-driving agent gets a live, cookie-bearing browser and has to re-read and re-guess the page on every single run. AgentWeb maps a site's commands once, so your agent calls hn favorite directly instead of finding and clicking a button, and it can't accidentally do anything else on the page. Browser automation is still the right call for a site nobody has mapped yet.

What it can do

Collection Sites Supports actions (not just reading)
Developer GitHub, npm, PyPI, MDN Web Docs, Read the Docs, Stack Overflow, Hacker News GitHub, Stack Overflow, Hacker News
Shopping Amazon, Best Buy, Walmart Amazon
Music Spotify Spotify
Academic & research arXiv, Hugging Face, Crossref
Finance & regulatory data SEC EDGAR, World Bank, CoinGecko
India market & tax regulators BSE, NSE, RBI, SEBI, IBBI, India Post, GST
Reference & lookup Wikipedia, Open-Meteo, Open Library, Open Brewery DB, Nominatim, Federal Register Wikipedia
30 sites today. Full per-site operation list: [docs/SITES.md](docs/SITES.md).

Where things stand

Coverage varies by site: some are fully mapped, others cover the common tasks and say plainly what's left. Independent double-checking of every write is being built next — today AgentWeb trusts a successful response plus, where the adapter supports it, a live re-read like the one in the gif above. A few sites also block automated traffic and need the browser-login fallback in security and trust. Nothing here is hidden: agentweb sites and agentweb capabilities DOMAIN show the real state of what's installed on your machine, right now.

Open source, closed certification

This repository — runtime, CLI, MCP server, and the full adapter catalog above — is MIT-licensed: read it, fork it, submit an adapter for a new site. What's closed is the toolchain that turns a working adapter into a certified one (crawler, contract/evidence checks, release gates, registry signing) — a contributed adapter is honestly labelled community (uncertified) until that review signs it, and every interface (agentweb sites, agentweb describe, and both MCP tools) says which one you have. See trust labels for the full mechanism, or build an adapter to contribute one.

Learn more

Docs · Supported sites · Agent & MCP setup · Contributing · Security

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentweb_cli-0.34.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentweb_cli-0.34.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file agentweb_cli-0.34.0.tar.gz.

File metadata

  • Download URL: agentweb_cli-0.34.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for agentweb_cli-0.34.0.tar.gz
Algorithm Hash digest
SHA256 3a925a034e2a82ca6f2e4c00dd99fb0c7f3a560f863217153a55914e73f5900a
MD5 c49d4a1af01c77fe57d8bd738e5c99e9
BLAKE2b-256 6d945a1d666a098c6b8c317776c59540872e867b9953af8c8df879c799396d4f

See more details on using hashes here.

File details

Details for the file agentweb_cli-0.34.0-py3-none-any.whl.

File metadata

  • Download URL: agentweb_cli-0.34.0-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.5

File hashes

Hashes for agentweb_cli-0.34.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ed026914ba9f9dc379eba2f59ab091041e8f58039f78d77ecbf897f37143d61
MD5 7c1fc607a06c47be7a35680277630c96
BLAKE2b-256 76e2316984d295aaf72375e4da586a623c3bd09fe7dcb2aff544a5b98007f0fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page