nowfound

AI · June 12, 2024

AR

A React and Next.js UI Toolkit for LLMs

Hey HN, I wanted to share a UI toolkit project I’ve been working on recently, born out of how difficult I found it to build a great UX on top of LLMs, and keep application state in sync. I’ve built: - A React/JS front-end library for conversational interfaces, which makes it super easy to bootstrap AI assistants and ChatGPT style UX: https://github.com/nlkitai/nlux - A set of adapters that simplify integration with AI backends such as LangServe and HuggingFace The library is highly configurable, easy to theme, supports markdown streaming (that was tough to get…

In plain words

This React and Next.js UI toolkit helps developers build conversational interfaces and AI assistants. It provides a front-end library for chat-based UX and adapters for connecting to AI backends like LangServe and HuggingFace. The toolkit supports markdown streaming, custom component rendering, and theming, working with React, Next.js, and plain JavaScript. It's designed with modular architecture and zero dependencies.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Hey HN, I wanted to share a UI toolkit project I’ve been working on recently, born out of how difficult I found it to build a great UX on top of LLMs, and keep application state in sync. I’ve built: - A React/JS front-end library for conversational interfaces, which makes it super easy to bootstrap AI assistants and ChatGPT style UX: https://github.com/nlkitai/nlux - A set of adapters that simplify integration with AI backends such as LangServe and HuggingFace The library is highly configurable, easy to theme, supports markdown streaming (that was tough to get right!), custom rendering for AI response components, and it works smoothly with Next.js, React JS (of course), and even plain JavaScript (for the Vue.js folks out there ;). I built it with an architecture I’d love myself as a dev: high code modularity, zero dependencies, wide unit test coverage, and lots of documentation and examples. You can play with codesandbox previews and demos here: https://docs.nlkit.com/nlux Thanks for reading. It feels like we’re at a new frontier building with LLMs, and I’d love to hear what challenges you’ve had on integrating with them & building great UI & UX.

More ai this month

the category →
  • I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

    AI · 17d ago · simedw.com

  • Astute585

    Automate your B2B brand going viral, with new media creators

    AI · 18d ago · company-app.joinastute.com

  • Grok Bot547

    AI teammates that you can give real work to

    AI · 25d ago · x.ai

  • Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…

    AI · 26d ago · cactuscompute.com

  • Make your software self-driving

    AI · 30d ago · coldtea.ai

  • Soloop472

    Approval-first Agent OS for solo founders

    AI · 30d ago · soloop.io

Launched alongside, June 2024

the whole month →
  • Pygma1,409

    AI copilot for Instagram

    AI · 2024 · pygma.me

  • Cello1,347

    Easiest way to add a referral program to your SaaS

    Growth · 2024 · cello.so

  • Create personalized, multi-channel conversations at scale

    AI · 2024 · lagrowthmachine.com

  • FlowMapp 3.01,147

    Visual website planning in the most powerful way

    Work · 2024 · flowmapp.com

  • Revolutionary AI email, reimagined for teams

    AI · 2024 · superhuman.com

  • PyjamaHR1,132

    Hiring on autopilot. The AI applicant tracking system (ATS).

    Work · 2024 · pyjamahr.com