返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

langgraph-hitl

带有人工介入和干预点的LangGraph工作流程的人机协同集成

person作者: jakexiaohubgithub

LangGraph Human-in-the-Loop Skill

Capabilities

  • Implement interrupt points in LangGraph workflows
  • Configure human approval gates
  • Design intervention interfaces
  • Handle workflow resumption after human input
  • Implement timeout and escalation logic
  • Create notification systems for pending approvals

Target Processes

  • langgraph-workflow-design
  • tool-safety-validation

Implementation Details

HITL Patterns

  1. Interrupt Before: Pause before node execution
  2. Interrupt After: Pause after node for review
  3. Conditional Interrupt: Context-based pausing
  4. Tool Call Approval: Review tool invocations

Configuration Options

  • Interrupt node selection
  • Approval timeout settings
  • Escalation paths
  • Notification channels
  • State modification permissions

Best Practices

  • Clear approval prompts
  • Reasonable timeout defaults
  • Proper escalation chains
  • Audit logging for approvals

Dependencies

  • langgraph
  • langgraph-checkpoint (for persistence)