#what methods for interacting with agents are there. which are closest to real time
1 messages · Page 1 of 1 (latest)
There are two main methods for interacting with agents: server-side webhooks and client-side events.
-
Server-Side Webhooks: These are used to perform actions on the server, such as making API calls or updating databases. They operate on the server side and are not directly visible to the user.
-
Client-Side Events: These operate directly in the user's browser and can trigger actions like opening modals, making API calls, or executing custom functions during conversations. Client-side events are closer to real-time interaction as they happen directly in the user's browser, providing immediate feedback and engagement.
no i mean i know websocket is one. what other methods for setting up a channel for user to communicate with an agent