@dudko.dev/agent-web-react weekly downloads statistics
By dudko.dev (3 listings) · npm · AI SDKs
React bindings for @dudko.dev/agent-web: a headless useAgent hook, an AgentProvider context, and optional pre-styled components (chat panel, plan/step view, BYOK key form, WebLLM load bar) that connect the in-browser LLM agent to any React site. UI you ca
@dudko.dev/agent-web-react has 4,948 recorded weekly downloads on npm, an increase of 1699% over the past 30 days, ranking #1534 of 3,247 tracked listings.
About @dudko.dev/agent-web-react
@dudko.dev/agent-web-react
agent.dudko.dev · docs · live demo · source
React bindings for @dudko.dev/agent-web —
the headless, universal in-browser LLM agent. Drop the agent into any React
app with a single hook and (optionally) a set of pre-styled components:
- 🪝
useAgent— build the agent from a config, stream its typed events into a ready-to-render state (plan, steps, tool calls, streamed answer, token usage, model-load progress, chat transcript), and getrun/stop/reset/reload. - 🌐
useRemoteAgent— the same chat for an agent that runs on a SERVER (the swarm's gateway): no model or key in the page, the turns streamed in, approvals answered through the gateway - a support widget on a public site (below). - 💬
<AgentChat>— a drop-in chat: every tool call with its cost, tokens by kind per answer and in total, thoughts, subagents, consent prompts; a composer with "+" / Ctrl+V / drag & drop attachments (images, PDFs, files), "/" commands, run timer, agents, model + thinking chip, the "⚡ Auto" consent chip and speech to text; saved chats in IndexedDB and a workspace (virtual file system) panel. Everything is a prop: show/hide, labels (i18n), render props, slots, swappable components, theme — see docs/chat.md; its look: Styling the chat. - 🕸️ Pipeline editor — draw a graph of agents on a canvas (our own: no canvas or
graph library), connect them with conditions and loops, run it with live statuses,
copy it as code:
<PipelineEditor>andusePipeline, behind@dudko.dev/agent-web-react/pipeline— see docs/pipeline.md. - 🗣️ Steering and learning — type to the agent while it works (
send,stopSubagent; queued / delivered notes under the step that got them), and watch it keep a notebook: lessons it wrote down as skills (learned,<LearnedSkills>,forgetSkill) and the pages it fetched — see docs/chat.md. - 🧩 Building blocks —
<AgentComposer>,<MessageList>,<StepList>,<ToolApprovalPrompt>,<ElicitationPrompt>,<ApprovalModeSwitch>,<ChatHistoryList>,<FilesPanel>,<LearnedSkills>,<MemoryCard>,<ContextMeter>,<PlanView>,<ModelLoadBar>,<UsageBadge>,<ApiKeyForm>; hooksuseChatHistory,useVirtualFiles,useSpeechToText,useFollowScroll(a transcript that follows the answer and leaves a reader where they are); MCP hooksuseMcp/useMcpServerslive in@dudko.dev/agent-web-react/mcp. - 📏 A limit on the message box —
longText: { maxInputChars: 4000 }(composer; off by default): typing stops at it with a quiet counter near it; any longer text that would go over it (a paste, a drop, a keyboard's clipboard chip, an IME's commit, a dictation) becomes the whole text as apasted-<date-time>.txtattachment - never cut, and nomaxLength, which cuts. Opt-inexcerptChars(for an agent withcreateFileToolsover the samefiles): a long text attachment reaches the model as its beginning and its workspace path - see docs/chat.md. - 🎙️ Voice — dictation through your own model (
speech.createRecognizer+createRecordingRecognizer: record, then transcribe; the words land in the box), voice messages (voiceMessage: record and attach the audio, for a core that transcribes it) and a Listen button on each answer (readAloud: the device's voices withcreateBrowserSpeaker, or a provider's withcreateAudioSpeaker; Markdown read as words, code not spelled out, each answer in its own language -languageOfText). The microphone is asked for on a tap and let go when the recording ends — see docs/chat.md. - 🔑
useCredentials— store BYOK API keys encrypted at rest (WebCrypto + IndexedDB). - 🖥️
useWebLLMModel/useLocalModel— load an on-device model (WebLLM, the browser's built-in model, transformers.js, or your own runtime) with download progress, switching and unloading. - 🎛️ Headless-first — the event→UI logic is a pure, exported reducer
(
agentStateReducer); the components are optional sugar on top. - 🧱 No React on your site? —
@dudko.dev/agent-web-elementis this chat as a web component,<dd-agent-chat>, for Vue, Angular, Svelte, Solid, Astro or plain HTML (React inside it) - see its docs.…
Description from the npm listing.
- agent
- ai-agent
- llm
- llm-agent
- react
- react-hooks
- react-components
- use-agent
- browser
- in-browser
- ai-sdk
- vercel-ai-sdk
- webgpu
- webllm
- openai
- anthropic
- byok
- chat
- chatbot
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 (135)Similar npm AI SDKs plugins
All 20 @dudko.dev/agent-web-react 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-react. First seen Nov 18, 2026; last successful collection Dec 6, 2026. See the methodology.