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

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

> This is a method of the [**TurnRuntimeProtocol**](../classes/TurnRuntimeProtocol) class in the [**protocols**](../modules/protocols) 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

<ParamField query="mode" type="RuntimeMode" required={true}>
  The runtime mode to check
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if the mode is supported, False otherwise
</ResponseField>

## Source

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