Dev Design Library

Research Agent Block

A tool-using ReAct research agent over its OWN on-device WebGPU-only WebLLM model (default Qwen3-1.7B-q4f16_1-MLC): three block-local tools (search over a bundled 8-article knowledge base, note, calculate), a step-by-step reasoning timeline.

Research Agent Block preview
Library
LocalMode
Framework
React
Type
block
License
MIT
Dependencies
@localmode/core, @localmode/react, @localmode/webllm, zod
Install
npx shadcn add @localmode/ui/ui/blocks/agents/research-agent
Files
  • apps/ui/src/app/blocks/agents/research-agent/research-agent.tsx
  • packages/core/src/index.ts
  • packages/react/src/index.ts
  • packages/webllm/src/index.ts
  • apps/ui/registry/localmode/local-first/model-selector/model-selector.tsx
  • apps/ui/registry/localmode/local-first/model-downloader/model-downloader.tsx
  • apps/ui/registry/localmode/local-first/capability-gate/capability-gate.tsx
  • apps/ui/registry/localmode/conversation/agent-step-timeline/agent-step-timeline.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode