InMemoryRunner
open class InMemoryRunner(val agent: BaseAgent, val appName: String = "InMemoryRunner", val sessionService: SessionService = InMemorySessionService(), val artifactService: ArtifactService? = InMemoryArtifactService(), val memoryService: MemoryService? = InMemoryMemoryService(), val pluginManager: PluginManager = PluginManager(), val resumabilityConfig: ResumabilityConfig = ResumabilityConfig()) : AbstractRunner
An in-memory implementation of a Runner that manages the lifecycle of a BaseAgent execution.
It provides default in-memory implementations for session, artifact, and memory services.
Inheritors
Constructors
Link copied to clipboard
constructor(agent: BaseAgent, appName: String = "InMemoryRunner", sessionService: SessionService = InMemorySessionService(), artifactService: ArtifactService? = InMemoryArtifactService(), memoryService: MemoryService? = InMemoryMemoryService(), pluginManager: PluginManager = PluginManager(), resumabilityConfig: ResumabilityConfig = ResumabilityConfig())