AgentFactoryOptions
NexusLabs.Needlr.AgentFramework¶
NexusLabs.Needlr.AgentFramework¶
AgentFactoryOptions Class¶
Per-agent configuration options passed to IAgentFactory.CreateAgent(configure).
Inheritance System.Object 🡒 AgentFactoryOptions
Properties¶
AgentFactoryOptions.Description Property¶
Gets or sets a human-readable description of this agent's purpose.
Property Value¶
AgentFactoryOptions.FunctionGroups Property¶
Gets or sets the named function groups to wire as tools for this agent.
Groups are declared using AgentFunctionGroupAttribute on function classes
and registered via AddAgentFunctionGroupsFromAssemblies() or
AddAgentFunctionGroupsFromGenerated().
When null and FunctionTypes is also null,
all registered function types are used.
Property Value¶
System.Collections.Generic.IReadOnlyList<System.String>
AgentFactoryOptions.FunctionTypes Property¶
Gets or sets the subset of function types to wire as tools for this agent. When null and FunctionGroups is also null, all function types registered with the factory are used.
Property Value¶
System.Collections.Generic.IReadOnlyList<System.Type>
AgentFactoryOptions.Instructions Property¶
Gets or sets the system instructions for this specific agent. When set, overrides the default instructions configured on the factory.
Property Value¶
AgentFactoryOptions.Name Property¶
Gets or sets the agent's name. Used by MAF to populate ExecutorId in workflow events,
making multi-agent output readable. When null, MAF assigns a generated identifier.