The use case
A customer asks a question. The AI handles it. When the customer wants a person — or the model fails — the conversation escalates and a human agent picks up the same thread, full history intact. Watch both sides at once.
-
Customer asks a question
Goes to the AI. The reply streams in token by token over the websocket.
-
A follow-up, still with the AI
The assistant sees the conversation history, not just the latest line.
-
Customer asks for a human
The trigger phrase escalates the conversation. It appears in the agent queue on the right.
-
Agent takes over
In the agent pane: click the conversation in the queue, then Take over from AI. The AI goes silent from that moment — that's the handoff contract.
-
Agent replies as a person
Type a reply in the agent pane and send. It lands in the customer's widget instantly. Tick internal note first to leave a note the customer never sees.
-
Resolve
Hit Resolve. The customer can still reopen or start a new conversation.
OLLAMA_BASE_URL / AI_MODEL.