@assistant-ui/react 0.7.82 → 0.7.83

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +81 -14
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -10,27 +10,94 @@
10
10
  <a href="https://cal.com/simon-farshid/assistant-ui">Contact Sales</a>
11
11
  </p>
12
12
 
13
- **assistant-ui** is a set of React components for AI chat, with integrations Langchain, Vercel AI SDK, TailwindCSS, shadcn/ui, react-markdown, react-syntax-highlighter, React Hook Form and more!
13
+ [![Weave Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fapp.workweave.ai%2Fapi%2Frepository%2Fbadge%2Forg_GhSIrtWo37b5B3Mv0At3wQ1Q%2F722184017&cacheSeconds=3600)](https://app.workweave.ai/reports/repository/org_GhSIrtWo37b5B3Mv0At3wQ1Q/722184017)
14
+ ![Backed by Y Combinator](https://img.shields.io/badge/Backed_by-Y_Combinator-orange)
14
15
 
15
- Wide model provider support (OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, Replicate, Ollama) out of the box and the ability to integrate custom APIs.
16
+ - [⭐️ Star us on GitHub](https://github.com/assistant-ui/assistant-ui)
16
17
 
17
- [![Weave Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fapp.workweave.ai%2Fapi%2Frepository%2Fbadge%2Forg_GhSIrtWo37b5B3Mv0At3wQ1Q%2F722184017&cacheSeconds=3600)](https://app.workweave.ai/reports/repository/org_GhSIrtWo37b5B3Mv0At3wQ1Q/722184017)
18
+ ## The UX of ChatGPT in your React app 💬🚀
19
+
20
+ **assistant-ui** is an open source Typescript/React library for AI chat.
21
+
22
+ The library handles essential chat features such as auto-scrolling, accessibility, and real-time updates, while providing easy integration with LangGraph, AI SDK and custom backends.
23
+
24
+ The API of assistant-ui is inspired by libraries like shadcn/ui and cmdk. Instead of a single monolithic chat component, developers get primitive components that can be fully customized.
25
+
26
+ We have wide model provider support (OpenAI, Anthropic, Mistral, Perplexity, AWS Bedrock, Azure, Google Gemini, Hugging Face, Fireworks, Cohere, Replicate, Ollama) out of the box and the ability to integrate custom APIs.
18
27
 
19
- ## Quick Start
28
+ ## Getting Started
29
+
30
+ You can get started by running `npx assistant-ui create` (new project) or `npx assistant-ui init` (existing project) in your terminal.
20
31
 
21
32
  [![assistant-ui starter template](https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/assistant-ui-starter.gif)](https://youtu.be/k6Dc8URmLjk)
22
33
 
23
- Step 1: Run `assistant-ui init` to install assistant-ui in a new or existing React.js project:
34
+ ## Features
35
+
36
+ - shadcn/ui
37
+ - Radix UI-inspired primitives for AI Chat
38
+ - Beautiful shadcn/ui theme to get you started
39
+ - Chat UI
40
+ - Streaming, Auto-scrolling, Markdown, Code Highlighting, File Attachments, and more
41
+ - Keyboard shortcuts and accessibility features
42
+ - Generative UI
43
+ - Map LLM tool calls and JSONs to custom UI components
44
+ - Frontend tool calls
45
+ - Let LLMs take action in your frontend application
46
+ - Human tool calls
47
+ - Human approvals and input collection
48
+ - Chat history and analytics
49
+ - Sign up for assistant-cloud and configure by simply setting an environment variable
50
+
51
+ ## Choose your backend
52
+
53
+ - AI SDK
54
+ - First class integration into AI SDK by Vercel. Connect to any LLM provider supported by AI SDK.
55
+ - LangGraph
56
+ - First class integration into LangGraph and LangGraph Cloud. Connect to any LLM provider supported by LangChain.
57
+ - Custom
58
+ - Use assistant-ui as the visualization layer on top your own backend/streaming protocols.
59
+
60
+ ## Customization
61
+
62
+ The API of assistant-ui is inspired by libraries like Radix UI and cmdk. Instead of a single monolithic chat component, we give you composable primitives and a great starter configuration. You have full control over the look and feel of every pixel while leaving auto-scrolling, LLM streaming and accessibility to us.
63
+
64
+ ![Overview of components](https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/components.png)
65
+
66
+ Sample customization to make a perplexity lookalike:
67
+
68
+ ![Perplexity clone created with assistant-ui](https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/perplexity.gif)
69
+
70
+ ## **Demo Video**
71
+
72
+ [![Short Demo](https://img.youtube.com/vi/ZW56UHlqTCQ/hqdefault.jpg)](https://youtu.be/ZW56UHlqTCQ)
73
+
74
+ [![Long Demo](https://img.youtube.com/vi/9eLKs9AM4tU/hqdefault.jpg)](https://youtu.be/9eLKs9AM4tU)
75
+
76
+ ## Traction
77
+
78
+ Hundreds of projects use assistant-ui to build in-app AI assistants, including companies like LangChain, AthenaIntelligence, Browser Use, and more.
79
+
80
+ With >50k+ monthly downloads, assistant-ui is the most popular UI library for AI chat.
81
+
82
+ <img src="https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/growth.png" alt="Growth" style="max-width: 400px;">
24
83
 
25
- ```sh
26
- npx assistant-ui@latest create # new project
27
- npx assistant-ui@latest init # existing project
28
- ```
84
+ ## 2025 Q1 Roadmap
29
85
 
30
- Step 2: Update the `.env` file with your OpenAI API key.
86
+ - [x] Assistant Cloud
87
+ - [x] Chat Persistence
88
+ - [x] React 19, Tailwind v4, NextJS 19 support
89
+ - [x] Improved Markdown rendering performance
90
+ - [x] LangGraph `interrupt()` support
91
+ - [x] Open in v0 support
92
+ - [ ] Improved documentation (work in progress)
93
+ - [ ] OpenAI Realtime Voice (work in progress)
94
+ - [ ] Resume interrupted LLM calls (work in progress)
95
+ - [ ] Native PDF attachment support
96
+ - [ ] Follow-up suggestions
31
97
 
32
- Step 3: Run the app:
98
+ ## Next Steps
33
99
 
34
- ```sh
35
- npm run dev
36
- ```
100
+ - [Check out example demos](https://www.assistant-ui.com/)
101
+ - [Read our docs](https://www.assistant-ui.com/docs/)
102
+ - [Join our Discord](https://discord.com/invite/S9dwgCNEFs)
103
+ - [Book a sales call](https://cal.com/simon-farshid/assistant-ui)
package/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "conversational-ui",
30
30
  "conversational-ai"
31
31
  ],
32
- "version": "0.7.82",
32
+ "version": "0.7.83",
33
33
  "license": "MIT",
34
34
  "exports": {
35
35
  ".": {
@@ -113,8 +113,8 @@
113
113
  "tailwindcss": "^3.4.17",
114
114
  "tailwindcss-animate": "^1.0.7",
115
115
  "tsx": "^4.19.2",
116
- "@assistant-ui/tailwindcss-transformer": "0.1.0",
117
116
  "@assistant-ui/tsconfig": "0.0.0",
117
+ "@assistant-ui/tailwindcss-transformer": "0.1.0",
118
118
  "@assistant-ui/tsbuildutils": "^0.0.1"
119
119
  },
120
120
  "publishConfig": {