Skip to content

Files

Latest commit

0852863 · Jul 20, 2025

History

History

ping-pong

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 15, 2025
Feb 14, 2025
Jul 20, 2025

README.md

Ping-Pong

Quick Start

Using NATS Runtime

Prerequisites:

Start a server in one terminal:

python examples/ping-pong/server.py

Then communicate with the agent in another terminal:

coagent server -H type:Ping

Using HTTP Runtime

Prerequisites:

  • Install the following packages:

    pip install hypercorn
    pip install starlette
    pip install sse-starlette

Start the HTTP runtime server:

python examples/ping-pong/http_runtime_server.py

Then start a server in one terminal:

python examples/ping-pong/server.py --server http://localhost:8000

Finally, communicate with the agent in another terminal:

coagent server -H type:Ping --server http://localhost:8000