resolve • AI Agent SDK

resolve: Resolve a runtime by ID with optional configuration overrides.

resolve

Method

</div>

This is a method of the RuntimeRegistryProtocol class in the registry module.

Resolve a runtime by ID with optional configuration overrides.

Signature

python
def resolve(runtime_id: str, config_overrides: Optional[Dict[str, Any]]) -> Any

Parameters

ParamField str

Runtime identifier to resolve

ParamField Optional

Optional configuration overrides

Returns

ResponseField Any

Runtime instance (typically implementing AgentRuntimeProtocol)

Exceptions

ValueError

If runtime_id is not registered (fail-closed behavior)

TypeError

If runtime cannot be instantiated

Used By

Source

View on GitHub

praisonaiagents/runtime/registry.py at line 101