langchain-middleware は何をしますか?
このスキルは、人間参加型の承認、カスタムミドルウェア、構造化出力が必要な場合に呼び出します。危険なツール呼び出しに対する人間の承認を実現するHumanInTheLoopMiddleware、フックを使用したカスタムミドルウェアの作成、Command再開パターン、Pydantic/Zodを用いた構造化出力をカバーします。
人間参加型の承認、カスタムミドルウェア、構造化出力が必要な場合にこのスキルを呼び出します。危険なツール呼び出しに対する人間の承認を実現するHumanInTheLoopMiddleware、フックを使用したカスタムミドルウェアの作成、Command再開パターン、Pydantic/Zodを用いた構造化出力をカバーします。
このスキルは、langchain-ai/langchain-middlewareライブラリを活用し、AIエージェントの安全性と出力品質を向上させるためのものです。主に、危険なツール呼び出しに対して人間の承認を得るHumanInTheLoopMiddlewareの使用方法を提供します。また、フックを利用したカスタムミドルウェアの作成方法や、Commandパターンを用いたエージェントの処理再開手法も網羅しています。さらに、Pydantic(Python)やZod(TypeScript)を用いてエージェントの出力を構造化する方法についても詳細に解説しており、複数のプラットフォーム(LangChain、Claude Code、LangGraph Studio等)での実装をサポートします。このスキルは、特にプロダクション環境でAIエージェントを安全かつ予測可能に動作させたい開発者にとって有用です。
npx skills add https://github.com/langchain-ai/langchain-skills/tree/main/skills/langchain-middlewareInstalled? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
このスキルは、人間参加型の承認、カスタムミドルウェア、構造化出力が必要な場合に呼び出します。危険なツール呼び出しに対する人間の承認を実現するHumanInTheLoopMiddleware、フックを使用したカスタムミドルウェアの作成、Command再開パターン、Pydantic/Zodを用いた構造化出力をカバーします。
This repo contains 11 individual skills — each has its own dedicated page.
INVOKE THIS SKILL when building ANY Deep Agents application. Covers create_deep_agent(), harness architecture, SKILL.md format, and configuration options.
INVOKE THIS SKILL when your Deep Agent needs memory, persistence, or filesystem access. Covers StateBackend (ephemeral), StoreBackend (persistent), FilesystemMiddleware, and CompositeBackend for routing.
INVOKE THIS SKILL when using subagents, task planning, or human approval in Deep Agents. Covers SubAgentMiddleware, TodoList for planning, and HITL interrupts.
INVOKE THIS SKILL at the START of any LangChain/LangGraph/Deep Agents project, before writing any agent code. Determines which framework layer is right for the task: LangChain, LangGraph, Deep Agents, or a combination. Must be consulted before other agent skills.
INVOKE THIS SKILL when setting up a new project or when asked about package versions, installation, or dependency management for LangChain, LangGraph, LangSmith, or Deep Agents. Covers required packages, minimum versions, environment requirements, versioning best practices, and common community tool packages for both Python and TypeScript.
Create LangChain agents with create_agent, define tools, and use middleware for human-in-the-loop and error handling.
INVOKE THIS SKILL when building ANY retrieval-augmented generation (RAG) system. Covers document loaders, RecursiveCharacterTextSplitter, embeddings (OpenAI), and vector stores (Chroma, FAISS, Pinecone).
INVOKE THIS SKILL when writing ANY LangGraph code. Covers StateGraph, state schemas, nodes, edges, Command, Send, invoke, streaming, and error handling.
INVOKE THIS SKILL when implementing human-in-the-loop patterns, pausing for approval, or handling errors in LangGraph. Covers interrupt(), Command(resume=...), approval/validation workflows, and the 4-tier error handling strategy.
INVOKE THIS SKILL when your LangGraph needs to persist state, remember conversations, travel through history, or configure subgraph checkpointer scoping. Covers checkpointers, thread_id, time travel, Store, and subgraph persistence modes.
Dispatches many independent items in parallel: create a table, fan out to subagents, aggregate results. One row = one unit of work.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.