AgentLoupe: Kernel-Resident Semantic Causal Labels for AI Agent Observability
Yifei Bao, Ting Liu, Yuxin Ren, Ruizhe Huang, Likang Luo, Ziteng Xu, Yu Wang, Peng Jiang
Abstract
AI agents translate user intents into system actions via tool invocations. Accurately attributing these actions to their originating LLM interactions is essential for security auditing, yet existing methods, such as AgentSight, fail for delayed execution and cross-process-lineage behaviors. We present AgentLoupe, an application-transparent eBPF-based observability tool. The core insight of AgentLoupe is to embed causal identity into kernel resources. AgentLoupe employs eBPF to capture TLS plaintext to interpret LLM interactions, and assigns each a kernel-resident semantic label. It maintains labels in eBPF maps, then propagates this label across processes and threads, associates it with kernel resources such as files and sockets. When a persistent resource carries context to an independent process outside the original lineage, this design preserves the delayed causal association. Experiments show that the average observation overhead of AgentLoupe is below 8%, and case studies confirm AgentLoupe traces cross-lineage persistent attacks back to their originating LLM interactions.
Create a lesson
Metadata
- Comments
- Accepted to the 5th Workshop on Practical Adoption Challenges of ML for Systems (PACMI 2026), co-located with ACM SOSP 2026
Related papers
Connection Escrow: Holding AI-Agent Pod Egress in the Kernel Until an Isolated Verifier Rules
Shared title terminologycs.CRAshok Subbabhatta Gopalakrishna
How Effectively Do Security Skills Guide Coding Agents in Vulnerability Detection in Linux Kernel?
Shared title terminologycs.CRHaoran Xue, Nikta Akbarpour, Gias Uddin et al.
SemVideoSte: Agentic AI for Cross-Modal Semantic Video Steganography Communication
Shared title terminologycs.CRRui Meng, Song Gao, Tingting Zhu et al.
What It Is, Not What It Says: Securing Agentic Browsing Interactions with Web Semantics
Shared title terminologycs.CRUmar Iqbal
ExecWeave: Cross-Layer Execution Provenance for Observable Agentic Software
Shared title terminologycs.CRGuo-Wei Wong, Meng Chang Chen
ParseGap: Testing What Coding Agents Authorize and What Shells Execute
Shared title terminologycs.CRJieyu Li