JGuang / JGuang UI

July 2026 - Introducing @jguang-ui/helpers

本页提供 JGuang UI 技术内容、中文导航与术语适配。

中文模式已适配导航、标题、简介、目录与常用章节名称。翻译状态:部分完成;技术正文目前仍为英文。

We are open sourcing @jguang-ui/helpers, a new package for small, focused helpers that make developing apps easier.

Starting with a helper for AI SDK and TanStack AI. It lets you write a conversation in code, then run it through the real useChat lifecycle without a model, API route, network request, or API key.

Your UI receives native framework messages and streaming events, so reasoning, tool calls, loading states, and message components behave the same way they do in production.

Here is a conversation written with the AI SDK helper:

Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.

Pass its messages and transport to useChat:

import { useChat } from "@ai-sdk/react"

const initialMessages = chat.get(0)
const transport = chat.transport()

export function Chat() {
  const { messages } = useChat({
    messages: initialMessages,
    transport,
  })
}

The package includes two adapters:

Use it to build components, create previews and demos, write documentation, or test streaming interfaces with deterministic output and no backend dependency.

Read the Docs

来源: changelog/2026-07-helpers.mdx

JGuang UI 技术文档。