@aleph-alpha/chat-kit

Chat kit package for building chat interfaces with Vue
116,613
Install
npm install @aleph-alpha/chat-kit
Latest Version:6.8.0
Vue:3
License:MIT
Last Updated:Oct 13, 2026
Links: npm
Maintainer: oleksandr.honskyi

@aleph-alpha/chat-kit

Chat kit for building chat interfaces with Vue. Ships components, handlers (message tree via useMessageHandler, markdown, labels — from the package root or @aleph-alpha/chat-kit/handlers), a composables entry for useChat (under development), and a services layer for backends (under development).

Part of the frontend-hub monorepo.

Installation

pnpm add @aleph-alpha/chat-kit

Architecture

Chat Kit is organised into three layers:

  1. Components — Pre-built Vue 3 components for chat UIs, split into base (presentational) and composed (opinionated patterns).
  2. Handlers — Reactive utilities for chat state management: useMessageHandler (conversation tree), useMarkdownParser (markdown pipeline), useChatKitLabels (i18n).
  3. Services (under development) — Abstract ChatService / IChatService for backend communication and streaming. Not ready for production use.

useChat (under development) lives in composables/ as a planned high-level orchestrator that composes handlers and services into a single API

Usage

Import from specific entry points for tree-shaking:

// Services only
import { ChatService, type IChatService } from '@aleph-alpha/chat-kit/services';

// Handlers only
import { useMessageHandler } from '@aleph-alpha/chat-kit/handlers';

// Composables only
import { useChat } from '@aleph-alpha/chat-kit/composables';

// Components only
import { CkConversation } from '@aleph-alpha/chat-kit/components';

// Everything
import { ChatService, useChat, CkConversation } from '@aleph-alpha/chat-kit';

Development

This package lives in the frontend-hub monorepo. To work on it locally:

git clone git@github.com:Aleph-Alpha/frontend-hub.git
cd frontend-hub
pnpm install

# Run tests
pnpm nx run chat-kit:test

# Lint
pnpm nx run chat-kit:lint

# Storybook
pnpm nx run chat-kit:storybook

Documentation

License

MIT.

Related Packages

vue-tidio

Vue Tidio plugin

5,271 6
@nuxtjs/design-tokens-edge

'Vue-native zero-runtime CSS-in-JS solution.

2,128 51
@nuxt-themes/config-edge

Toolkit for authoring Nuxt Themes

1,406 30
vuetify-chat

Vue chat component,based on vueitfy.

809

Version History

Version Released License
6.8.0 MIT
6.7.2 MIT
6.7.1 MIT
6.7.0 MIT
6.6.0 MIT
Pre-releases (1)
Version Released License
0.0.1-alpha.28 MIT