Skip to content

Docuworm Widget

Configure in dashboard, embed in code, add context in real time.

Docuworm is an embeddable AI web component for customer-facing and internal tools. Teams configure agents in dashboard.docuworm.ai, then developers embed <docuworm-chat> and integrate thread routing, uploads, and context from app code.

  1. Configure your agent and access token in the dashboard.
  2. Load the widget from the hosted CDN.
  3. Add thread-ref so each app entity maps to the correct conversation.
  4. Add context through file uploads and addSources().

Quick Start

End-to-end setup in about 10 minutes.

Dashboard Setup

Configure agents, actions, and access tokens.

Loading the Widget

CDN-first embed patterns for Vanilla, React, Vue, and Svelte.

Uploading Files

Hybrid ingestion: in-widget user uploads and programmatic uploads.

Adding Context

Add structured context at runtime with addSources().

Embed API

Exact helper signatures and usage examples.