Heddle can show whether the agent's responses are drifting away from the recent semantic trajectory of the conversation.
The CyberLoop workflow is observe-only. Drift telemetry is opt-in for chat sessions because it uses OpenAI Platform embeddings when enabled.
When CyberLoop is available, Heddle can:
- load CyberLoop kinematics middleware
- embed assistant output frames
- compare the current response trajectory against the previous assistant response when available
- show
drift=unknown|low|medium|highin the chat footer - highlight medium/high drift in the status bar
- write
cyberloop.annotationevents into saved traces
Tool outputs are excluded from chat drift scoring so the signal focuses on where the agent's own responses are heading.
- Chat drift uses a more sensitive default stability threshold than CyberLoop's library default.
- Set
HEDDLE_DRIFT_STABILITY_THRESHOLDif you want to tune it. - The toggle is saved on the active chat session.
- OpenAI account sign-in is not used for drift embeddings; enable drift only when you intend to use OpenAI Platform API-key mode for this telemetry.
/driftreports the last unavailable reason if the middleware or embeddings fail.
Heddle does not calculate semantic drift itself. For the underlying methodology, see the CyberLoop repository and paper.