langgraph-human-in-the-loop 是做什麼的?
請在實作 LangGraph 中的人機協作模式、暫停等待審核或處理錯誤時,呼叫此技能。涵蓋 interrupt()、Command(resume=...)、審核/驗證工作流程,以及四層錯誤處理策略。
在實作 LangGraph 中的人機協作模式、暫停等待審核或處理錯誤時,請呼叫此技能。涵蓋 interrupt()、Command(resume=...)、審核/驗證工作流程,以及四層錯誤處理策略。
此技能提供在 LangGraph 中實作人機協作(Human-in-the-Loop)模式的完整指南。它詳細說明如何使用 `interrupt()` 函數暫停圖形執行,等待人類輸入,並使用 `Command(resume=...)` 恢復流程。此外,還涵蓋了審核與驗證工作流程的建構方式,讓開發者可以在關鍵決策點插入人工確認步驟。本技能也定義了一個四層錯誤處理策略,幫助開發者穩健地處理執行過程中的各種異常情況。無論是在開發 AI Agent、工作流程自動化,或是需要人工介入的複雜任務時,此技能都是不可或缺的參考資源。
npx skills add https://github.com/langchain-ai/langchain-skills/tree/main/skills/langgraph-human-in-the-loopInstalled? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
請在實作 LangGraph 中的人機協作模式、暫停等待審核或處理錯誤時,呼叫此技能。涵蓋 interrupt()、Command(resume=...)、審核/驗證工作流程,以及四層錯誤處理策略。
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 you need human-in-the-loop approval, custom middleware, or structured output. Covers HumanInTheLoopMiddleware for human approval of dangerous tool calls, creating custom middleware with hooks, Command resume patterns, and structured output with Pydantic/Zod.
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 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.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.