Skip to content

Overview

Three npm packages share one planning loop: plan → execute → replan → answer. The planner turns a request into ordered steps, the executor runs each step by calling tools, the replanner decides after a step whether to continue, revise the plan or stop, and the synthesizer writes the answer.

You are building Start with It gives you
A server, a job or a CLI in Node @dudko.dev/agent stdio and HTTP MCP servers, OAuth 2.1, a REPL CLI, persistence and resume, OpenTelemetry, a safe fetch
An agent inside a web page, with no backend @dudko.dev/agent-web bring-your-own-key cloud models or local WebGPU models, an encrypted key vault, HTTP MCP, a virtual file system
A React app @dudko.dev/agent-web-react the useAgent hook, a provider and a drop-in chat over the browser agent

The Node and the browser agent are siblings, not layers: neither depends on the other. They keep the same config field names, event names and semantics, so what you learn in one applies to the other. The React package is a layer over the browser agent and has no agent logic of its own.

Terminal window
npm install @dudko.dev/agent # Node
npm install @dudko.dev/agent-web ai zod # browser
npm install @dudko.dev/agent-web-react @dudko.dev/agent-web # React

Model providers are optional peer dependencies: install only the ones you use, for example @ai-sdk/openai or @ai-sdk/anthropic.

  • Capabilities — thinking, token limits, compaction, skills, tool consent, large MCP catalogues, subagents, steering a run, learning, web access, and the full event reference. Written for the browser agent; the Node agent’s page covers the same ground for the server.
  • Providers — every model provider, and which ones a browser may call directly.
  • Security — what the key vault, the web fetch tool and the learning notebook protect, and what they do not.
  • Chat components — the drop-in chat and every part of it.
  • Live demo — the React package running in your browser, with your own key or a local model.

The packages are pre-1.0 (0.0.x): the API can change between releases. They are MIT licensed and developed in one repository, dudko-dev/agents.