Overview
The Swarms API provides a diverse range of multi-agent architectures, each designed to solve specific types of problems and workflows. Set a request’sswarm_type field (in the SwarmSpec body of POST /v1/swarm/completions) to one of the values below to select the architecture.
This page is a curated summary. The authoritative, machine-readable version of the same information — the same name, description, category, best_for and parameters for every type — is served live by:
{"status", "timestamp", "swarm_types": [...], "swarm_types_metadata": [...]}. Call it if you want to check this list programmatically rather than trusting a docs page to stay current.
As of this writing there are 14 supported
swarm_type values. "auto" and "SpreadSheetSwarm" are explicitly rejected with a 400 error (“not supported currently”) if you send them, even though you may see them referenced elsewhere. BatchedGridWorkflow and GraphWorkflow are not swarm_type values at all — each is a separate, premium-only endpoint. See Not a swarm_type below.Architecture Categories
GET /v1/swarms/available groups every architecture into one of these categories:
workflow— ordered or parallel execution patternscollaboration— agents work together toward one resultrouting— organize or dispatch work across agentsjudgment— decision-making, voting, and evaluation
All 14 Architectures
Descriptions above are the exact strings the live API returns for each type’s
description field.
Tuning Parameters by Architecture
Every architecture accepts the commonSwarmSpec fields (agents, task/tasks/messages, max_loops, name, description, stream, multi_agent_collab_prompt, list_all_agents, img). Some architectures also read additional, type-specific fields — sending them for a different swarm_type is harmless but has no effect. Full field definitions are on the Swarm Completions Reference.
Best-For Use Cases
AgentRearrange — routing
AgentRearrange — routing
- Custom execution graphs mixing sequential and parallel stages
- Reorganizing a pipeline without changing the agents themselves
- Fine-grained control over which agents run when
MixtureOfAgents — collaboration
MixtureOfAgents — collaboration
- Complex tasks that benefit from multiple expert perspectives
- Combining domain specialists (e.g. legal + financial + technical)
- Improving answer quality by synthesizing parallel drafts
SequentialWorkflow — workflow
SequentialWorkflow — workflow
- Multi-stage pipelines where each step builds on the previous
- Deterministic, ordered processing (e.g. research -> draft -> edit)
- ETL-style transformations
ConcurrentWorkflow — workflow
ConcurrentWorkflow — workflow
- Independent subtasks that do not depend on one another
- Fan-out processing for lower latency
- Gathering several independent analyses at once
GroupChat — collaboration
GroupChat — collaboration
- Brainstorming and open-ended discussion
- Collaborative problem-solving that needs back-and-forth
- Simulating a panel or team meeting
MultiAgentRouter — routing
MultiAgentRouter — routing
- Routing heterogeneous requests to the right specialist
- Exposing a single entry point over many domain agents
- Capability-based task dispatch
HierarchicalSwarm — collaboration
HierarchicalSwarm — collaboration
- Large tasks that need decomposition and coordination
- Manager/worker patterns with oversight
- Workflows requiring delegation and result aggregation
MajorityVoting — judgment
MajorityVoting — judgment
- Reducing variance and hallucination through consensus
- Classification or decision tasks with a discrete answer
- Higher-confidence answers via agreement
CouncilAsAJudge — judgment
CouncilAsAJudge — judgment
- Evaluating, scoring or grading outputs
- Quality assurance and review
- Multi-criteria assessment of responses
swarm_type today; send council_judge_model_name (default "gpt-5.4") to control the judge model.HeavySwarm — collaboration
HeavySwarm — collaboration
- Deep, thorough analysis of complex questions
- Research-heavy tasks that need broad coverage
- When answer quality matters more than latency or cost
HeavySwarm is the one architecture that can run with agents: [] — it builds its own question/research/analysis/synthesis team internally. See Heavy Swarm.LLMCouncil — judgment
LLMCouncil — judgment
- Deliberative decision-making
- Synthesizing diverse model opinions
- High-stakes questions that benefit from a panel
swarm_type today; send chairman_model (default "gpt-5.1") to control the model that synthesizes the panel’s responses.DebateWithJudge — judgment
DebateWithJudge — judgment
- Exploring trade-offs from multiple sides
- Adversarial stress-testing of a position
- Decisions that benefit from argument and rebuttal
RoundRobin — workflow
RoundRobin — workflow
- Evenly distributing turns across agents
- Cyclical processing where each agent contributes in order
- Simple, fair task rotation
PlannerWorkerSwarm — collaboration
PlannerWorkerSwarm — collaboration
- Tasks that benefit from explicit planning before execution
- Decoupling decomposition from the work itself
- Queue-based parallel execution of sub-tasks
swarm_type today and takes only the common SwarmSpec fields.Not a swarm_type — separate endpoints
Two related workflow types are not values you can pass to swarm_type; each has its own request/response schema and its own endpoint:
Rejected values
"auto" (automatic architecture selection) and "SpreadSheetSwarm" are checked explicitly by the API and rejected with a 400 Bad Request (“SpreadSheetSwarm and auto swarm types are not supported currently”). Do not send either as swarm_type.
Getting Started
To use any of the 14 supported architectures, make a request to/v1/swarm/completions with swarm_type set to your desired value, an agents array (required for every type except HeavySwarm), and a task (or tasks/messages). See the Swarm Completions Reference for the full request/response schema, or the Multi-Agent Overview for a conceptual introduction.