Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AG-UI Examples

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.

Quick Start

  1. Start the default AG-UI server:
go run ./server/default
  1. In another terminal start the TDesign chat client::
cd ./client/tdesign-chat
pnpm install
pnpm dev

Or start the CopilotKit client:

cd ./client/copilotkit
pnpm install
pnpm dev
  1. Ask a question such as Calculate 2*(10+11) and watch the live event stream in the terminal. A full transcript example is documented in client/copilotkit/README.md.

See the individual README files under client/ and server/ for more background and configuration options.