Towards Data Science

I Built a Tool-Calling Agent in Python. Here’s How I Debugged It

A minimal loop with real API calls, validation, compact outputs, and trace evidence before adding an agent framework The post I Built a Tool-Calling Agent in Python. Here’s How I Debugged It appeared first on Towards Data Science .

Towards Data Science
Oct 9

Build Your First AI Agent with One Tool Call

The article titled "Build Your First AI Agent with One Tool Call" introduces beginners to AI agents, presenting the first part of a series. It focuses on the foundational steps required to create an AI agent using a single tool call. The post is published on Towards Data Science and serves as an introductory guide for newcomers to the field.

By Thomas Reid
arXiv AI
Sep 24

Silent Failures in Agent-Tool Interaction: An Audit of ToolUniverse

The paper audits silent failures in agent-to-tool interactions within the ToolUniverse environment, focusing on 15 scientific tools. It identifies 91 failures—primarily missing data or inconsistent search/filtering—occurring mainly in the API and wrapper layers, and shows how these silent failures can propagate downstream into seemingly valid outputs. The authors propose contextual reliability and recommend testing, disclosure, monitoring, and measurement strategies for the agent-tool pipeline.

By Shreya Gopalan, Devansh Singh, Sundaraparipurnan Narayanan
arXiv AI
Aug 26

ToolRobustBench: Stage-Wise Perturbation Evaluation and Failure Diagnosis for Tool-Calling Agents

ToolRobustBench is a stage-wise diagnostic benchmark designed to evaluate and diagnose failures in tool‑calling agents, which are large language models that select tools, provide structured arguments, and interpret tool feedback. The benchmark aligns four perturbation families—tool‑interface, user‑intent, tool‑output/observation, and runtime‑environment—with the tool‑use pipeline, attributing failures to specific stages such as tool selection, schema grounding, argument binding, and feedback handling. Experiments across 15,456 instances, 7 models, and 16 local tools reveal that while overall performance is high, robustness degrades significantly, especially under tool‑output/observation perturbations, and mixed‑family perturbations produce non‑additive failure patterns.

By YiShan Zheng, Yuan Wu, Yi Chang