Emergency Stop Protocol • AI Agent SDK

EmergencyStopProtocol: Pure contract for the global operator brake consulted at every seam.

EmergencyStopProtocol

Defined in the protocols module.

AI Agent

Pure contract for the global operator brake consulted at every seam.

Fail-safe rule: if the engaged state cannot be read with confidence (a corrupt / unreadable durable sentinel), `is_engaged() MUST return True — an ambiguous brake holds new work rather than letting it run freely. engage/disengage` are idempotent.

Methods

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 8002