nlux
StaleDescription
The Powerful Conversational AI JavaScript Library with UI for any LLM. Supports LangChain, HuggingFace, Vercel AI, and more. Works with React, Next.js, and plain JavaScript.
Key Features
- Powerful conversational AI JavaScript library — build chat interfaces in minutes
- Supports React, Next.js, and vanilla JavaScript for broad framework compatibility
- Built-in adapters for LangChain, HuggingFace, Vercel AI, and more
- Supports React Server Components and generative UI patterns
- Zero-dependency lightweight core with no external UI library requirements
- Customizable assistant and user personas with names, avatars, and descriptions
Use Cases
Categories
Quick Start
1. Scaffold a project: npx nlux-cli create next my-app
2. Or install manually: npm install @nlux/react
3. Import the AiChat component and useChatAdapter hook
4. Configure an LLM adapter (e.g., OpenAI, LangChain)
5. Render the <AiChat /> component in your page