█

AI/TLDR

Buy me a coffee
Buy me a coffee

Deep Chat

A customizable AI chat web component you can add to any site with one line of code

Chat UIsOpen source
Language
TypeScript
$npm install deep-chat
IN SHORT

What is Deep Chat?

Deep Chat is a customizable AI chat component you can inject into a website with a single line of markup. It is built as a web component, so it works with plain HTML and all major UI frameworks and libraries, with a dedicated React wrapper available as a separate package. It sits in the Chat UIs category of the App UIs & Builders tools and is open-source, written in TypeScript.

Overview

Deep Chat is a customizable AI chat component you can inject into a website with a single line of markup. It is built as a web component, so it works with plain HTML and all major UI frameworks and libraries, with a dedicated React wrapper available as a separate package.

It is aimed at developers who want a ready-made chat interface without building one from scratch. You can point it at your own backend service, connect directly to more than 20 popular AI APIs such as OpenAI and Claude from the browser, or host a model entirely in the browser with no server at all.

Within the chat-UI category, Deep Chat covers the front-end layer: it handles the message list, file and audio input, speech features, and styling, while you decide how requests reach a model. The direct-connection mode is meant for local prototyping and demos, since it exposes the API key to the browser; for production you connect through your own service or a proxy.

What it does

  • Connect to any backend API via the request property, or use interceptors and a handler function to shape requests
  • Direct in-browser connection to 20+ AI APIs including OpenAI and Claude for prototyping and demos
  • Host an LLM fully in the browser with the deep-chat-web-llm module and the webModel property
  • Send and receive files, capture photos via webcam, and record audio via microphone
  • Speech features: speech-to-text input, text-to-speech responses, and speech-to-speech communication
  • Markdown and custom-element rendering, avatars, names, browser storage for messages, and full styling control

Getting started

Install the package, then add the deep-chat element to your markup. The exact syntax varies by framework.

Install

Install the core package with npm. If you use React, install the React wrapper instead.

bashbash
npm install deep-chat

Install for React

React projects should use the dedicated wrapper package.

bashbash
npm install deep-chat-react

Add the component

Drop the element into your markup. On its own it renders the chat UI; add connection properties to wire it to a service.

texttext
<deep-chat></deep-chat>

Connect to a service

Use the request property to point Deep Chat at an API that handles its request and response formats.

texttext
<deep-chat request='{"url":"https://service.com/chat"}'/>

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Add a chatbot to a marketing site or app that talks to your own backend service
  • Prototype against OpenAI or Claude directly in the browser before moving to a proxy for production
  • Ship a privacy-friendly assistant that runs an LLM entirely in the browser with no server
  • Build a support or documentation chat with file uploads, webcam capture, and speech input/output

How Deep Chat compares

Deep Chat alongside other open-source chat uis tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Open WebUI★ 160kA self-hosted web interface for chatting with local and API-based LLMs (Ollama, OpenAI-compatible) that adds RAG, web search, image generation, and multi-user access.
Lobe Chat★ 86.3kAn open-source chat UI with a plugin and agent marketplace, multi-model support, voice, vision, and one-click self-hosting.
AnythingLLM★ 68.8kA desktop and self-hosted chat app focused on document Q&A and agents, letting you build private RAG workspaces over your own files and data sources.
Cherry Studio★ 54kA cross-platform desktop chat client that connects to many cloud and local model providers and ships with hundreds of preset assistants and MCP support.
LibreChat★ 47.7kA self-hostable ChatGPT-style chat app that unifies many AI providers and adds agents, MCP support, artifacts, a code interpreter, and multi-user authentication.
Chatbox★ 42.6kA desktop and web chat client for ChatGPT, Claude, Gemini, Ollama, and other models, with local message storage and multi-provider switching.
Buzz★ 37.9kA self-hostable team workspace built on a Nostr relay where AI agents join channels as members with their own keys, and messages, patches, workflow runs and approvals are all signed events in one log.
Deep Chat★ 3.8kA customizable AI chat web component you can add to any site with one line of code