> ## 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.

# interrupt • AI Agent SDK

> interrupt: Send a user interrupt to the active session.

# interrupt

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ManagedBackendProtocol**](../classes/ManagedBackendProtocol) class in the [**protocols**](../modules/protocols) module.

Send a user interrupt to the active session.

Signals the managed agent to stop its current work (equivalent to
`user.interrupt` event in the Anthropic API).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def interrupt() -> None
```

## Source

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