You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/docs/swarms_cloud/auto.md

2.2 KiB

Auto

Intelligently selects the most effective swarm architecture for a given task

Swarm Type: auto (or Auto)

Overview

The Auto swarm type intelligently selects the most effective swarm architecture for a given task based on context analysis and task requirements. This intelligent system evaluates the task description and automatically chooses the optimal swarm type from all available architectures, ensuring maximum efficiency and effectiveness.

Key features:

  • Intelligent Selection: Automatically chooses the best swarm type for each task
  • Context Analysis: Analyzes task requirements to make optimal decisions
  • Adaptive Architecture: Adapts to different types of problems automatically
  • Zero Configuration: No manual architecture selection required

Use Cases

  • When unsure about which swarm type to use
  • General-purpose task automation
  • Rapid prototyping and experimentation
  • Simplified API usage for non-experts

API Usage

Selection Logic

The Auto swarm type analyzes various factors to make its selection:

Factor Consideration
Task Complexity Simple → Single agent, Complex → Multi-agent
Sequential Dependencies Dependencies → SequentialWorkflow
Parallel Opportunities Independent subtasks → ConcurrentWorkflow
Collaboration Needs Discussion required → GroupChat
Expertise Diversity Multiple domains → MixtureOfAgents
Management Needs Oversight required → HierarchicalSwarm
Routing Requirements Task distribution → MultiAgentRouter

Best Practices

  • Provide detailed task descriptions for better selection
  • Use rules parameter to guide selection criteria
  • Review the selected architecture in response metadata
  • Ideal for users new to swarm architectures

Since Auto can select any swarm type, it's related to all architectures: