How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Using Middleware in LangChain: Recovering From Tool Failures

calendar_today November 17, 2026 person Ruchi Saini domain dzone

In this article, we will look at how to handle tool errors using middleware in LangChain. Introduction Agents are built with tools that they can use to perform different tasks. The agent communicates with the LLM, and the LLM decides which tool to call based on the user’s request.

open_in_new Read original post