AI AGENT ADDONS

Langchain Middleware

langchain-ai/langchain-skills
AI & Agent Building
10,435installs

This skill helps you add human oversight to your AI agents. It pauses the agent before it performs dangerous actions like sending emails or deleting data. A human can then approve, edit, or reject the action. This keeps your workflows safe and under control.

You can also create your own custom middleware. This lets you intercept tool calls to add logging, error handling, or retry logic. The middleware system works with LangChain and LangGraph checkpoints. You need a checkpointer and thread ID to use the human-in-the-loop features.

After a human makes a decision, the agent continues right where it left off. You can approve the original action, edit its arguments, or reject it entirely. This pattern is ideal for production apps that need safe AI automation with a human in charge.

Add Langchain Middleware skill to your workflow

Global

mkdir -p ~/.claude/skills/langchain-middleware

Project

mkdir -p .claude/skills/langchain-middleware

Source Repository

Stars
832
Forks
71
Watchers
832
Last Push
2 months ago
Created
6 months ago