# nlkitai/nlux

The 𝗣𝗼𝘄𝗲𝗿𝗳𝘂𝗹 Conversational AI JavaScript Library 💬 — UI for any LLM, supporting LangChain / HuggingFace / Vercel AI, and more 🧡 React, Next.js, and plain JavaScript ⭐️

Repository: https://github.com/nlkitai/nlux
Canonical: https://ross.abutalabs.com/products/nlux
Homepage: https://docs.nlkit.com/nlux
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: artificial-intelligence, chatbot, chatgpt, huggingface, javascript, large-language-models, llm, openai, reactjs, vercel-ai-sdk
Last push: 2025-11-25T14:47:55+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 54, release rhythm 35, longevity 74
- inputs: {"age_days": 1039, "days_push": 281, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1381, forks 85 (observed 2026-08-28T04:04:33.978119+00:00)

## What it is
NLUX is an open-source React and JavaScript library for building conversational AI chat interfaces powered by large language models. It provides React components and hooks like <AiChat /> with adapters for LangChain, HuggingFace, Vercel AI, and custom backends.

## Use cases
- add an ai chat widget to my react app
- build a chatgpt-style interface in next.js
- connect a chat ui to langchain langserve backend
- stream llm responses with markdown rendering in javascript
- create a conversational assistant with custom personas
- integrate huggingface models into a web chat ui

## When to choose
- you need a polished LLM chat UI in React, Next.js, or vanilla JS with minimal code
- you want ready-made adapters for Vercel AI, LangChain, or HuggingFace
- you need streaming markdown responses, personas, and theming out of the box

## When to avoid
- you need a non-JavaScript or native mobile chat UI
- you require voice chat, file uploads, or full accessibility support that is still on the roadmap
- you need a fully custom chat experience where a component library gets in the way

## Facets
- artifact type: library
- maturity: active
- function: ui-components, chat-interface, frontend-framework, llm-inference
- domain: artificial-intelligence, large-language-models, chatbots, web-development, frontend
- platform: browser
- tags: react, nextjs, vercel-ai, langchain, huggingface, chat-ui, streaming, typescript, nodejs, web-server

## Member repositories
- nlkitai/nlux (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.978119+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:11.619506+00:00, confidence not recorded.
  - readme: https://github.com/nlkitai/nlux (fetched 2026-08-28T04:04:33.978119+00:00, sha b2e9012961a0)
  - homepage: https://docs.nlkit.com/nlux (fetched 2026-08-29T11:56:28.042562+00:00, sha e197d0195a5c)
  - site_page: https://docs.nlkit.com/nlux/videos/features-overview (fetched 2026-08-29T11:56:28.051701+00:00, sha f5401f0720f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
