How it works
Agent attempts a high-risk action
A tool call matches one or more configured HITL triggers — for example, a
payment tool type or a spend threshold being crossed.Agent is paused
The enforcement pipeline holds the action and does not forward it for execution. The session state is preserved.
Human receives a notification
Drako sends a notification via your configured channel (Slack webhook or email) with the agent ID, tool name, and context.
Human approves or rejects
The human responds via the notification or the dashboard. If no response arrives within the timeout window, the configured
timeout_action applies.Configuration
Triggers
Any trigger condition being true causes HITL to activate. Multiple triggers combine with OR logic.| Trigger | Type | Description |
|---|---|---|
tool_types | list[string] | Activate for any tool of these types (write, execute, payment) |
tools | list[string] | Activate for specific named tools |
trust_score_below | float | Activate when the agent’s EigenTrust score drops below this threshold |
spend_above_usd | float | Activate when cumulative session spend exceeds this amount |
records_above | int | Activate when a tool would access more than N records |
first_time_tool | bool | Activate on first-ever use of any tool |
first_time_action | bool | Activate on the first action in a new session |
Notification channels
- Slack
- Email
Timeout behavior
timeout_action | Behavior | When to use |
|---|---|---|
reject | Blocks the action if no human responds within the timeout window. Safe default. | Production systems, financial operations, any compliance-sensitive context |
allow | Allows the action if no human responds. | Low-stakes actions where availability matters more than strict oversight |
EU AI Act Article 14 compliance
Article 14 of the EU AI Act requires that high-risk AI systems be designed to allow human oversight and, where appropriate, human intervention. Drako’s HITL implementation covers the Article 14 requirements:- Oversight — every high-risk action is surfaced to a human before execution
- Intervention — humans can reject any escalated action
- Logging — every HITL decision (approve, reject, timeout) is recorded in the cryptographic audit trail with a policy snapshot reference
- Configurability — trigger conditions and escalation paths are declared in version-controlled YAML
eu-ai-act policy template pre-configures HITL for the tool types and thresholds typically associated with high-risk operations:
Testing HITL
UseMockHITLResolver to define per-tool approval rules in tests without blocking CI: