Papers for

api designers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Ai agents face hidden failures calling tools in workflows

When Tool Calls Succeed but Workflows Fail: Anomalies at the Agent-Tool Boundary

Abstract: AI agents increasingly execute long-running workflows that externalize effects through independently supplied tools. Under retries, speculative execution, concurrency, and partial failures, the resulting external state may be inconsistent with the workflow's intended resolution: required effects may be missing or duplicated, aborted effects may survive, and committed effects may depend on provisional state that is later withdrawn. Advanced transaction models address related failures, but assume that lower-level operations expose the semantics they depend on: whether an effect occurred, whether it can be compensated, staged, or safely reordered. Shared agent-tool interfaces usually do not. We contribute an effect-history model that separates events in the external world from the runtime's observations of them, and a catalog of eight recurring external-effect anomalies. From the catalog we derive the boundary capabilities required to exclude each anomaly in general, and four points where black-box tool invocation alone cannot provide a general guarantee. We then ask how much of this is expressible in a widely used shared tool interface, measuring the use of the standard annotation vocabulary across 98,291 tools exposed by registered Model Context Protocol (MCP) servers. The fields are widely emitted but provide only coarse call-level hints, and none of the required capabilities is fully expressible. These results motivate reusable transactional contracts at the tool boundary.

Mon 14 SeptArtificial IntelligenceDatabasesDistributed, Parallel, and Cluster Computing
The gist
When AI agents ask external tools to do tasks during complex workflows, sometimes things go wrong behind the scenes. The authors explain how calls to these tools can appear successful but still cause problems like missing, duplicate, or leftover effects. They studied how current shared interfaces don’t fully capture important details to prevent these errors. Their work suggests better ways to track and manage these tool interactions to avoid workflow breakdowns.
Open 2609.15397v1