Skip to content
InfoNewsLLM-specific

Monitoring AI agent sessions: Leveraging embedding models to aid threat hunting and attack discovery workflows

Published
Record updated
View JSON

Summary

The author stored six months of their own Claude Code and Cursor sessions as semantic vectors in Elastic and searched them instead of sending every session to an LLM. Roughly one in seven sessions (of 7,454 turns) needed triage for suspicious actions, and the agent's reasoning carried more signal than the prompt. The article argues that agent sessions require semantic search for threat hunting because a new question would otherwise force reevaluation of all collected data.