- Irreversible operations. Sending an email, deleting a record, or posting to a channel cannot be undone. A human checkpoint prevents mistakes that require cleanup or apologies.
- Missing context. The agent knows what action to take but lacks a critical detail. A deployment needs a target environment. A booking needs a budget. Rather than guessing, the agent pauses and asks.
- Audit trail. Sensitive operations need accountability. Slack threads already contain the discussion that led to the action. Rendering the approval in the same thread keeps the decision and its context together.
Quick start
The Slack interface renders HITL pauses as interactive cards in the thread. Users approve, reject, or provide input without leaving Slack.- Agent
- Team
- Workflow
agent.py
Pause types
| Pause type | Slack card | Trigger |
|---|---|---|
| Confirmation | Approve/Reject buttons | @tool(requires_confirmation=True) |
| User input | Text fields or dropdowns | @tool(requires_user_input=True) |
| External execution | Confirm button, result fed back | @tool(external_execution=True) |
| User feedback | Dynamic forms: checkboxes, dropdowns, text questions | UserFeedbackTools() |
Next steps
HITL Overview
All pause types and how to use them
Reference
All parameters and endpoints