In short.
WebRouter is a Python library for developers connecting AI agents to web providers, but automatic fallback can generate charges across several services. It provides shared request and response types, configurable provider chains, framework adapters and a self-hosted MCP server. Keyless search and extraction provide a starting point; provider coverage, supported constraints and verification vary. Its experimental budgets cap estimated costs, exclude model-router charges and can stop waiting while research or browser jobs continue. The API may change before 1.0. Runtime behavior, security controls and reported benchmark results have not been independently tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to README.md at [https://github.com/Nimbleway/webrouter/blob/main/README.md], pinned to revision 53b5881b68ea9cc3d8ff5b2ebd4f601743616da1, plus the accompanying LICENSE as a related notice. Linked implementation, documentation, catalogs, contracts, separately licensed prompts and benchmark assets are excluded. No installation or runtime operation was executed; functionality, security assurances, provider availability and performance remain independently unverified.
The overview
Identity
WebRouter is published in the Nimbleway/webrouter repository. It runs in the caller's Python process and connects to external web services using synchronous WebRouter or asynchronous AsyncWebRouter interfaces. The package name is webrouter; the Python import is web_router.
The project documentation is linked at [https://docs.webrouter.net]. The original resource address is [https://github.com/Nimbleway/webrouter/blob/main/README.md].
Fit assessment
WebRouter is a useful candidate when an application needs multiple web providers, fallback behavior or shared agent tools. A common interface can reduce adapter work, but each provider still has different capabilities, formats, prices and service behavior. The developer-preview warning matters for applications that need stable interfaces.
The README reports 94–95% accuracy for five answer backends on 300 SimpleQA questions graded by GPT-4o, with overlapping intervals. These are maintainer-reported results for that particular setup. They establish neither a performance advantage for WebRouter itself nor expected accuracy on another workload.
Intended users
The main audience is Python developers building research assistants, retrieval pipelines and agents that search for pages and read their contents. Teams managing several provider accounts may benefit from consistent responses and configurable fallback.
Beginners can follow the keyless search example, but configuring credentials, handling exceptions, choosing provider constraints and controlling spending still require application code. Experienced developers can add providers, supply routing functions and integrate existing authenticated clients.
Capabilities
search() finds pages; extract() retrieves page content in supported formats; answer() requests a backend-written answer with sources; research() manages longer research jobs. Structured research output is available on selected backends. Browser tools support sessions and direct control, while browse() delegates browser tasks.
The live data methods discover, describe and run vendors' site-specific scrapers, returning structured records. Source names, inputs and record fields remain vendor-specific. call_vendor() and vendor_request() reach cataloged vendor APIs and return their native JSON.
The package includes a stdio MCP server. Its LangChain, Anthropic and OpenAI adapters focus on search and extraction, with optional answer tools. Benchmark helpers compare latency and returned content; evaluation helpers use known-answer datasets and an LLM judge.
Using it
Requirements
The README advertises Python 3.11–3.13. Installation extras select dependencies for particular methods or integrations. Authenticated operations need credentials for the chosen provider and network access to its service.
Answer, research, browse and live data have no anonymous tier. Some search, extraction and local browser paths are keyless. AgentCore search additionally requires an AWS AgentCore Gateway and the aws extra. Oxylabs extraction needs its scraper username and password; Bright Data extraction needs both a token and a zone.
Built-in LLM-based evaluation requires the evals extra, a supported judge SDK and its API key. The README says tests that launch local Chromium skip when it is unavailable; complete local-browser installation instructions are outside the supplied material.
How it works
Provider adapters translate shared parameters into vendor requests and normalize supported responses. The default auto provider uses a method-specific chain, skips members that cannot satisfy requested constraints, and moves to another eligible member after failures or empty responses. response.provider identifies the backend that answered, and raw retains provider payloads.
A named provider raises a configuration error when its required credentials are missing. Custom chains replace the corresponding default order, including its keyless members. provider_options passes vendor-specific settings through without a portability guarantee.
Experimental routing can rank methods and providers. plan() prepares a route without executing the web operation; run() dispatches it. A local routing function receives no provider key values. Remote and model routers receive the prompt, complete URLs, budget and candidate identifiers.
Setup
The documented starting command is pip install "webrouter[all]". Import WebRouter from web_router and create a router for the keyless search path. Add provider credentials through environment variables or provider_config when authenticated services are needed.
Choose an explicit provider or a custom method-specific chain when provider choice and spending must be predictable. Inspect response.provider to identify the service used. The linked quickstart covers narrower installation extras and asynchronous usage at [https://docs.webrouter.net/quickstart]; its contents were not supplied.
The MCP server runs locally over stdio. Its client configuration is linked at [https://github.com/Nimbleway/webrouter/blob/main/docs/mcp.md], but an executable MCP setup command is not established by the supplied README.
Example use
The README demonstrates response = WebRouter().search("what is retrieval augmented generation", max_results=5), followed by pages = WebRouter().extract(response.urls[:3], format="markdown"). The documented search response exposes result titles, URLs and the answering provider; the extraction response exposes documents and their content.
This pattern fits an assistant that first discovers relevant pages and then reads selected sources. Actual returned pages, completeness, latency and charges are unknown because the example was not executed.
Assessment & evidence
Limitations
Provider interchangeability has boundaries. Nimble alone maps research domain filters and enrichment records. Research output_schema is mapped for Nimble, Parallel and Linkup; Perplexity and You.com reject it. Extraction formats differ, and Browserbase extraction is a plain fetch rather than a rendered page. Browserbase alone maps saved-profile extraction, and that identity cannot be supplied through the MCP server.
Verification is uneven even within the README's own account. Exa extraction and Oxylabs live data are documentation-derived; Nimble research was checked against SDK-generated types. Linkup and You.com research were checked live only at low effort; their higher efforts are documentation-derived. You.com research has no cancellation support.
The optional public_only URL policy checks hosts as written without resolving DNS or following redirects. It does not cover URLs passed directly to extract(), and refused URL text can remain in a prompt sent for search or browsing. Remote and model routers receive full prompt and URL text. These controls have not been independently validated.
Decision guidance
For public search followed by page reading, the shared interface and keyless routes offer a practical starting point. The stronger architectural benefit appears when an application needs several providers and can define acceptable fallback behavior.
Strict spending limits, domain-constrained research and authenticated page access require deliberate provider selection and additional application controls. A common response shape does not establish equal retrieval quality, equivalent citation support or identical behavior across backends.
Alternatives
The README names direct provider SDKs, including nimble-python and tavily-python, alongside direct HTTP APIs. As an architectural tradeoff, integrating one provider directly can suit an application centered on that provider's native features; the application would then own any shared response handling and fallback.
Claude and OpenAI built-in web search are also mentioned. An agent already using a built-in search tool may have less need for a separate provider layer. The README describes a Claude-agent comparison benchmark but supplies no result establishing a winner. A broader current alternatives comparison is not assessed.
Evidence
The source snapshot is pinned to revision 53b5881b68ea9cc3d8ff5b2ebd4f601743616da1 and was captured at 2026-11-14T02:07:55.896Z. The immutable README address is [https://raw.githubusercontent.com/Nimbleway/webrouter/53b5881b68ea9cc3d8ff5b2ebd4f601743616da1/README.md]. The accompanying license is [https://raw.githubusercontent.com/Nimbleway/webrouter/53b5881b68ea9cc3d8ff5b2ebd4f601743616da1/LICENSE].
Feature descriptions, live-check dates, benchmarks and security assurances are statements in the README. Implementation files, test receipts, benchmark results, contracts, vendor catalogs and linked documentation were not supplied. Installation, API calls, browser sessions and benchmarks were not executed.
Access & freshness
Costs
The Apache license grants royalty-free software rights, while external services bill under their own arrangements. The README gives example estimates of $0.008 for a default Tavily search and $2.50 for Linkup research at max effort. Their current applicability and any particular workload's total cost are unknown.
Auto routing can use a key originally configured for research to serve paid searches. Fallback after empty results can incur several provider charges. Extract's max mode starts providers concurrently and pays for every fetch started. Keyless access is rate-limited and does not universally imply a zero cost estimate.
Budget caps operate on estimated provider costs rather than actual invoices. Shared budget scopes exclude live_data() and open_browser(), and model-router charges are outside the budget's cost accounting. Research and browse timeouts limit waiting while the underlying job can continue. Evaluation adds search charges and up to two judge calls per served question per provider.
License and rights
The supplied LICENSE is Apache License 2.0 and names Copyright 2026 Nimble. It permits use, modification and redistribution subject to its conditions. Redistribution requires a license copy, preservation of applicable notices, notices on modified files and relevant NOTICE attribution where such a file exists. The license includes a contributor patent grant, limited trademark permissions and warranty disclaimers.
The README identifies a separately MIT-licensed SimpleQA grading prompt. That prompt and its license were not supplied. Dependency licenses, provider-service terms and rights to retrieved content are not established by the two supplied files.
Freshness
The November 2026 snapshot includes maintainer live-check claims dated 10 November 2026. Dates and depth of verification differ by provider and method. A release number and changes after the pinned revision are unknown.
The API and smart-routing features may change before 1.0. The README says Exa Research was retired upstream and removed, while Exa search and extraction remain available. Older template method names are deprecated aliases with no removal release specified.
Headline provider totals disagree with the expanded tables, so exact supported-provider counts are unclear.
Suggested next steps
Begin with a small set of representative search and extraction tasks. Inspect the answering provider, returned content and failures. Confirm that the selected backend maps every required filter, format and schema before integrating it into a larger workflow.
For paid use, configure explicit provider chains, compare estimates with account billing and handle empty-result fallback. For longer jobs, retain job identifiers and confirm cancellation behavior. Check API changes against the pinned revision and validate the application's credential, URL and prompt-handling requirements before deployment.
