mlsanityData to 14 Oct 2026

Unsupervised Cycle Detection in Agentic Applications

arXiv 2511.10650 ↗First posted 31 Oct 2025cs.CL cs.AI cs.MAcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Agentic applications powered by Large Language Models exhibit non-deterministic behaviors that can form hidden execution cycles, silently consuming resources without triggering explicit errors. Traditional observability platforms fail to detect these costly inefficiencies. We present an unsupervised cycle detection framework that combines structural and semantic analysis. Our approach first applies computationally efficient temporal call stack analysis to identify explicit loops and then leverages semantic similarity analysis to uncover subtle cycles characterized by redundant content generation. Evaluated on 1575 trajectories from a LangGraph-based stock market application, our hybrid approach achieves an F1 score of 0.72 (precision: 0.62, recall: 0.86), significantly outperforming individual structural (F1: 0.08) and semantic methods (F1: 0.28). While these results are encouraging, there remains substantial scope for improvement, and future work is needed to refine the approach and address its current limitations.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 4 of its 11 references that are in the map. First posted on arXiv 31 Oct 2025.

Builds on

4 of 11 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar

Other references · 3

  1. 2025Multi-Agent Risks from Advanced AIcited by 163
  2. 2024Visibility into AI Agentscited by 79
  3. 2025SentinelAgent: Graph-based Anomaly Detection in Multi-Agent Systemscited by 22

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Geometric Dynamics of Agentic Loops in Large Language Models
  2. 2025Process-Centric Analysis of Agentic Software Systems
  3. 2026TraceCompiler: Skill-Guided Mining and Compilation of LLM Agent Traces into Mostly Deterministic Workflows
  4. 2025Agentic AI Process Observability: Discovering Behavioral Variability
  5. 2026The Log is the Agent: Event-Sourced Reactive Graphs for Auditable, Forkable Agentic Systems
  6. 2026Agentic Fuzzing: Opportunities and Challenges
  7. 2025Catching Contamination Before Generation: Spectral Kill Switches for Agents
  8. 2026AdaLens: Interactive Storyline for Monitoring and Steering Long-Running Agentic Data Analysis