mlsanityData to 24 Nov 2026

Automated Safety Analysis for Agentic Workflows

arXiv 2611.28469 ↗Submitted 21 Nov 2026Announced 24 Nov 2026cs.SE cs.AIcited by 0

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

Abstract (arXiv)

LLM applications are increasingly built as agentic workflows: programs that combine model calls, external tools, and control logic to act autonomously on a user's behalf. Because these workflows execute real-world actions, logical flaws in how a workflow is wired can cause severe harm in deployed systems. Unlike prompt injections or malformed API calls, these workflow bugs stem from defects in the workflow's design, yet no existing tool can statically validate workflow logic across frameworks prior to deployment. We present Apsis, a static safety analyzer that detects workflow bugs before deployment. To operate across frameworks, Apsis lifts framework-specific code into a common intermediate representation (IR). This IR models a workflow as a semantic graph of steps, data dependencies, and shared state, while annotating each component with behavioral properties such as whether an input is mandatory or how a shared channel merges concurrent writes. Building on this representation, we introduce a bug description language that formalizes recurring classes of agentic failures as declarative patterns over the IR. By matching these patterns against the IR, Apsis detects structural and behavioral flaws and pinpoints the exact step responsible for each bug. To evaluate Apsis, we construct, to our knowledge, the first corpus of workflow bugs, distilled from real-world reports across 13 widely used frameworks. On a reproducible benchmark suite drawn from this corpus, Apsis detects workflow bugs with 91% precision and 84% recall, and uncovers 36 previously unknown bugs in real-world workflows.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 6 of its 52 references that are in the map. Submitted 21 Nov 2026, announced 24 Nov 2026.

Builds on

6 of 52 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
  2. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug

Other references · 4

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
  3. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,638
  4. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 397

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Agentproof: Static Verification of Agent Workflow Graphs
  2. 2025SHIELDA: Structured Handling of Exceptions in LLM-Driven Agentic Workflows
  3. 2025AgentGuard: Repurposing Agentic Orchestrator for Safety Evaluation of Tool Orchestration
  4. 2026Tail-risk-aware Agent Safety: Constraining Tail Risks Across Multi-step LLM Agent Workflows
  5. 2026AgentS4D: Benchmarking Runtime Risks across the Execution Lifecycle of LLM-Based Workspace Agents
  6. 2026Diagnosis-Driven Automatic Repair for Agentic Workflow via Symbolic Inference
  7. 2026Security in a Workflow: Exploring Role-Based Agentic Architectures for Vulnerability Handling
  8. 2025Demystifying the Lifecycle of Failures in Platform-Orchestrated Agentic Workflows