Skip to content

Latest commit

 

History

History
85 lines (54 loc) · 1.21 KB

README.md

File metadata and controls

85 lines (54 loc) · 1.21 KB

CoS Example

Prerequisites

Quick Start

Run Node.js Agent

Start the CoS server in one terminal:

python coagent/cos/app.py

Then run a Node.js agent in another terminal:

node examples/cos/cos.js

Finally, start a ping-pong client in the third terminal:

coagent server -H type:Ping

or start a stream-ping-pong client:

coagent stream_server -H type:Ping --chat

Run Python Agent

Start the CoS server in one terminal:

python coagent/cos/app.py

Then run a Python agent in another terminal:

python examples/cos/cos.py

Finally, start a ping-pong client in the third terminal:

coagent server -H type:Ping

or start a stream-ping-pong client:

coagent stream_server -H type:Ping --chat

Run Go Agent

Start the CoS server in one terminal:

python coagent/cos/app.py

Then build and run the Go agent:

cd examples/cos/goagent
go build
./goagent

Finally, start a ping-pong client in the third terminal:

coagent server -H type:Ping