← All projects

Chat SDK.

A React interface for agents. Streaming replies, tool calls, and interactive questions, with your backend behind it.

The UI behind Symphony Web, packaged for other apps. Bring an adapter, import the stylesheet, and mount Chat. No Next.js dependency.

React 18 or later. The adapter yields normalized message snapshots from your backend; Chat renders them. This small example returns one local reply.

The protocol represents text, reasoning, tool states, sources, files, data, and widgets. Event reducers normalize streams into message parts. Your adapter handles the backend connection; the UI consumes the same shapes.

Use the optional AI SDK adapter with an endpoint that speaks the AI SDK UI message stream protocol. Install ai (version 5 or later) alongside the chat package. The endpoints below are supplied by your application.

Explore the AI SDK example ↗