Currently, in CometChat’s BYO Agent (AG-UI) integration, there is no mechanism to report the execution result of frontend-triggered actions back to the AI agent. When an agent triggers an action that is executed on the frontend (for example, schedule_appointment, chat_escalation_handoff, or other UI-driven workflows), the frontend can execute the action but cannot communicate the success or failure status back to the agent.
Example Flow:
User: "My app keeps crashing, please create a ticket"
Agent → CometChat: TOOL_CALL (create_support_ticket)
CometChat → Frontend: Trigger action
Frontend → Backend API: Create support ticket
Backend: Ticket #12345 created successfully
Expected behavior:
The frontend should be able to report the result back to the agent (e.g., success with ticket ID or failure with an error message), allowing the agent to respond:
"Your ticket #12345 was created successfully. Our support team will respond within 24 hours."
Please authenticate to join the conversation.
New
💡 Feature Request
Get notified by email when there are changes.
New
💡 Feature Request
Get notified by email when there are changes.