TealTemporal addresses the temporal dimension of OWASP ASI-08 (Excessive Agency) — the risk that agents operate indefinitely, retry sensitive actions without pause, or act outside approved operational windows.
Why This Matters
Compliance alignment: NIST AI RMF (GOVERN 3.2 — human oversight mechanisms), ISO 42001 (A.9.4 — monitoring), EU AI Act Article 14 (human oversight timing).
Class
TemporalOptions
Session TTL
Session TTL enforces maximum session lifetimes. When a session expires, the agent must re-authenticate before continuing.SessionStatus
Cooldown Periods
Cooldown periods enforce minimum wait times between sensitive actions. This prevents rapid-fire retries and limits the speed of potential attacks.CooldownRule
CooldownStatus
Time-of-Day Restrictions
Restrict agent operations to specific time windows. Sensitive actions can be limited to business hours when human oversight is available.TimeRestrictionRule
evaluate()
The primary evaluation method — checks all temporal constraints for a request.TemporalDecision
Integration with TealEngine
Related Documentation
- TealEngine v1.3 API — Pre-evaluation temporal checks
- NHI Governance — Session TTL ties to NHI lifecycle
- TealState — Context TTL for state entries
- Automation Levels — approval_required with timeout behavior
- TealMonitor v2 — Cost rate limiting complements cooldowns

