by Nimbleway
WebRouter is an open source standard that connects your agent to the web
# Add to your Claude Code skills
git clone https://github.com/Nimbleway/webrouterwebrouter is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Nimbleway. WebRouter is an open source standard that connects your agent to the web. It has 1,090 GitHub stars.
webrouter's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Nimbleway/webrouter" and add it to your Claude Code skills directory (see the Installation section above).
webrouter is primarily written in Python. It is open-source under Nimbleway on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh webrouter against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Developer preview: the API may change before 1.0. Share feedback on Discord.
Every web API for agents has its own SDK, parameters and response shape. WebRouter puts one interface in front of about 30 of them, which between them cover search, extract, answer, research, live data and browsers. Your agent makes the same call whichever provider answers, a failing provider falls back to the next, and each search, extract, answer, research and browse call says who answered, how long it took and, where the price is known, what it cost. Search and page reading work free, with no key.
from web_router import WebRouter
with WebRouter() as router: # no API key needed to start
results = router.search("what is retrieval augmented generation", max_results=5, timeout=10)
pages = router.extract(results.urls[:3], timeout=30) # markdown, whichever backend serves it
print(results.provider, [doc.url for doc in pages.documents])
extra and the raw payload in raw.UnsupportedParameterError instead of being dropped, so a call never runs
under looser constraints than you asked for.auto tries the providers you hold keys for,
best-benchmarked first, then the free tiers, and passes the call on when one
fails or returns nothing. The order comes from
committed benchmark results, and response.provider always says who answered.
Compare the providers yourself on WebBench.benchmark() and evaluate() compare providers on
your own queries and score their accuracy against known answers.pip install webrouter # or: uv add webrouter
Or try the command line with no install and no key:
uvx --from webrouter webrouter search "rust async runtimes" -n 5
Python 3.11 or later. The base install runs search and extract with no key.
Extras add the rest: browser, mcp, aws, or all for every one; see the
Quickstart.
Keys are read from the environment. Copy .env.example, which
names every variable and where to get it, and fill in the ones you hold. To pass them in code instead, and never
from the environment, see keys from code only.
| Method | What it does | Keyless |
|---|---|---|
search |
Web results for a query | Yes |
extract |
Page contents for URLs, in markdown, html or text | Yes |
answer |
A written answer with its sources, in one call | No |
research |
A multi-step research run, as prose or a schema you give | No |
live_data |
A vendor's ready-made scraper for one site, returning records | No |
open_browser |
A browser session you drive, local or in the cloud | Yes (local) |
browse |
A task handed to a hosted browser agent | No |
call_data_api |
A data API: a vendor's own API (Google Ads, Datadog, ...) with your credentials | No |
with WebRouter() as router:
router.answer("who won the 2022 world cup final") # .answer, .citations
router.research("how did nvidia's datacenter mix shift in 2025", output_schema=MySchema)
router.live_data("amazon_products", {"url": product_url}, provider="brightdata")
with router.open_browser() as browser: # a local Chromium, no key
browser.goto("https://example.com")
Every method has an async twin on AsyncWebRouter.
| Method | Providers |
|---|---|
| Search | Nimble, Tavily, Exa, Brave, Context.dev, Perplexity, Parallel, Linkup, You.com, WebIQ, Keenable, DeepSeek, AWS AgentCore, Valyu, Seltz, Octen, Keirolabs, SpecStream, Firecrawl, Apify, plus the keyless You.com, Exa and Parallel MCP endpoints |
| Extract | Nimble, Tavily, Firecrawl, Exa, Linkup, Oxylabs, Bright Data, Jina Reader, WebIQ, Keenable, DeepSeek, Browserbase, SpecStream, Apify, plus Obscura run on your machine, and LiteParse and LlamaParse for documents |
| Answer | Perplexity, You.com, Linkup, Parallel, Exa, Brave |
| Research | Nimble, Parallel, Perplexity, Linkup, You.com |
| Live data | Nimble, Apify, Bright Data, Oxylabs |
| Browser sessions | Local Chromium, Browserbase, Steel, Hyperbrowser, Anchor, Kernel |
| Browser agents | Browserbase, Browser Use, Skyvern |
Providers has each provider's key, the options it maps and how it was verified. Adding one is two methods: see Adding a provider.
For search, extract, answer, research and the browser methods, name no
provider and auto serves the call: every provider you hold a key for, in the
order committed benchmark results rank them,
then the free tiers. A member that fails, is rate-limited or answers empty
passes the call to the next. A member that cannot honour an option you set is
skipped for that call, and if none can, the call raises rather than running
without it. Live data has no fallback, since a source belongs to one vendor:
live_data_sources() with no provider searches every vendor you hold a key
for, and each source it returns names its own, which live_data() runs it on.
Vendor calls always name their vendor, since an account belongs to one.
from web_router import Provider, WebRouter
WebRouter(Provider.TAVILY).search("...") # one provider, by name
WebRouter().search("...", provider="exa") # or per call
router = WebRouter(provider_config={"auto": {"chain": {"extract": ["nimble", "firecrawl"]}}})
router.extract(url) # Nimble, then Firecrawl if Nimble fails
A named provider is never quietly swapped for another: a missing key raises an
error naming the variable to set. In a service, share one router per process,
set timeout= on each call and turn on the web_router logger: see
Running in production. The auto order
lists each method's order and how it is generated.
from web_router import Budget, PreferredRouter, WebRouter, prices
router = WebRouter(router=PreferredRouter("cheap")) # free backends first, then the cheapest paid ones
log = router.log_spend("spend.jsonl") # from here on, every answered call is logged
response = router.answer("...", budget=Budget(max_cost_usd=0.01, time_limit_s=10))
response.provider, response.cost_usd, response.cost_source, response.elapsed_s
with router.budget(Budget(max_cost_usd=3.0, time_limit_s=600)) as b:
b.search("...")
b.research("...")
b.status() # spent, r