Examples
Runnable examples: the command-line tools, the Client SDK and the Server SDK.
These examples run against the code in this repository. Each one starts from nothing and ends with something you can see working.
- Chat from a terminal: start the local stack and chat with its mock agent over each transport.
- Client SDK: connect, create a conversation, send a message and answer an approval from Go.
- Server SDK: write an agent, register it next to the mock agent and serve it over HTTP, WebSocket and gRPC.
Run the client and server examples in two terminals. The server listens on 127.0.0.1:8787 and 127.0.0.1:8788, and the client connects to them.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.