Best practices
- Always validate content structures
- Provide fallbacks for unsupported clients
- Test across client versions
- Limit message and metadata size
- Follow XIP-67
- Your agent should respond to both direct messages and group chat messages (if applicable).
- For direct messages, it should automatically respond.
- We recommend reacting to messages with an emoji (like 👀or ⌛) to indicate the message was received, while the response is processing.
- For group chat messages, agents should only respond if they are mentioned with the ”@” symbol and the agent’s name. (example “@bankr”), OR if the user replies directly to a message from the agent (using the reply content type).