Execute a swarm completion with the specified task. Supports both standard and streaming responses.
The name of the swarm, which serves as an identifier for the group of agents and their collective task.
100A comprehensive description of the swarm's objectives, capabilities, and intended outcomes.
A list of agents or specifications that define the agents participating in the swarm.
The maximum number of execution loops allowed for the swarm, enabling repeated processing if needed.
The classification of the swarm, indicating its operational style and methodology.
AgentRearrange, MixtureOfAgents, SequentialWorkflow, ConcurrentWorkflow, GroupChat, MultiAgentRouter, AutoSwarmBuilder, HierarchicalSwarm, auto, MajorityVoting, MALT, CouncilAsAJudge, InteractiveGroupChat, HeavySwarm, BatchedGridWorkflow, LLMCouncil, DebateWithJudge, RoundRobin Instructions on how to rearrange the flow of tasks among agents, if applicable.
The specific task or objective that the swarm is designed to accomplish.
An optional image URL that may be associated with the swarm's task or representation.
Guidelines or constraints that govern the behavior and interactions of the agents within the swarm.
A list of tasks that the swarm should complete.
A flag indicating whether the swarm should stream its output.
The number of loops to run per agent in the heavy swarm.
The model name to use for the question agent in the heavy swarm.
The model name to use for the worker agent in the heavy swarm.
Successful Response
The unique identifier for the swarm completion.
The status of the swarm completion.
The name of the swarm.
The description of the swarm.
The type of the swarm.
The output of the swarm.
The number of agents in the swarm.
The execution time of the swarm.
The usage of the swarm.