mlsanityData to 7 Oct 2026

Sherlock: Reliable and Efficient Agentic Workflow Execution

arXiv 2511.00330 ↗First posted 1 Nov 2025cs.MA cs.SEcited by 10

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

With the increasing adoption of large language models (LLM), agentic workflows, which compose multiple LLM calls with tools, retrieval, and reasoning steps, are increasingly replacing traditional applications. However, such workflows are inherently error-prone: incorrect or partially correct output at one step can propagate or even amplify through subsequent stages, compounding the impact on the final output. Recent work proposes integrating verifiers that validate LLM output or actions, such as self-reflection, debate, or LLM-as-a-judge mechanisms. Yet, verifying every step introduces significant latency and cost overheads. In this work, we seek to answer three key questions: which nodes in a workflow are most error-prone and thus deserve costly verification, how to select the most appropriate verifier for each node, and how to use verification with minimal impact to latency? Our solution, Sherlock, addresses these using counterfactual analysis on agentic workflows to identify error-prone nodes and selectively attaching cost-optimal verifiers only where necessary. At runtime, Sherlock speculatively executes downstream tasks to reduce latency overhead, while verification runs in the background. If verification fails, execution is rolled back to the last verified output. Compared to the non-verifying baseline, Sherlock delivers an 18.3% accuracy gain on average across benchmarks. Sherlock reduces workflow execution time by up to 48.7% over non-speculative execution and lowers verification cost by 26.0% compared to the Monte Carlo search-based method, demonstrating that principled, fault-aware verification effectively balances efficiency and reliability in agentic workflows.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 46 of its 58 references that are in the map. First posted on arXiv 1 Nov 2025.

Builds on

46 of 58 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024AI Metropolis: Scaling Large Language Model-based Multi-Agent Simulation with Out-of-order Execution5 Nov
  2. 2024AFlow: Automating Agentic Workflow Generation14 Oct
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar

Other references · 43

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  7. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  8. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  9. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  10. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  11. 2021Program Synthesis with Large Language Modelscited by 3,509
  12. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
31 more
  1. 2023Qwen Technical Reportcited by 3,273
  2. 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
  3. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  4. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  5. 2025Why Do Multi-Agent LLM Systems Fail?cited by 559
  6. 2024Automated Design of Agentic Systemscited by 360
  7. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 278
  8. 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
  9. 2023Evaluating Correctness and Faithfulness of Instruction-Following Models for Question Answeringcited by 150
  10. 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuningcited by 106
  11. 2024GTA: A Benchmark for General Tool Agentscited by 77
  12. 2024AutoFlow: Automated Workflow Generation for Large Language Model Agentscited by 76
  13. 2022Tomayto, Tomahto. Beyond Token-level Answer Equivalence for Question Answering Evaluationcited by 66
  14. 2025Autellix: An Efficient Serving Engine for LLM Agents as General Programscited by 57
  15. 2025An AI system to help scientists write expert-level empirical softwarecited by 52
  16. 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 49
  17. 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalizationcited by 48
  18. 2022Two-stage LLM Fine-tuning with Less Specialization and More Generalizationcited by 39
  19. 2025PathFinder: A Multi-Modal Multi-Agent System for Medical Diagnostic Decision-Making Applied to Histopathologycited by 36
  20. 2025Optimizing Model Selection for Compound AI Systemscited by 34
  21. 2025Flow: Modularized Agentic Workflow Automationcited by 31
  22. 2025Atla Selene Mini: A General Purpose Evaluation Modelcited by 27
  23. 2024Revisiting Code Similarity Evaluation with Abstract Syntax Tree Edit Distancecited by 26
  24. 2025Optimas: Optimizing Compound AI Systems with Globally Aligned Local Rewardscited by 23
  25. 2025Large Language Models and Mathematical Reasoning Failurescited by 22
  26. 2025Speculative Actions: A Lossless Framework for Faster Agentic Systemscited by 20
  27. 2025Murakkab: Resource-Efficient Agentic Workflow Orchestration in Cloud Platformscited by 18
  28. 2024Conveyor: Efficient Tool-aware LLM Serving with Tool Partial Executioncited by 16
  29. 2025Control the Temperature: Selective Sampling for Diverse and High-Quality LLM Outputscited by 15
  30. 2025Compass: SLO-aware Query Planner for Compound AI Serving at Scalecited by 5
  31. 2025Divide, Optimize, Merge: Fine-Grained LLM Agent Optimization at Scalecited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 10.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Execution
  2. 2026Characterizing Large Language Model Agentic Workflows: A Study on N8n Ecosystem
  3. 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
  4. 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective
  5. 2026Toward Reliable Design of LLM-Enabled Agentic Workflows: Optimizing Latency-Reliability-Cost Tradeoffs
  6. 2026Complete Cyclic Subtask Graphs for Tool-Using LLM Agents: Flexibility, Cost, and Bottlenecks in Long-Horizon Workflows
  7. 2026BabelArena: A Large-Scale Multilingual Benchmark for LLM Agents
  8. 2026Maat: Independent Deterministic Contract-Based Governance for Multi-Agent LLM Workflows