runtime hands the whole turn to a registered runtime instead of running the local chat loop.
Quick Start
1
Use the builtin runtime
runtime: true selects DEFAULT_RUNTIME_ID ('praisonai').2
Name a runtime and require capabilities
AgentRuntimeConfig
runtime accepts true, a string id, an AgentRuntimeConfig object (snake_case keys accepted), or an object that already satisfies AgentRuntimeProtocol.
When it throws
runtime and backend / runOn answer the same question — where the loop runs — so naming both is rejected as a contradiction.
Reading the resolved runtime
Related
Placement
backend / runOn / toolsRunOn
Agent
Constructor options

