Skip to content

Langgraph hitl mixin

Mixin that encapsulates HITL helper logic for LangGraph agents.

LangGraphHitLMixin

Provide Human-in-the-Loop helpers for LangGraph agents.

hitl_manager: ApprovalManager | None property writable

Return the active ApprovalManager, creating one if needed.

ensure_hitl_manager()

Ensure an ApprovalManager exists when HITL configs are present.

register_hitl_notifier(notifier)

Register a notifier callback to receive HITL approval requests.

use_hitl_manager(manager)

Replace the current ApprovalManager with the supplied instance.