Skip to main content

Get started in three steps

Implement HAIP in your application with this quick guide.

📦 Install Packages

Step 1: Create Server

Save this in server.js

Step 2: Create client

Save this in client.js

Step 3: Run Locally

In the client
You should see something like this:

Step 4: Connecting with the CLI Tool

Now run (assumig you are running this locally on localhost:8080)
You can also use the echo tool:

Authentication

Secure your connections with JWT tokens and proper validation.

Tool Integration

Enable agents to call external tools and APIs.

Flow Control

Manage back-pressure and prevent system overload.

Error Handling

Implement robust error handling and recovery.