> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Emergency Stop Protocol • AI Agent SDK

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

# EmergencyStopProtocol

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

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

<CardGroup cols={2}>
  <Card title="is_engaged()" icon="function" href="../functions/EmergencyStopProtocol-is_engaged">
    Instance method.
  </Card>

  <Card title="engage()" icon="function" href="../functions/EmergencyStopProtocol-engage">
    Instance method.
  </Card>

  <Card title="disengage()" icon="function" href="../functions/EmergencyStopProtocol-disengage">
    Instance method.
  </Card>

  <Card title="state()" icon="function" href="../functions/EmergencyStopProtocol-state">
    Instance method.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L6337">
  `praisonaiagents/gateway/protocols.py` at line 6337
</Card>
