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

# Is Running • AI Agent SDK

> is_running: Whether the gateway is currently running.

# is\_running

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

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

Whether the gateway is currently running.

## Signature

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

### Returns

<ResponseField name="Returns" type="bool">
  The result of the operation.
</ResponseField>

## Used By

* [`RealtimeAgent.connect`](../functions/RealtimeAgent-connect)
* [`RealtimeAgent.disconnect`](../functions/RealtimeAgent-disconnect)
* [`RealtimeAgent.send_text`](../functions/RealtimeAgent-send_text)
* [`RealtimeAgent.send_audio`](../functions/RealtimeAgent-send_audio)
* [`Task.execute_callback_sync`](../functions/Task-execute_callback_sync)

## Source

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