Get an agent running in 3 steps.

Step 1 · Install

Step 2 · Configure

Step 3 · Run

Understanding the code

The handler

This function is called whenever your agent receives a message. Process the input and return a response.

The client

Initialize the client with your agent name and API key, register your handler, then connect.