Skip to main content

README

Agent Runtimes


Agent Runtimes / chat/base/ChatBase

chat/base/ChatBase

Main ChatBase component. Provides a full chat interface with messages and input. This is the base component used by all other chat container components.

Supports multiple modes:

  1. Store mode: Uses Zustand store for state management (default)
  2. Protocol mode: Connects to backend via AG-UI, A2A, Vercel AI, or ACP protocols
  3. Custom mode: Uses onSendMessage prop for custom message handling

Functions

References

default

Renames and re-exports ChatBase