agents / Exports / AgentFactoryInterface
Interface: AgentFactoryInterface
Agent Factory interface for agent creation and configuration
Table of contents
Methods
Methods
createAgent
▸ createAgent(config, options?): AgentInterface
Create agent instance
Parameters
| Name | Type |
|---|---|
config | AgentConfig |
options? | AgentCreationOptions |
Returns
Defined in
packages/agents/src/interfaces/manager.ts:148
validateConfig
▸ validateConfig(config): ConfigValidationResult
Validate agent configuration
Parameters
| Name | Type |
|---|---|
config | AgentConfig |
Returns
Defined in
packages/agents/src/interfaces/manager.ts:153
getDefaultConfig
▸ getDefaultConfig(): AgentConfig
Get default configuration
Returns
Defined in
packages/agents/src/interfaces/manager.ts:158
mergeConfig
▸ mergeConfig(base, override): AgentConfig
Merge configurations
Parameters
| Name | Type |
|---|---|
base | AgentConfig |
override | Partial<AgentConfig> |