@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.
- package/README.md +81 -14
- 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
|
-
|
13
|
+
[](https://app.workweave.ai/reports/repository/org_GhSIrtWo37b5B3Mv0At3wQ1Q/722184017)
|
14
|
+

|
14
15
|
|
15
|
-
|
16
|
+
- [⭐️ Star us on GitHub](https://github.com/assistant-ui/assistant-ui)
|
16
17
|
|
17
|
-
|
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
|
-
##
|
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
|
[](https://youtu.be/k6Dc8URmLjk)
|
22
33
|
|
23
|
-
|
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
|
+

|
65
|
+
|
66
|
+
Sample customization to make a perplexity lookalike:
|
67
|
+
|
68
|
+

|
69
|
+
|
70
|
+
## **Demo Video**
|
71
|
+
|
72
|
+
[](https://youtu.be/ZW56UHlqTCQ)
|
73
|
+
|
74
|
+
[](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
|
-
|
26
|
-
npx assistant-ui@latest create # new project
|
27
|
-
npx assistant-ui@latest init # existing project
|
28
|
-
```
|
84
|
+
## 2025 Q1 Roadmap
|
29
85
|
|
30
|
-
|
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
|
-
|
98
|
+
## Next Steps
|
33
99
|
|
34
|
-
|
35
|
-
|
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.
|
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": {
|