New protocol version released: This page may contain outdated information.
Prerequisites
- HAIP CLI installed (see Installation)
- A HAIP server running (see HAIP Server)
Step 1: Verify Installation
First, let’s make sure the CLI is working:Step 2: Check Server Health
Before connecting, let’s check if your HAIP server is running:Step 3: Connect to Server
Connect to your HAIP server:Ctrl+C.
Step 4: Send Messages
Send your first message:Step 5: Call Tools
Test tool integration:Step 6: Start a Run
Start a new conversation run:Step 7: Monitor Events
Monitor server events in real-time:Step 8: Test Performance
Test your server’s performance:Complete Example Session
Here’s a complete example session:Environment Configuration
Set up environment variables for convenience:Common Patterns
Testing Server Connectivity
Debugging Issues
Performance Testing
Next Steps
Now that you’re familiar with the basics:- Command Reference - Complete command documentation
- Configuration - Advanced configuration options
- Examples - More usage examples and patterns
- API Reference - Technical API documentation