AGENTIF: Benchmarking Instruction Following of Large Language Models in Agentic Scenarios
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated advanced capabilities in real-world agentic applications. Growing research efforts aim to develop LLM-based agents to address practical demands, introducing a new challenge: agentic scenarios often involve lengthy instructions with complex constraints, such as extended system prompts and detailed tool specifications. While adherence to such instructions is crucial for agentic applications, whether LLMs can reliably follow them remains underexplored. In this paper, we introduce AgentIF, the first benchmark for systematically evaluating LLM instruction following ability in agentic scenarios. AgentIF features three key characteristics: (1) Realistic, constructed from 50 real-world agentic applications. (2) Long, averaging 1,723 words with a maximum of 15,630 words. (3) Complex, averaging 11.9 constraints per instruction, covering diverse constraint types, such as tool specifications and condition constraints. To construct AgentIF, we collect 707 human-annotated instructions across 50 agentic tasks from industrial application agents and open-source agentic systems. For each instruction, we annotate the associated constraints and corresponding evaluation metrics, including code-based evaluation, LLM-based evaluation, and hybrid code-LLM evaluation. We use AgentIF to systematically evaluate existing advanced LLMs. We observe that current models generally perform poorly, especially in handling complex constraint structures and tool specifications. We further conduct error analysis and analytical experiments on instruction length and meta constraints, providing some findings about the failure modes of existing LLMs. We have released the code and data to facilitate future research.
Key facts. Cited by 49 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 27 of its 37 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
27 of 37 references.
Closest ancestors · 1
Same direction, newest first
Other references · 26
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024GPT-4o System Cardcited by 4,588
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2023Instruction-Following Evaluation for Large Language Modelscited by 1,228
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 438
- 2023AppAgent: Multimodal Agents as Smartphone Userscited by 415
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379
- 2023A Real-World WebAgent with Planning, Long Context Understanding, and Program Synthesiscited by 353
14 more
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 162
- 2024Benchmarking Complex Instruction-Following with Multiple Constraints Compositioncited by 152
- 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 135
- 2023FollowBench: A Multi-level Fine-grained Constraints Following Benchmark for Large Language Modelscited by 117
- 2024Multi-IF: Benchmarking LLMs on Multi-Turn and Multilingual Instructions Followingcited by 102
- 2025PPTAgent: Generating and Evaluating Presentations Beyond Text-to-Slidescited by 86
- 2023Can Large Language Models Understand Real-World Complex Instructions?cited by 69
- 2024CFBench: A Comprehensive Constraints-Following Benchmark for LLMscited by 67
- 2025LLM Agents for Education: Advances and Applicationscited by 59
- 2023When does In-context Learning Fall Short and Why? A Study on Specification-Heavy Taskscited by 37
- 2024SysBench: Can Large Language Models Follow System Messages?cited by 28
- 2024Conifer: Improving Complex Constrained Instruction-Following Ability of Large Language Modelscited by 27
- 2025CodeIF: Benchmarking the Instruction-Following Capabilities of Large Language Models for Code Generationcited by 19
- 2024Constraint Back-translation Improves Complex Instruction Following of Large Language Modelscited by 11
Built on by
Citing papers per year: 2025: 11; 2026: 38.
49 papers.
Sort:
By area:
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
- 2026AgentNoiseBench: Benchmarking Robustness of Tool-Using LLM Agents Under Noisy Conditioncited by 23
- 2026OctoBench: Benchmarking Scaffold-Aware Instruction Following in Repository-Grounded Agentic Codingcited by 15
- 2026TRIP-Bench: A Benchmark for Long-Horizon Interactive Agents in Real-World Scenarioscited by 10
- 2026IF-RewardBench: Benchmarking Judge Models for Instruction-Following Evaluationcited by 10
- 2026RAIN-Merging: A Gradient-Free Method to Enhance Instruction Following in Large Reasoning Models with Preserved Thinking Formatcited by 9
- 2025Beyond Task Completion: An Assessment Framework for Evaluating Agentic AI Systemscited by 8
- 2025Replay Failures as Successes: Sample-Efficient Reinforcement Learning for Instruction Followingcited by 8
- 2026Uncertainty-Aware Clarification in LLM Agents with Information Gaincited by 8
- 2025Revisiting the Reliability of Language Models in Instruction-Followingcited by 7
- 2026CCTU: A Benchmark for Tool Use under Complex Constraintscited by 7
- 2025Instructions are all you need: Self-supervised Reinforcement Learning for Instruction Followingcited by 6
37 more
- 2026Did You Forget What I Asked? Prospective Memory Failures in Large Language Modelscited by 6
- 2026Learning to Act under Noise: Enhancing Agent Robustness via Noisy Environmentscited by 6
- 2026PerspectiveGap: A Benchmark for Multi-Agent Orchestration Promptingcited by 6
- 2026EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discoverycited by 6
- 2026S1-DeepResearch: Beyond Search, Toward Real-World Long-Horizon Research Agentscited by 5
- 2025Reasoning over Boundaries: Enhancing Specification Alignment via Test-time Deliberationcited by 4
- 2026Neuro-Symbolic Verification on Instruction Following of LLMscited by 4
- 2026ARKV: Adaptive and Resource-Efficient KV Cache Management under Limited Memory Budget for Long-Context Inference in LLMscited by 4
- 2026RecRM-Bench: Benchmarking Multidimensional Reward Modeling for Agentic Recommender Systemscited by 4
- 2026OneDayAgent: Towards a Long-Horizon Harness for Autonomous Agentscited by 4
- 2026Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agentscited by 4
- 2025Beyond the Trade-off: Self-Supervised Reinforcement Learning for Reasoning Models' Instruction Followingcited by 3
- 2025Evaluating Language Model Reasoning about Confidential Informationcited by 3
- 2026Evaluating Ill-Defined Tasks in Large Language Modelscited by 3
- 2026The Compliance Gap: Why AI Systems Promise to Follow Process Instructions but Don'tcited by 3
- 2026Characterization of Multi-Model Agentic AI Systems on General Tasks via Trace-Driven Simulationcited by 3
- 2025LogicIF: Towards Complex Logic Instruction Followingcited by 2
- 2025Analyzing and Internalizing Complex Policy Documents for LLM Agentscited by 2
- 2026Amory: Building Coherent Narrative-Driven Agent Memory through Agentic Reasoningcited by 2
- 2026On the Paradoxical Interference between Instruction-Following and Task Solvingcited by 2
- 2026One Token Away from Collapse: The Fragility of Instruction-Tuned Helpfulnesscited by 1
- 2026SEIF: Self-Evolving Reinforcement Learning for Instruction Followingcited by 1
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
- 2026Selective QA over Conflicting Multi-Source Personal Memory: A Diagnostic Testbed and Method Comparisoncited by 1
- 2025Diagnostics of cognitive failures in multi-agent expert systems using dynamic evaluation protocols and subsequent mutation of the processing contextcited by 0
- 2026LsrIF: Enhancing Logic-Structured Instruction Following of Large Language Modelscited by 0
- 2026UniComp: A Unified Evaluation of Large Language Model Compression via Pruning, Quantization, and Distillationcited by 0
- 2026Humans' ALMANAC: A Human Collaboration Dataset of Action-Level Mental Model Annotations for Agent Collaborationcited by 0
- 2026Long SKILL Compliance as Logical Reasoning: Closure-Grounded Detection with Scaling-Guided On-Policy Distillationcited by 0
- 2026LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMscited by 0
- 2026Mitigating Exploration Bias in RL for Multi-Instruction Followingcited by 0
- 2026Video-IFBench: Evaluating Instruction Following of Multimodal LLMs in Video Understanding Scenarioscited by 0
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Codingcited by 0
- 2026What Happens During Autonomous Deep Research After the User Steps Away?cited by 0
- 2026Large-scale factor analysis shows machine intelligence is only partially interpretablecited by 0
- 2026How Do Agentic LLMs Decide to Call Tools? A Tool-Call Vector Shaped by Suppressioncited by 0
- 2026ANCHOR: Assessing Naturalistic Constraint Hierarchies and Ordering in Repository-Grounded Agentic Codingcited by 0
- 2026ANCHOR: Assessing Naturalistic Constraint Hierarchies and Ordering in Repository-Grounded Agentic Coding12 Oct 2026
- 2026How Do Agentic LLMs Decide to Call Tools? A Tool-Call Vector Shaped by Suppression7 Oct 2026
- 2026Large-scale factor analysis shows machine intelligence is only partially interpretable29 Sep 2026
- 2026What Happens During Autonomous Deep Research After the User Steps Away?27 Sep 2026
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding14 Sep 2026
- 2026Video-IFBench: Evaluating Instruction Following of Multimodal LLMs in Video Understanding Scenarios26 Aug 2026
- 2026Mitigating Exploration Bias in RL for Multi-Instruction Following24 Aug 2026
- 2026Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agents12 Aug 2026
- 2026LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMs9 Aug 2026
- 2026Long SKILL Compliance as Logical Reasoning: Closure-Grounded Detection with Scaling-Guided On-Policy Distillation8 Aug 2026
- 2026OneDayAgent: Towards a Long-Horizon Harness for Autonomous Agents4 Aug 2026
- 2026S1-DeepResearch: Beyond Search, Toward Real-World Long-Horizon Research Agents13 Jun 2026
37 more
- 2026EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discovery11 Jun 2026
- 2026PerspectiveGap: A Benchmark for Multi-Agent Orchestration Prompting7 Jun 2026
- 2026Humans' ALMANAC: A Human Collaboration Dataset of Action-Level Mental Model Annotations for Agent Collaboration4 Jun 2026
- 2026Uncertainty-Aware Clarification in LLM Agents with Information Gain2 Jun 2026
- 2026Characterization of Multi-Model Agentic AI Systems on General Tasks via Trace-Driven Simulation1 Jun 2026
- 2026Selective QA over Conflicting Multi-Source Personal Memory: A Diagnostic Testbed and Method Comparison28 May 2026
- 2026Learning to Act under Noise: Enhancing Agent Robustness via Noisy Environments26 May 2026
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback18 May 2026
- 2026RecRM-Bench: Benchmarking Multidimensional Reward Modeling for Agentic Recommender Systems12 May 2026
- 2026SEIF: Self-Evolving Reinforcement Learning for Instruction Following8 May 2026
- 2026The Compliance Gap: Why AI Systems Promise to Follow Process Instructions but Don't3 May 2026
- 2026One Token Away from Collapse: The Fragility of Instruction-Tuned Helpfulness14 Apr 2026
- 2026Evaluating Ill-Defined Tasks in Large Language Models17 Mar 2026
- 2026CCTU: A Benchmark for Tool Use under Complex Constraints16 Mar 2026
- 2026Did You Forget What I Asked? Prospective Memory Failures in Large Language Models7 Mar 2026
- 2026IF-RewardBench: Benchmarking Judge Models for Instruction-Following Evaluation5 Mar 2026
- 2026RAIN-Merging: A Gradient-Free Method to Enhance Instruction Following in Large Reasoning Models with Preserved Thinking Format26 Feb 2026
- 2026ARKV: Adaptive and Resource-Efficient KV Cache Management under Limited Memory Budget for Long-Context Inference in LLMs19 Feb 2026
- 2026AgentNoiseBench: Benchmarking Robustness of Tool-Using LLM Agents Under Noisy Condition11 Feb 2026
- 2026UniComp: A Unified Evaluation of Large Language Model Compression via Pruning, Quantization, and Distillation9 Feb 2026
- 2026TRIP-Bench: A Benchmark for Long-Horizon Interactive Agents in Real-World Scenarios2 Feb 2026
- 2026On the Paradoxical Interference between Instruction-Following and Task Solving29 Jan 2026
- 2026Neuro-Symbolic Verification on Instruction Following of LLMs25 Jan 2026
- 2026OctoBench: Benchmarking Scaffold-Aware Instruction Following in Repository-Grounded Agentic Coding15 Jan 2026
- 2026LsrIF: Enhancing Logic-Structured Instruction Following of Large Language Models10 Jan 2026
- 2026Amory: Building Coherent Narrative-Driven Agent Memory through Agentic Reasoning9 Jan 2026
- 2025Replay Failures as Successes: Sample-Efficient Reinforcement Learning for Instruction Following29 Dec 2025
- 2025Revisiting the Reliability of Language Models in Instruction-Following15 Dec 2025
- 2025Beyond Task Completion: An Assessment Framework for Evaluating Agentic AI Systems14 Dec 2025
- 2025Instructions are all you need: Self-supervised Reinforcement Learning for Instruction Following16 Oct 2025
- 2025Analyzing and Internalizing Complex Policy Documents for LLM Agents13 Oct 2025
- 2025Diagnostics of cognitive failures in multi-agent expert systems using dynamic evaluation protocols and subsequent mutation of the processing context18 Sep 2025
- 2025Reasoning over Boundaries: Enhancing Specification Alignment via Test-time Deliberation18 Sep 2025
- 2025Evaluating Language Model Reasoning about Confidential Information27 Aug 2025
- 2025LogicIF: Towards Complex Logic Instruction Following12 Aug 2025
- 2025Beyond the Trade-off: Self-Supervised Reinforcement Learning for Reasoning Models' Instruction Following4 Aug 2025
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AI26 May 2025
- 2025Vibe Coding vs. Agentic Coding: Fundamentals and Practical Implications of Agentic AIcited by 42
- 2026AgentNoiseBench: Benchmarking Robustness of Tool-Using LLM Agents Under Noisy Conditioncited by 23
- 2026OctoBench: Benchmarking Scaffold-Aware Instruction Following in Repository-Grounded Agentic Codingcited by 15
- 2026TRIP-Bench: A Benchmark for Long-Horizon Interactive Agents in Real-World Scenarioscited by 10
- 2025Beyond Task Completion: An Assessment Framework for Evaluating Agentic AI Systemscited by 8
- 2026Uncertainty-Aware Clarification in LLM Agents with Information Gaincited by 8
- 2026CCTU: A Benchmark for Tool Use under Complex Constraintscited by 7
- 2026Learning to Act under Noise: Enhancing Agent Robustness via Noisy Environmentscited by 6
- 2026PerspectiveGap: A Benchmark for Multi-Agent Orchestration Promptingcited by 6
- 2026EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discoverycited by 6
- 2026S1-DeepResearch: Beyond Search, Toward Real-World Long-Horizon Research Agentscited by 5
- 2026ARKV: Adaptive and Resource-Efficient KV Cache Management under Limited Memory Budget for Long-Context Inference in LLMscited by 4
12 most cited of 25 All 25 (JSON)
- 2026ANCHOR: Assessing Naturalistic Constraint Hierarchies and Ordering in Repository-Grounded Agentic Coding12 Oct 2026
- 2026How Do Agentic LLMs Decide to Call Tools? A Tool-Call Vector Shaped by Suppression7 Oct 2026
- 2026MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding14 Sep 2026
- 2026Harness-IF: Evaluating Instruction Following Across Instruction Surfaces in Coding Agents12 Aug 2026
- 2026LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMs9 Aug 2026
- 2026OneDayAgent: Towards a Long-Horizon Harness for Autonomous Agents4 Aug 2026
- 2026S1-DeepResearch: Beyond Search, Toward Real-World Long-Horizon Research Agents13 Jun 2026
- 2026EurekAgent: Agent Environment Engineering is All You Need For Autonomous Scientific Discovery11 Jun 2026
- 2026PerspectiveGap: A Benchmark for Multi-Agent Orchestration Prompting7 Jun 2026
- 2026Humans' ALMANAC: A Human Collaboration Dataset of Action-Level Mental Model Annotations for Agent Collaboration4 Jun 2026
- 2026Uncertainty-Aware Clarification in LLM Agents with Information Gain2 Jun 2026
- 2026Characterization of Multi-Model Agentic AI Systems on General Tasks via Trace-Driven Simulation1 Jun 2026
12 newest of 25 All 25 (JSON)
- 2026RAIN-Merging: A Gradient-Free Method to Enhance Instruction Following in Large Reasoning Models with Preserved Thinking Formatcited by 9
- 2025Reasoning over Boundaries: Enhancing Specification Alignment via Test-time Deliberationcited by 4
- 2025Beyond the Trade-off: Self-Supervised Reinforcement Learning for Reasoning Models' Instruction Followingcited by 3
- 2025Evaluating Language Model Reasoning about Confidential Informationcited by 3
- 2026Long SKILL Compliance as Logical Reasoning: Closure-Grounded Detection with Scaling-Guided On-Policy Distillationcited by 0
- 2026Long SKILL Compliance as Logical Reasoning: Closure-Grounded Detection with Scaling-Guided On-Policy Distillation8 Aug 2026
- 2026RAIN-Merging: A Gradient-Free Method to Enhance Instruction Following in Large Reasoning Models with Preserved Thinking Format26 Feb 2026
- 2025Reasoning over Boundaries: Enhancing Specification Alignment via Test-time Deliberation18 Sep 2025
- 2025Evaluating Language Model Reasoning about Confidential Information27 Aug 2025
- 2025Beyond the Trade-off: Self-Supervised Reinforcement Learning for Reasoning Models' Instruction Following4 Aug 2025
- 2026IF-RewardBench: Benchmarking Judge Models for Instruction-Following Evaluationcited by 10
- 2025Revisiting the Reliability of Language Models in Instruction-Followingcited by 7
- 2026Did You Forget What I Asked? Prospective Memory Failures in Large Language Modelscited by 6
- 2026Neuro-Symbolic Verification on Instruction Following of LLMscited by 4
- 2026Evaluating Ill-Defined Tasks in Large Language Modelscited by 3
- 2026The Compliance Gap: Why AI Systems Promise to Follow Process Instructions but Don'tcited by 3
- 2026On the Paradoxical Interference between Instruction-Following and Task Solvingcited by 2
- 2026One Token Away from Collapse: The Fragility of Instruction-Tuned Helpfulnesscited by 1
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedbackcited by 1
- 2026Selective QA over Conflicting Multi-Source Personal Memory: A Diagnostic Testbed and Method Comparisoncited by 1
- 2026LsrIF: Enhancing Logic-Structured Instruction Following of Large Language Modelscited by 0
- 2026UniComp: A Unified Evaluation of Large Language Model Compression via Pruning, Quantization, and Distillationcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Large-scale factor analysis shows machine intelligence is only partially interpretable29 Sep 2026
- 2026What Happens During Autonomous Deep Research After the User Steps Away?27 Sep 2026
- 2026Mitigating Exploration Bias in RL for Multi-Instruction Following24 Aug 2026
- 2026Selective QA over Conflicting Multi-Source Personal Memory: A Diagnostic Testbed and Method Comparison28 May 2026
- 2026A-ProS: Towards Reliable Autonomous Programming Through Multi-Model Feedback18 May 2026
- 2026The Compliance Gap: Why AI Systems Promise to Follow Process Instructions but Don't3 May 2026
- 2026One Token Away from Collapse: The Fragility of Instruction-Tuned Helpfulness14 Apr 2026
- 2026Evaluating Ill-Defined Tasks in Large Language Models17 Mar 2026
- 2026Did You Forget What I Asked? Prospective Memory Failures in Large Language Models7 Mar 2026
- 2026IF-RewardBench: Benchmarking Judge Models for Instruction-Following Evaluation5 Mar 2026
- 2026UniComp: A Unified Evaluation of Large Language Model Compression via Pruning, Quantization, and Distillation9 Feb 2026
- 2026On the Paradoxical Interference between Instruction-Following and Task Solving29 Jan 2026
12 newest of 15 All 15 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026AgentGym2: Benchmarking Large Language Model Agents in De-Idealized Real-World Environments
- 2023AgentBench: Evaluating LLMs as Agents
- 2026Enhancing LLM Instruction Following: An Evaluation-Driven Multi-Agentic Workflow for Prompt Instructions Optimization
- 2024AgentQuest: A Modular Benchmark Framework to Measure Progress and Improve LLM Agents
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMs
- 2025LMR-BENCH: Evaluating LLM Agent's Ability on Reproducing Language Modeling Research
- 2026UniACE: A Unified Framework for Evaluating LLM Agentic Capabilities
- 2026AgentIF-OneDay: A Task-level Instruction-Following Benchmark for General AI Agents in Daily Scenarios