mlsanityData to 14 Oct 2026

AgentXRay: White-Boxing Agentic Systems via Workflow Reconstruction

arXiv 2602.05353 ↗First posted 5 Feb 2026cs.AI cs.CLcited by 0

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

  1. 2024AFlow: Automating Agentic Workflow Generation14 Oct
  2. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
  3. 2023ChatDev: Communicative Agents for Software Development16 Jul

Other references · 57

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  7. 2025Qwen3 Technical Reportcited by 8,820
  8. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  9. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  10. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  11. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  12. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
38 more
  1. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  2. 2023Let's Verify Step by Stepcited by 3,789
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  5. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  6. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  7. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  8. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,006
  9. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  10. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
  11. 2016Concrete Problems in AI Safetycited by 1,642
  12. 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
  13. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  14. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  15. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,205
  16. 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
  17. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 928
  18. 2022Solving math word problems with process- and outcome-based feedbackcited by 901
  19. 2023Reasoning with Language Model is Planning with World Modelcited by 861
  20. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
  21. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
  22. 2016Stealing Machine Learning Models via Prediction APIscited by 619
  23. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
  24. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 574
  25. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
  26. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
  27. 2024Automated Design of Agentic Systemscited by 407
  28. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Casescited by 393
  29. 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
  30. 2021Unsolved Problems in ML Safetycited by 292
  31. 2019Causal Confusion in Imitation Learningcited by 288
  32. 2023SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Modelscited by 256
  33. 2024Scaling Large Language Model-based Multi-Agent Collaborationcited by 241
  34. 2023ART: Automatic multi-step reasoning and tool-use for large language modelscited by 197
  35. 2020Understanding the Failure Modes of Out-of-Distribution Generalizationcited by 146
  36. 2024Cut the Crap: An Economical Communication Pipeline for LLM-based Multi-Agent Systemscited by 141
  37. 2023RestGPT: Connecting Large Language Models with Real-World RESTful APIscited by 135
  38. 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

  1. 2026FlowBank: Query-Adaptive Agentic Workflows Optimization through Precompute-and-Reuse
  2. 2026AgentCo-op: Retrieval-Based Synthesis of Interoperable Multi-Agent Workflows
  3. 2026Learning Compositional Meta-Routing for Agentic Workflows: An Executable Benchmark
  4. 2026AgentFactory: Towards Automated Agentic System Design and Optimization
  5. 2026Learning to Compose for Cross-domain Agentic Workflow Generation
  6. 2025EvoAgentX: An Automated Framework for Evolving Agentic Workflows
  7. 2025Polymath: A Self-Optimizing Agent with Dynamic Hierarchical Workflow
  8. 2025MermaidFlow: Redefining Agentic Workflow Generation via Safety-Constrained Evolutionary Programming