langchain-middleware

Installation
SKILL.md
  • HumanInTheLoopMiddleware / humanInTheLoopMiddleware: Pause before dangerous tool calls for human approval
  • Custom middleware: Intercept tool calls for error handling, logging, retry logic
  • Command resume: Continue execution after human decisions (approve, edit, reject)

Requirements: Checkpointer + thread_id config for all HITL workflows.


Human-in-the-Loop

Installs
8.4K
GitHub Stars
795
First Seen
Mar 4, 2026
langchain-middleware — langchain-ai/langchain-skills