SEJul 8

Mining Workflow Graphs for Black-Box Boundary Testing of Conversational LLM Agents

arXiv:2607.0687314.2h-index: 5
Predicted impact top 24% in SE · last 90 daysOriginality Incremental advance
AI Analysis

For developers and testers of conversational LLM agents, AgentEval addresses the hard problem of testing hidden state-dependent failures without source code access.

AgentEval is a black-box testing framework that mines a conversational workflow graph from LLM agents to discover and stress stateful boundaries (e.g., identity checks, confirmation gates). On four agents, it generates tests covering 23–38 distinct boundaries per agent, outperforming a prompt-only baseline (23 vs. 12 boundaries) with lower duplicates and false alarms.

Conversational LLM agents can cause real-world harm when their internal workflows fail, such as completing a transaction without confirmation. Testing these state-dependent failures is difficult because critical boundaries, such as identity checks and confirmation gates, are hidden behind multi-turn conversational prerequisites, rendering them inaccessible to standard tests. We present AgentEval, a black-box testing framework that discovers and stresses these stateful boundaries. AgentEval interacts with an agent to mine a \emph{conversational workflow graph}, a model of its behavior. Instead of prompting blindly, AgentEval uses this graph's structure to enumerate specific guards and prerequisites as test targets, replaying the conversational path to a boundary before applying a perturbation. AgentEval then executes each test, determining whether it passes or fails using only the conversation turns. We benchmark AgentEval against a privileged, white-box auditor with access to the agent's underlying source code, which AgentEval never sees. On four $τ^3$-bench agents, AgentEval successfully generates tests covering $23$--$38$ distinct boundaries per agent; ablation studies attribute the gain to the graph's structure: $23$ distinct boundaries versus $12$ with a prompt-only baseline, at lower duplicate and false-alarm rates.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes