Principle:42 evey Hermes plugins Interruption Budget
| Knowledge Sources | |
|---|---|
| Domains | User_Experience, Interruption_Management, Proactive_Comunication |
| Last Updated | 2026-10-29 00:00 GMT |
Overview
A rate-limiting pattern that constrains proactive messages to a daily budget with cooldown enforcement and work-hours awareness, respecting the user's attention as a finite resource.
Description
Interruption Budget addresses notification fatigue in autonomous agents that can send messages proactively. Without constraints, an agent might send too many messages, overwhelming the user. The pattern enforces three layered constraints:
- Work hours: Messages only send during configured hours (default 9-21), supporting overnight windows (e.g., 22-6). This respects the user's non-work time.
- Daily budget: Maximum messages per day (default 4). Once exhausted, messages are blocked until the next day.
- Cooldown: Minimum interval between messages (default 45 minutes). If the user doesn't respond, the cooldown doubles, progressively reducing interruption frequency.
An urgent flag bypasses all constraints for critical alerts (service down, security incidents).
State persists across sessions and resets daily. The budget query tool lets the agent check remaining capacity before attempting to send.
Usage
Use this principle when designing proactive messaging systems for autonomous agents. Essential for any system where the agent can initiate communication without user prompting. The progressive cooldown (doubling on no response) is particularly effective for adapting to user engagement levels.
Theoretical Basis
The three-layer constraint model:
Failed to parse (syntax error): {\displaystyle \text{can\_send} = \text{in\_work\_hours} \land \text{sent\_today} < \text{budget} \land \text{elapsed} \geq \text{cooldown} }
With bypass:
Failed to parse (syntax error): {\displaystyle \text{can\_send} = \text{can\_send} \lor \text{urgent} }
The progressive cooldown:
Failed to parse (unknown function "\begin{cases}"): {\displaystyle \text{cooldown}_{n+1} = \begin{cases} 2 \times \text{cooldown}_n & \text{if no response} \\ \text{base\_cooldown} & \text{if response} \end{cases} }
# Abstract algorithm (NOT real implementation)
if not urgent:
if not in_work_hours(): return blocked("outside work hours")
if sent_today >= 4: return blocked("budget exhausted")
if elapsed < cooldown: return blocked("cooldown active")
send_message()
sent_today += 1
last_sent = now()