Skip to main content
New protocol version released: This page may contain outdated information.
Get the HAIP Server running in under 5 minutes with this quick start guide.

Prerequisites

  • Node.js 18.0.0 or higher
  • npm 8.0.0 or higher

Step 1: Clone and Install

Step 2: Start the Server

You should see output like:

Step 3: Test the Connection

Health Check

Expected response:

WebSocket Connection

Create a simple test client:
Run the test client:

Step 4: Test Built-in Tools

The server includes several built-in tools for testing:

Echo Tool

Add Tool

Step 5: Monitor Server Statistics

Check server statistics in real-time:
Expected response:

Complete Example

Here’s a complete example that demonstrates all major features:
Run the complete example:

What’s Next?