SpringContextPlatformServices

data class SpringContextPlatformServices(val agentPlatform: AgentPlatform, val llmOperations: LlmOperations, val eventListener: AgenticEventListener, val operationScheduler: OperationScheduler, val agentProcessRepository: AgentProcessRepository, val asyncer: Asyncer, embabelObjectMapperHolder: EmbabelObjectMapperHolder, val outputChannel: OutputChannel, val templateRenderer: <Error class: unknown class>, val customLogicalExpressionParser: LogicalExpressionParser? = null, applicationContext: <Error class: unknown class>?) : PlatformServices

Uses Spring ApplicationContext to resolve some beans for platform services. If a custom LogicalExpressionParser is provided, it will be used, otherwise all LogicalExpressionParsers in the context will be combined. A SpelLogicalExpressionParser will be added if not already present.

Constructors

Link copied to clipboard
constructor(agentPlatform: AgentPlatform, llmOperations: LlmOperations, eventListener: AgenticEventListener, operationScheduler: OperationScheduler, agentProcessRepository: AgentProcessRepository, asyncer: Asyncer, embabelObjectMapperHolder: EmbabelObjectMapperHolder, outputChannel: OutputChannel, templateRenderer: <Error class: unknown class>, customLogicalExpressionParser: LogicalExpressionParser? = null, applicationContext: <Error class: unknown class>?)

Properties

Link copied to clipboard
open override val agentPlatform: AgentPlatform

The agent platform executing this agent

Link copied to clipboard
Link copied to clipboard
open override val asyncer: Asyncer

Asyncer for async operations

Link copied to clipboard

Event listener for agentic events

Link copied to clipboard

Resolves the AgentInstrumentation bean, else NoOpAgentInstrumentation. Only the observability module contributes a real adapter, so when that module is absent (or disabled) the core creates no span — without ever reading an ambient ObservationRegistry. Resolved lazily, like observationRegistry, to avoid touching the context at construction time.

Link copied to clipboard
open override val llmOperations: LlmOperations

Operations to use for LLMs

Link copied to clipboard
open override val logicalExpressionParser: <Error class: unknown class>
Link copied to clipboard
open override val objectMapper: <Error class: unknown class>
Link copied to clipboard

Operation scheduler for scheduling operations

Link copied to clipboard
open override val outputChannel: OutputChannel
Link copied to clipboard
open override val templateRenderer: <Error class: unknown class>

Functions

Link copied to clipboard
Link copied to clipboard
open override fun autonomy(): Autonomy
Link copied to clipboard

Get the conversation factory provider for resolving conversation factories by type.

Link copied to clipboard

Returns the registry of decision and classification services that workflow operations select from. The default body returns an empty registry.

Link copied to clipboard
open override fun modelProvider(): ModelProvider
Link copied to clipboard
open override fun withEventListener(agenticEventListener: AgenticEventListener): PlatformServices