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

# Supports Runtime Mode • AI Agent SDK

> supports_runtime_mode: Check if this runtime supports the given execution mode.

# supports\_runtime\_mode

Method

> This is a method of the [**TurnRuntimeProtocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/TurnRuntimeProtocol.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Check if this runtime supports the given execution mode.

## Signature

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

## Parameters

**mode** `RuntimeMode` *required*

The runtime mode to check

### Returns

**Returns** `bool`

True if the mode is supported, False otherwise

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/protocols.py#L75)
>
> `praisonaiagents/runtime/protocols.py` at line 75


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.