Skip to main content

Overview

Instantiate an agent directly from an in-memory AgentDefinition. Key concepts:
  • AgentDefinition: template data object
  • DefinitionLoopFactory: builds executable loop from template
  • DefinitionStateFactory: builds initial state from template
  • llmConfig: selects real LLM provider config for execution
  • AgentEventConsoleObserver: execution visibility

Example