Agent interface with no extra setup.
Installation
Environment Setup
.env file:
Quick Start
The minimum needed to run a Claude agent:Model Names
Swarms passes model names straight through to LiteLLM. Use the canonical Anthropic identifier:Fable 5 — Frontier Reasoning
Fable 5 is Anthropic’s state-of-the-art model. It excels at long, complex tasks but does not support tools ortemperature.
Sonnet 4.6 — The Workhorse
Sonnet is the right default for most production agents. It supports tools, vision, streaming, and runs cheaper than Opus or Fable 5.Haiku 4.5 — Fast & Cheap
Haiku is the right pick for triage, routing, and high-volume work where latency and cost matter.Extended Thinking
All recent Claude models support extended thinking. Swarms exposes it via two parameters:When
thinking_tokens is set, Swarms automatically filters the redundant think tool out of autonomous planning — the model is already reasoning internally.