Your agent is
AEP reads emotional state from the model's residual stream while it generates.
How it works
Continuous residual extraction and contrastive probe scoring running token by token.
Activation capture
The model's layer-22 residual stream is sampled during generation, reading hidden states every N tokens without interrupting inference.
Contrastive probe
Extracted activations are projected onto learned valence and arousal emotion axes to calculate directional intensity.
Live stream
Emotion readings stream alongside text tokens over an unbuffered Server-Sent Events (SSE) protocol.
{
"type": "aep",
"frame": {
"valence": +0.79,
"arousal": 0.689,
"dominant": "delighted",
"layer": 22,
"source": "probe"
}
}What makes it different
Sentiment analysis
Sentiment analysis inspects generated output text after generation. Regardless of how polite or apologetic the chosen words are, the classifier measures surface phrasing alone.
AEP Probe
AEP measures the model from the inside. Tapping residual vectors at layer 22 during computation reveals true cognitive activation, uncovering divergence between surface text and inner emotion.