@dudko.dev/agent-web weekly downloads statistics
By dudko.dev (3 listings) · npm · AI SDKs
Headless, configurable in-browser LLM agent on the Vercel AI SDK: multi-provider bring-your-own-key (OpenAI, Anthropic, Google, xAI, DeepSeek, gateway, openai-compatible) AND local WebGPU/WebLLM, native + prompted tool-calling, structured output, an encry
@dudko.dev/agent-web has 4,638 recorded weekly downloads on npm, an increase of 1114% over the past 30 days, ranking #1560 of 3,247 tracked listings.
About @dudko.dev/agent-web
@dudko.dev/agent-web
agent.dudko.dev · docs · live demo · source
Headless, universal, configurable in-browser LLM agent built on the Vercel AI SDK. One package drives any model from the browser:
- ☁️ Cloud providers, bring-your-own-key — OpenAI, Anthropic, Google, xAI, DeepSeek, any OpenAI-compatible server, and the Vercel AI Gateway.
- 🖥️ Local WebGPU models — via WebLLM
(
@browser-ai/web-llm); no server, no key, data never leaves the device. - 🔌 Any AI SDK
LanguageModel— e.g. Chrome/Edge built-in AI.
It gives you simple text generation, streaming, native tool-calling, and structured output, plus a high-level plan → execute → replan → synthesize agent — with host-defined tools, optional MCP, system prompts, IndexedDB storage, and an encrypted token vault. UI-agnostic: it streams typed events; you render them however you like.
The agent loop also has thinking (portable reasoning levels or exact
budgets), token limits (input / output / thinking / total per run),
context compaction (automatic and agent.compact()), prompt caching,
skills (SKILL.md bundles), tool consent modes with an autopilot switch,
tool search for catalogues of hundreds of MCP tools, subagents in
Web Workers, image / PDF / file / URL input (with a clear error for models
that can't take them),
a virtual file system in IndexedDB with fs_* tools (fs_read by line range too), usage counted live
across a session (agent.usage), steering a run while it goes (RunControl),
resuming an interrupted run, egress you switch on and bound (the model's
web_fetch), and learning — the agent writes its own lessons down as skills
— see docs/capabilities.md.
Browser sibling of the Node package
@dudko.dev/agent.
<!-- family -->Using React?
@dudko.dev/agent-web-reactwraps this core in auseAgenthook, an<AgentProvider>context and drop-in UI components — try the live demo (source).
The family
One planning loop: two agents, and the layers that put its chat on a page. Every package has its page at agent.dudko.dev/docs. The live demo and the app are built on them.
| Package | What it is |
|---|---|
@dudko.dev/agent | The agent in Node: stdio and HTTP MCP servers, OAuth 2.1, a REPL CLI, persistence and resume |
@dudko.dev/agent-web (this package) | The same agent in a browser tab, with no backend: your own key or a local WebGPU model |
@dudko.dev/agent-web-ui | Its chat with no framework: the state, a controller, labels in 33 languages, Markdown |
@dudko.dev/agent-web-react | React: the useAgent hook and a ready chat panel |
@dudko.dev/agent-web-element | <dd-agent-chat>: the whole chat as a web component, for a page on any stack |
@dudko.dev/agent-web-vue | Vue 3: the useAgent() composable |
@dudko.dev/agent-web-angular | Angular: injectAgent(), the chat state as signals |
@dudko.dev/agent-web-svelte | Svelte 4 and 5: createAgent(), the chat state as a store |
Install
npm install @dudko.dev/agent-web
ai, zod and idb are its dependencies and come with it. Add zod to your own package only
when your code imports it, as the tool examples below do.
Then add only the providers you use (all optional peers, dynamically imported):
# cloud, pick what you need
npm install @ai-sdk/openai # or @ai-sdk/anthropic, @ai-sdk/google, @ai-sdk/xai, @ai-sdk/deepseek, @ai-sdk/openai-compatible
# local WebGPU models
npm install @browser-ai/web-llm @mlc-ai/web-llm
# optional: HTTP MCP (the official 2.x client SDK; see "Upgrading to the 2.x MCP SDK")
npm install @modelcontextprotocol/client
CDN / standalone bundle (no build step)
dist/agent-web.js is a self-contained ESM bundle of the core — ai,
zod and idb are baked in. It ships in the npm package (so it's on every
CDN) and is attached to each
GitHub release as
agent-web-<version>.min.js:
<script type="module">
import { createAgent, defineTool } from 'https://cdn.jsdelivr.net/npm/@dudko.dev/agent-web/dist/agent-web.js'
// or: https://unpkg.com/@dudko.dev/agent-web/dist/agent-web.js
</script>
```…
Description from the npm listing.
- agent
- ai-agent
- llm
- llm-agent
- browser
- in-browser
- ai-sdk
- vercel-ai-sdk
- webgpu
- webllm
- mlc
- openai
- anthropic
- gemini
- xai
- deepseek
- ai-gateway
- byok
- mcp
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (142)Similar npm AI SDKs plugins
All 20 @dudko.dev/agent-web alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@dudko.dev/agent-web. First seen Nov 12, 2026; last successful collection Dec 6, 2026. See the methodology.