SwarmOptions

Options & Configuration · AiDotNet.Agentic.Agents

Settings for a Swarm: its identity and the overall step budget shared across all members for a single run.

For Beginners

These are the dials for the whole team-of-peers. The most important is MaxIterations, which caps how many total model calls the swarm may make before it must stop — this is the safety net that prevents two agents from handing a task back and forth forever.

Constructors

Constructor Summary
SwarmOptions()

Properties

Property Summary
double? Temperature { get; set; } Gets or sets the sampling temperature forwarded to each member’s model call.
int? MaxIterations { get; set; } Gets or sets the maximum total number of model calls across all members in one run.
string Description { get; set; } Gets or sets the swarm’s description.
string Name { get; set; } Gets or sets the swarm’s name.