assistant-ui
by assistant-ui
assistant-ui is a TypeScript and React library for adding an AI chat window to a web app. It supplies ready-made chat components and connects to many AI model providers and back ends.
- Stars
- 12.8k
- Licence
- MIT
- Runs on
- A browser
- Setup
- Moderate
- Language
- TypeScript
- Age
- 1073 days
What you can do with it
- Add a ChatGPT-style chat interface to a Next.js or React app
- Connect the chat to models such as OpenAI, Anthropic, Gemini or a local Ollama setup
- Show AI tool calls as custom React components and ask users to approve actions
Make money with it
A freelance developer could build and sell custom AI chat assistants for client websites, using this library for the interface.
An idea, not financial advice. Check the licence before charging for anything built on it.
Ways a business could use it
- Build a customer support chat assistant into your own website or web app without writing the chat interface from scratch
- Offer an AI chat feature inside a software product you sell, saving the cost of a separate paid chat widget
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Run the npx assistant-ui create or init command, or install the packages with npm into an existing React project.
Follow the official instructions in the project README.
Things to check
- Needs a developer comfortable with React and TypeScript
- You must supply your own AI model back end, which usually means paid API keys
- Optional managed Assistant Cloud service is a paid add-on
Who's talking about it
- raiscui (gh-trends): GitHub trends — 2026-10-28 (daily release) Featured in a roundup
Checked 30 Oct 2026. Summary drafted by AI from the project's README.