Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

AgentXRay: White-Boxing Agentic Systems via Workflow Reconstruction

About

Large Language Models have shown strong capabilities in complex problem solving, yet many agentic systems remain difficult to interpret and control due to opaque internal workflows. While some frameworks offer explicit architectures for collaboration, many deployed agentic systems operate as black boxes to users. We address this by introducing Agentic Workflow Reconstruction (AWR), a new task aiming to synthesize an explicit, interpretable stand-in workflow that approximates a black-box system using only input--output access. We propose AgentXRay, a search-based framework that formulates AWR as a combinatorial optimization problem over discrete agent roles and tool invocations in a chain-structured workflow space. Unlike model distillation, AgentXRay produces editable white-box workflows that match target outputs under an observable, output-based proxy metric, without accessing model parameters. To navigate the vast search space, AgentXRay employs Monte Carlo Tree Search enhanced by a scoring-based Red-Black Pruning mechanism, which dynamically integrates proxy quality with search depth. Experiments across diverse domains demonstrate that AgentXRay achieves higher proxy similarity and reduces token consumption compared to unpruned search, enabling deeper workflow exploration under fixed iteration budgets.

Ruijie Shi, Houbin Zhang, Yuecheng Han, Yuheng Wang, Jingru Fan, Runde Yang, Yufan Dang, Huatao Li, Dewen Liu, Yuan Cheng, Chen Qian• 2026

Related benchmarks

TaskDatasetResultRank
Workflow ReconstructionCHATDEV (test)
SFE50.9
8
Workflow ReconstructionMETAGPT (test)
SFE55.7
8
Workflow Reconstruction3D MODELING (test)
SFE0.362
8
Workflow ReconstructionSCI (test)
SFE0.312
8
Workflow ReconstructionTEACHMASTER (test)
SFE0.357
8
Agentic Workflow ReconstructionAutomatic Slide Generation Atoms (test)
Similarity0.337
6
Showing 6 of 6 rows

Other info

Follow for update