What is HITL?
Some actions are too risky to run without a human sign-off. HITL lets you pause a workflow mid-execution, send an email with a signed approve/deny link, and only continue if a human clicks approve. No login required for the approver. The link is signed, one-time-use, and auto-expires.Usage
How It Works
- What the agent wants to do (workflow + payload summary)
- A signed Approve link (one-time-use)
- A signed Deny link (one-time-use)
- Expiry time
Approval Token Security
- Tokens are HMAC-signed and bound to the specific action
- Clicking approve for run
Acannot approve runB - Tokens expire after
timeout_seconds - After use, tokens cannot be reused
Check HITL Status Programmatically
Environment Variables
| Variable | Purpose |
|---|---|
ENACT_EMAIL_DRY_RUN=1 | Skip real email sends — prints approve link to stdout. Use in dev/test. |
CLOUD_SECRET | Server-side signing secret for HITL tokens |