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

# LLM Runtime Wrapper • AI Agent SDK

> LLMRuntimeWrapper: Wrapper around existing LLM class to provide runtime protocol.

# LLMRuntimeWrapper

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

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

Wrapper around existing LLM class to provide runtime protocol.

## Constructor

<ParamField query="llm" type="Any" required={true}>
  No description available.
</ParamField>

<ParamField query="model_ref" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="agent_id" type="str" required={true}>
  No description available.
</ParamField>

## Methods

<CardGroup cols={2}>
  <Card title="execute()" icon="function" href="../functions/LLMRuntimeWrapper-execute">
    Execute prompt using the LLM.
  </Card>

  <Card title="aexecute()" icon="function" href="../functions/LLMRuntimeWrapper-aexecute">
    Async execute prompt using the LLM.
  </Card>

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

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

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

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

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Models Overview" icon="microchip" href="/docs/docs/models" />

  <Card title="LLM Configuration" icon="gear" href="/docs/docs/configuration/llm-config" />

  <Card title="Model Router" icon="route" href="/docs/docs/features/model-router" />

  <Card title="Model Failover" icon="shield" href="/docs/docs/features/model-failover" />
</CardGroup>
