Skip to content
Star

Choose an AI runtime

Find the recipe for your chat SDK, client, or stream format.

Start with the data you already have

A runtime keeps messages and provides commands such as send or stop. A model provider generates responses. A protocol describes how messages and events move between server and client.

Already have messages? Start by rendering them directly. Otherwise, find the SDK or protocol your app uses below and follow its first example.

By framework or protocol

The recipes show which client to use and which data it passes to the view. Check tested versions before connecting your server.

By need

What Ghost handles

Ghost renders messages and can check whether a command still applies to the open conversation. Your SDK keeps its event handling and state. Your app configures the connection, saves conversations, and runs tools. Import only the parts the recipe uses.

Assistant UI offers managed runtimes, external-store integration and standalone elements. Its managed thread features may suit a new chat product; Ghost's integration edge fits an existing product that already owns state. shadcn offers copyable parts and SDK helpers. These are useful alternatives; SDK independence alone does not establish performance, bundle or whole-library superiority.

Build the conversation UI

Once messages appear, add Composer for replies, Activity for progress, or Citation for sources. The component pages show layout and styling.