@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:
- Components — Pre-built Vue 3 components for chat UIs, split into base (presentational) and composed (opinionated patterns).
- Handlers — Reactive utilities for chat state management:
useMessageHandler(conversation tree),useMarkdownParser(markdown pipeline),useChatKitLabels(i18n). - Services (under development) — Abstract
ChatService/IChatServicefor 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
- Overview — Architecture and features
- Quick Start — Install and minimal chat UI
- Handlers and Services — Message state, markdown, labels, services
- API Reference — Public exports (components, handlers, composables, services, types)
- CI/CD Flow — Release process and PR checks
- Storybook Deployment — Preview and production Storybook
License
MIT.
Related Packages
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 | |
| 6.5.0 | MIT | |
| 6.4.3 | MIT | |
| 6.4.2 | MIT | |
| 6.4.1 | MIT | |
| 6.4.0 | MIT | |
| 6.3.0 | MIT | |
| 6.2.0 | MIT | |
| 6.1.1 | MIT | |
| 6.1.0 | MIT | |
| 6.0.0 | MIT | |
| 5.13.0 | MIT | |
| 5.12.0 | MIT | |
| 5.11.0 | MIT | |
| 5.10.1 | MIT | |
| 5.10.0 | MIT | |
| 5.9.0 | MIT | |
| 5.8.0 | MIT | |
| 5.7.0 | MIT | |
| 5.6.0 | MIT | |
| 5.5.0 | MIT | |
| 5.4.0 | MIT | |
| 5.3.0 | MIT | |
| 5.2.0 | MIT | |
| 5.1.0 | MIT | |
| 5.0.1 | MIT |
Showing the latest 30 of 84. See every release on npm
Pre-releases (1)
| Version | Released | License |
|---|---|---|
| 0.0.1-alpha.28 | MIT |