JS library for conversational AI interfaces
Top 31.1% on sourcepulse
NLUX is a JavaScript library for building conversational AI interfaces, targeting web developers using React, Next.js, and vanilla JavaScript. It simplifies the integration of Large Language Models (LLMs) into web applications, enabling rapid development of AI-powered chat experiences with minimal code.
How It Works
NLUX provides pre-built React components and hooks, such as <AiChat />
and useChatAdapter
, for seamless UI integration. It supports various LLM backends through adapters for LangChain, Hugging Face, and OpenAI, with options for streaming or batch responses. The library is designed with a zero-dependency core for performance and minimal bundle size, adhering to principles of intuitiveness, performance, accessibility, and excellent developer experience.
Quick Start & Requirements
npx nlux-cli create <project-type> <project-name>
(e.g., npx nlux-cli create next my-next-app
).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The MPL 2.0 license includes specific clauses restricting the use of the source code for AI model training or code translation, which may impact certain commercial applications.
10 months ago
Inactive