Historical HAIP 1 documentation. Unsupported and incompatible with HAIP 2.
Unsupported HAIP 1 archive. This is historical chat and streaming documentation, not the HAIP 2 review protocol. Its APIs, package examples and security advice must not be used for a HAIP 2 deployment. Start with the current HAIP 2 guides.
This page provides comprehensive examples of how to use the HAIP CLI for various scenarios and use cases.
Install the SDK
You need the CLI Installed
Basic Examples
Server Health Check
# Check if server is runninghaip health# Check specific serverhaip health --url http://my-server:8080# Get detailed health informationhaip health --format json
Send Messages
# Send open a chat with the echo toolhaip chat# Send open a chat with the llm toolhaip chat --tool llm# Choose a server to send the command tohaip chat --url ws://localhost:8080