resolve • AI Agent SDK

Turn-time runtime resolution API for handoffs and sub-agents.

resolve

AI Agent

Turn-time runtime resolution API for handoffs and sub-agents.

This module addresses the issue where handoffs and sub-agents inherit construction-time runtime pins from the parent agent, causing wrong harness execution when the delegate uses a different model_ref or provider.

The solution provides turn-time resolution that re-resolves runtime from (agent_id, model_ref) at each handoff/sub-agent invocation.

Import

python
from praisonaiagents.runtime import resolve

Classes

Functions