Agent Chat is in closed beta. Contact us at [email protected] to get access.
useAgentChat from @novu/react. You render the messages and the composer.
Capabilities
Full matrix: Channels overview.
Examples
In-app turn
A subscriber sends a message in your UI. Novu loads conversation history, runs the agent brain, and streams the reply over the socket. Typing and thinking parts update while the turn runs.Tool approval
A gated tool pauses the turn.pendingActions includes a tool-approval item. Call respondToAction with approved or denied. The turn resumes after the decision.
Setup
- Create an agent and keep it active.
- In the Novu dashboard, open the agent and add Agent Chat as a channel. Novu creates the
novu-agent-chatintegration if it does not exist. - Embed the chat in your app. Follow Build the UI.
Related
Build the UI
Install
@novu/react, wrap NovuProvider, and send a message.useAgentChat
Hook props, return value, and callbacks.