AgentXRay: White-Boxing Agentic Systems via Workflow Reconstruction
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
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.
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 60 of its 74 references that are in the map. First posted on arXiv 5 Feb 2026.
Builds on
60 of 74 references.
Closest ancestors · 3
Same direction, newest first
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
- 2023ChatDev: Communicative Agents for Software Development16 Jul
Other references · 57
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2025Qwen3 Technical Reportcited by 8,820
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
38 more
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2023Let's Verify Step by Stepcited by 3,789
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2016Concrete Problems in AI Safetycited by 1,642
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,205
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 928
- 2022Solving math word problems with process- and outcome-based feedbackcited by 901
- 2023Reasoning with Language Model is Planning with World Modelcited by 861
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
- 2016Stealing Machine Learning Models via Prediction APIscited by 619
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
- 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2024Automated Design of Agentic Systemscited by 407
- 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 393
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
- 2021Unsolved Problems in ML Safetycited by 292
- 2019Causal Confusion in Imitation Learningcited by 288
- 2023SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Modelscited by 256
- 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 241
- 2023ART: Automatic multi-step reasoning and tool-use for large language modelscited by 197
- 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
- 2024Cut the Crap: An Economical Communication Pipeline for LLM-based Multi-Agent Systemscited by 141
- 2023RestGPT: Connecting Large Language Models with Real-World RESTful APIscited by 135
- 2025Multi-Agent Collaboration via Evolving Orchestrationcited by 108
50 most cited of 57 All 57 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026FlowBank: Query-Adaptive Agentic Workflows Optimization through Precompute-and-Reuse
- 2026AgentCo-op: Retrieval-Based Synthesis of Interoperable Multi-Agent Workflows
- 2026Learning Compositional Meta-Routing for Agentic Workflows: An Executable Benchmark
- 2026AgentFactory: Towards Automated Agentic System Design and Optimization
- 2026Learning to Compose for Cross-domain Agentic Workflow Generation
- 2025EvoAgentX: An Automated Framework for Evolving Agentic Workflows
- 2025Polymath: A Self-Optimizing Agent with Dynamic Hierarchical Workflow
- 2025MermaidFlow: Redefining Agentic Workflow Generation via Safety-Constrained Evolutionary Programming