Lesson 1.1
What is the Swarms API?
The Swarms API is a hosted platform for building and orchestrating AI agents. You describe an agent (its name, instructions, and model) in JSON, send it a task over HTTPS, and the platform runs it on managed infrastructure. There is nothing to deploy, no GPU to rent, and no framework to install: every capability is an HTTP endpoint.
The platform is organized in three tiers, and this course follows them in order:
- Single agents: one agent, one task. The
POST /v1/agent/completionsendpoint. This is where Part 1 and Part 2 live. - Multi-agent swarms: multiple agents collaborating under an orchestration pattern such as
SequentialWorkflow,ConcurrentWorkflow, orHierarchicalSwarm. Covered in Part 3. - Production operations: batch execution, rate limits, cost controls, and observability. Covered in Part 4.
Everything runs against a single base URL:
https://api.swarms.worldNote · You choose the model
Agents can run on models from OpenAI, Anthropic, Groq, and more. You select the model per agent with the model_name field, so a single swarm can mix a frontier model for synthesis with cheaper models for extraction.