Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds agents and multi-agent workflows with the Swarms Python framework, covering tools, memory, and orchestration architectures.
38% 100%+63 ptsof test cases passed
Passed 24 of 24 test cases with the skill, and 9 of 24 without it.
This test ran on v2. v6 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Swarms is a multi-agent orchestration framework. Everything is built from one primitive — Agent — which multi-agent structures compose. This document is verified against swarms v14.0.0.
This skill can lag the library. When a signature here disagrees with the installed version, check the current docs:
https://docs.swarms.world/mcp (claude mcp add --transport http swarms-docs https://docs.swarms.world/mcp)https://swarms.world/mcpfrom swarms import Agent, never from swarms.structs.agent import Agent. The one common exception is PlannerWorkerSwarm (see below).agent_name — memory files and swarm routing key on it.max_loops=1. Use a specific integer for production. Use "auto" only for genuinely open-ended work.tools=None, not tools=[]. An empty list breaks schema generation.examples/ — 586 runnable examples live there. One is probably close to what you need.streaming_on=True and streaming_callback together. Pick one.pip install -U swarms
Set the key for whichever provider you use — any LiteLLM model string works:
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."
export GROQ_API_KEY="..."
export WORKSPACE_DIR="agent_workspace" # where agent state and memory land
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.