This folder collects runnable demos that showcase how to integrate the tRPC-Agent-Go AG-UI server and various clients.
client/– General client-side samples.server/– General server-side samples.messagessnapshot/– Example showing how to enable and consume message snapshots.
- Start the default AG-UI server:
go run ./server/default- In another terminal start the TDesign chat client::
cd ./client/tdesign-chat
pnpm install
pnpm devOr start the CopilotKit client:
cd ./client/copilotkit
pnpm install
pnpm dev- Ask a question such as
Calculate 2*(10+11)and watch the live event stream in the terminal. A full transcript example is documented inclient/copilotkit/README.md.
See the individual README files under client/ and server/ for more background and configuration options.