Skip to content

createRuntime

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/agent-core/src/runtime/runtime-factory.ts

Create an IAgentLoop from config. This is the recommended way to create a runtime — replaces manual new AzureModelProvider() + new AgentRuntime() construction.

Signature

ts
function createRuntime(config: RuntimeConfig): IAgentLoop

Parameters

NameType
configRuntimeConfig

Returns: IAgentLoop

Was this page helpful?

Download as PDF