1"""

2 AgentOS — Human-in-the-Loop: structured approval workflows + Gradio Dashboard.

3

4 Provides approval request/response primitives, risk assessment,

5 configurable approval policies, and a real-time Gradio approval UI.

6"""

7 from agentos.hitl.approver import (

8 HumanInTheLoop,

9 ApprovalRequest,

10 ApprovalDecision,

11 ApprovalStatus,

12 RiskLevel,

13 ApprovalPolicy,

14 ApprovalCallback,

15)

16 from agentos.hitl.presets import (

17 default_approval_policy,

18 permissive_approval_policy,

19 strict_approval_policy,

20)

21 from agentos.hitl.gradio_ui import (

22 ApprovalDashboard,

23 ApprovalQueue,

24 HITLUIBridge,

25 ApprovalStatus as UIApprovalStatus,

26 RiskLevelUI,

27 ApprovalRequestUI,

28 ApprovalHistory,

29 AgentStatusSnapshot,

30 create_hitl_dashboard,

31)

32

33__all__ = [

34 "HumanInTheLoop",

35 "ApprovalRequest",

36 "ApprovalDecision",

37 "ApprovalStatus",

38 "RiskLevel",

39 "ApprovalPolicy",

40 "ApprovalCallback",

41 "default_approval_policy",

42 "permissive_approval_policy",

43 "strict_approval_policy",

44 # Gradio UI (v1.14.2)

45 "ApprovalDashboard",

46 "ApprovalQueue",

47 "HITLUIBridge",

48 "UIApprovalStatus",

49 "RiskLevelUI",

50 "ApprovalRequestUI",

51 "ApprovalHistory",

52 "AgentStatusSnapshot",

53 "create_hitl_dashboard",

54]