Package com.tnsai.agents.init
Interface AgentInitializer.InitializerContext
- All Known Implementing Classes:
Agent,ConfigurableAgent
- Enclosing class:
AgentInitializer
public static interface AgentInitializer.InitializerContext
Context interface for accessing Agent internals needed for initialization.
Agent implements this interface to provide access to template methods and injected dependencies.
-
Method Details
-
getAgentId
String getAgentId()Returns the agent's unique identifier -
getAgentClass
Class<?> getAgentClass()Returns the agent's class for reflection -
getLLMTemplate
LLMClient getLLMTemplate() -
getRolesTemplate
-
getIdentitiesTemplate
List<AgentIdentity> getIdentitiesTemplate() -
getCommunicationTemplate
Communication getCommunicationTemplate() -
getPlansTemplate
-
getErrorRecoveryScenariosTemplate
List<ErrorRecoveryScenario> getErrorRecoveryScenariosTemplate() -
getMemoryStoreTemplate
MemoryStore getMemoryStoreTemplate() -
getMaxContextTokensTemplate
-
getDefaultRetryPolicyTemplate
RetryPolicy getDefaultRetryPolicyTemplate() -
getAgentRestartPolicyTemplate
AgentRestartPolicy getAgentRestartPolicyTemplate() -
getInjectedLLM
LLMClient getInjectedLLM() -
getInjectedMemoryStore
MemoryStore getInjectedMemoryStore() -
getInjectedActionExecutor
ActionExecutor getInjectedActionExecutor() -
getDescriptionOverride
-
getVersionOverride
-
getAutoStartOverride
-
getIdleTimeoutMsOverride
-
getDidConfigOverride
-
getGroupSpecOverride
-