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

# resolve • AI Agent SDK

> resolve: Resolve runtime for the given agent and model.

# resolve

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

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

Resolve runtime for the given agent and model.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def resolve(agent_id: str, model_ref: str, session_ctx: SessionContext) -> AgentRuntimeProtocol
```

## Parameters

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

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

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

### Returns

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

## Used By

* [`Agent.skill_manager`](../functions/Agent-skill_manager)
* [`resolve_memory`](../functions/resolve_memory)
* [`resolve_knowledge`](../functions/resolve_knowledge)
* [`resolve_output`](../functions/resolve_output)
* [`resolve_execution`](../functions/resolve_execution)

## Source

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