atlas

Research map / Large language models / Agents, code and math

ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agents

ICLR 2025 · Large language models › Agents, code and math · approach: Software engineering agents · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces ShortcutsBench, a benchmark of 1414 real Apple Shortcuts APIs and 7627 human-annotated shortcuts to evaluate API-based LLM agents on API selection, parameter filling, and requesting user/system input.

Problem

Existing API-agent benchmarks use manually crafted or LLM-generated APIs and queries with limited complexity, and they fail to differentiate modern LLMs; they also ignore parameter filling and requests for missing input.

Approach

Build the benchmark from real Apple Shortcuts workflows: real APIs extracted from apps, human-written action sequences as golden labels, and queries generated by GPT-4o from natural-language shortcut descriptions, with evaluation of API selection, parameter filling, and ask-for-input recognition.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase task difficulty from (0,1] to (1,5] actionsAPI-based agents on ShortcutsBench · API selectionaccuracy: The average accuracy dropped by 19%; decreases ranged from 9% to 44%.Hurt
Increase task difficulty from (0,1] to (5,15] actionsAPI-based agents on ShortcutsBench · API selectionaccuracy: accuracy fell by 46%; drops ranged from 38% to 58%.Hurt
Use open-source LLM agents instead of closed-source agentsAPI-based agents on ShortcutsBench · API selection, lower-difficulty tasksaccuracyNo clear effect
Use open-source LLM agents instead of closed-source agentsAPI-based agents on ShortcutsBench · API selection, highest-difficulty tasksaccuracyHurt
Fill parameters from the user's query rather than use outputs from previous actionsAPI-based agents on ShortcutsBench · API parameter value fillingaccuracy: The accuracy drop ranges from 2.55% to 15.39%.Hurt
Fine-tune AgentLM, Lemur, or xLAM models for agent scenariosShortcutsBench API agents · Recognition of need for inputaccuracyNo clear effect
Increase task difficultyLess-intelligent LLM agents on ShortcutsBench · API parameter value fillingaccuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: Apple Shortcuts (7627 shortcuts from 14 sharing sites)

Benchmarks: ShortcutsBench

Metrics: API selection accuracy static parameter preset accuracy outputs from previous actions accuracy ask for necessary information accuracy

Baselines: MetaTool ToolLLM ToolBench ToolAlpaca APIBank ToolQA ToolLens AgentLM xLAM Lemur

Builds on: ToolLLM ReAct MetaTool ToolBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy