AgentFactory
AgentFactory<
TConfig,TResult> = (id,config,options?) =>AgentDefinition<TResult>
Defined in: scoring/agents.ts:276
Factory function type for creating agents Providers implement this to create configured agents
Type Parameters
Section titled “Type Parameters”TConfig
Section titled “TConfig”TConfig
TResult
Section titled “TResult”TResult = unknown
Parameters
Section titled “Parameters”string
config
Section titled “config”TConfig
options?
Section titled “options?”Partial<AgentConfig>
Returns
Section titled “Returns”AgentDefinition<TResult>