Skip to content
L

langchain-middleware

INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware

by langchain-aiFree

#4399in AI Skills
0In stores

Description

langchain-middleware is an agent skill from the langchain-ai/langchain-skills collection, listed on skills.sh. It guides an AI agent through…

Highlights

  • Pauses dangerous tool calls for human approval
  • Custom middleware for errors, logging and retries
  • Resumes after approve, edit or reject decisions
  • Needs a checkpointer and thread_id

Ratings & Reviews

No ratings yet

Be the first to rate langchain-middleware.

People also visit

L

langgraph-human-in-the-loop

INVOKE THIS SKILL when implementing human-in-the-loop patterns

AI Skills
Get
E

ecosystem-primer

INVOKE FIRST for any LangChain / LangGraph / Deep Agents agent building project

AI Skills
Get
G

gotoHuman

Human-in-the-loop platform

AI Skills
Get
A

AgentGate

Human-in-the-loop approval gateway for AI agents over MCP: request, decide

AI Skills
Get
T

trigger-agents

AI agent patterns with Trigger.dev

AI Skills
Get
C

create-agent

Bootstrap a modular AI agent

AI Skills
Get

langchain-middleware FAQ

What does the langchain-middleware skill do?

It helps an AI agent set up LangChain middleware for human approval of tool calls, custom tool-call handling and resuming runs.

How do I install it?

Run: npx skills add https://github.com/langchain-ai/langchain-skills --skill langchain-middleware

What does a human-in-the-loop workflow need?

A checkpointer and a thread_id in the config, according to the skill.

What can the person decide?

The skill describes approve, edit and reject decisions, after which execution continues with command resume.

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

Is it free?

The listing shows it as free.

What are the best langchain-middleware alternatives?

Popular alternatives to langchain-middleware include langgraph-human-in-the-loop, ecosystem-primer and gotoHuman. See all langchain-middleware alternatives

Developer Stuff

Badges