百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

assistant-ui

> 前端框架
开源

TypeScript / React 相接器 相接器 AI 聊天库

11.3K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

TypeScript / React 相接器 相接器 AI 聊天库

<a href='https://www.assistant-ui.com">(英语:ZZURL0 ZHZ) 维基语录链接:名人名言 - 文学作品 - 谚语 - 谚语 < 图片> < source media="(偏好-彩色-scheme: 暗色)" srcset="https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/header-dark.svg" /" < source media="(首选-彩色-scheme:光)" srcset="https://raw.githubusercontent.com/assistant-ui/assistant-ui/main/.github/assets/header.svg" /"

</图片> (简体中文)

<p对齐="中心"> = = <a href='https://www.assistant-ui.com/docs">Documentation → (中文(简体) ). Examples → (中文(简体) ). <a href='https://discord.gg/S9dwgCNEFs">Discord → (中文(简体) ). <a href='https://cal.com/simon-farshid/assistant-ui">Contact 销售

(中文(简体) ).

□ 在您的 React 应用程序中的 ChatGPT

** Assistant-ui**是一个开源的TypeScript/React库,用于快速构建生产级AI聊天体验.

□ 安装

最快的路径是CLI,它会脚手架上一个Next.js应用,或者将有样式的组件添加到现有的工程中:

(原始内容存档于2019-09-29) (英语). ```bash npx assistant-ui@latest create # new project npx assistant-ui@latest init # add to existing project

bash

或者直接安装软件包 :

ZZ1ZZ

□ 使用量

(原始内容存档于2019-09-29). ```tsx
"use client";

import { AssistantRuntimeProvider } from "@assistant-ui/react";
import { useChatRuntime } from "@assistant-ui/ai-sdk";
import { Thread } from "@/components/assistant-ui/elements/thread.aui";

export function Chat() {
  const runtime = useChatRuntime();
  return (
    <AssistantRuntimeProvider runtime={runtime}>
      <Thread />
    </AssistantRuntimeProvider>
  );
}

" 使用ChatRuntime " 连接箱外的Vercel AI SDK。 换成“使用LangGraphRuntime”、“使用DataStreamRuntime”或任何自定义的运行时间,与自己的后端集成。 ∮你得到的∮

  • ** 可能的原始人**:从Thread'、Message'、Composer'、ThreadList'、`ActionBar'和朋友那里建立任何聊天UX。 给您自己样式每个像素, 或者从一个被擦亮的 shadcn/ ui 主题开始, CLI 复制到您的项目中 。
  • ** 从盒出产UX**:流出、自动卷出、回转、附件、减记、代码突出、语音拼写、键博

Issues· 426 开放

查看全部 Issues在 GitHub 打开
  • #8517

    React-ag-ui: 适配器仍然依赖 @ag-ui/client ^0.0.59,而工作区已升级到 1.0

    bug更新于 2026年9月28日
  • #8223

    [React] 从其他位置开始的运行会将焦点从另一个文本域移动到编辑器中

    bug更新于 2026年9月28日
  • #8505

    其他运行时钩子在快速刷新时仍会丢失正在运行的工作

    bug更新于 2026年9月28日
  • #8485

    feat(demos): 添加键盘线程管理和共享终端侧栏

    enhancementapp/docstype/feature更新于 2026年9月27日
  • #8480

    核心: 在排队派发通知期间取消会导致消息队列停滞

    bug更新于 2026年9月26日
  • #8413

    ai-sdk: 对于后续转为关注的消息进行批准操作无效

    bugpkg/ai-sdk更新于 2026年9月26日
  • #8473

    ci: Claude-review 在没有发布评论的大 PR 中失败

    enhancement更新于 2026年9月26日
  • #8472

    ci: 将模板占地面积上限恢复为 300

    maintenance更新于 2026年9月26日
  • #8469

    docs: element-docs.ts 条目永远不会渲染

    bug更新于 2026年9月26日
  • #8461

    [React-ag-ui] 当运行时使用 MESSAGES_SNAPSHOT 开始时,在调用工具后,会重新生成答案,而删除之前的答案

    bug更新于 2026年9月26日

> 标签

TypeScriptai-chatbotchatbotconversational-aicopilot

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月28日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架