Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Build and orchestrate multi-agent AI systems using the Swarms API. Use when creating single agents, multi-agent swarms (sequential, concurrent, hierarchical,...
Build and orchestrate multi-agent AI systems using the Swarms API. Use when creating single agents, multi-agent swarms (sequential, concurrent, hierarchical,...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Build production-grade multi-agent systems using the Swarms API platform. Supports single agents, reasoning agents, and swarms of 3–10,000+ agents with 20+ architecture patterns.
Base URL: https://api.swarms.world Auth: x-api-key header with API key from swarms.world/platform/api-keys Docs index: https://docs.swarms.ai/llms.txt Python SDK: pip install swarms-client Marketplace: swarms.world
TierNameAgentsEndpoint1Individual Agent1/v1/agent/completions2Reasoning Agent1-2 internal/v1/reasoning-agent/completions3Multi-Agent Swarm3–10,000+/v1/swarm/completions
import requests payload = { "agent_config": { "agent_name": "MyAgent", "description": "Purpose of the agent", "system_prompt": "You are...", "model_name": "gpt-4o", # or claude-sonnet-4-20250514, etc. "role": "worker", "max_loops": 1, "max_tokens": 8192, "temperature": 0.5, "auto_generate_prompt": False, "tools_list_dictionary": None }, "task": "Your task here" } response = requests.post( "https://api.swarms.world/v1/agent/completions", headers={"x-api-key": API_KEY, "Content-Type": "application/json"}, json=payload )
payload = { "name": "My Swarm", "description": "What this swarm does", "agents": [ { "agent_name": "Agent1", "description": "Role 1", "system_prompt": "You are...", "model_name": "gpt-4o", "role": "worker", "max_loops": 1, "max_tokens": 8192, "temperature": 0.5 }, { "agent_name": "Agent2", "description": "Role 2", "system_prompt": "You are...", "model_name": "claude-sonnet-4-20250514", "role": "worker", "max_loops": 1, "max_tokens": 8192, "temperature": 0.5 } ], "max_loops": 1, "swarm_type": "SequentialWorkflow", # See architecture table "task": "Your task here" } response = requests.post( "https://api.swarms.world/v1/swarm/completions", headers={"x-api-key": API_KEY, "Content-Type": "application/json"}, json=payload )
payload = { "name": "My Agent Token", "description": "Agent description", "ticker": "MAG", "private_key": "[1,2,3,...]" # Solana wallet private key } response = requests.post( "https://swarms.world/api/token/launch", headers={"Authorization": "Bearer API_KEY", "Content-Type": "application/json"}, json=payload ) # Returns: token_address, pool_address, listing_url # Cost: ~0.04 SOL
Use the swarm_type parameter: TypeDescriptionBest ForSequentialWorkflowLinear pipeline, each agent builds on previousStep-by-step processingConcurrentWorkflowParallel executionIndependent tasks, speedAgentRearrangeDynamic agent reorderingAdaptive workflowsMixtureOfAgentsSpecialist agent selectionMulti-domain tasksMultiAgentRouterIntelligent task routingLarge-scale distributionHierarchicalSwarmNested hierarchies with delegationComplex org structuresMajorityVotingConsensus across agentsDecision makingBatchedGridWorkflowGrid pattern executionMulti-task × multi-agentGraphWorkflowDirected graph of agent nodesComplex dependenciesGroupChatAgent discussionCollaborative brainstormingInteractiveGroupChatReal-time agent interactionDynamic collaborationAutoSwarmBuilderAuto-generate optimal swarmWhen unsure of architectureHeavySwarmHigh-capacity processingLarge workloadsDebateWithJudgeStructured debateAdversarial evaluationRoundRobinRound-robin distributionEven load distributionMALTMulti-agent learningTraining systemsCouncilAsAJudgeExpert panel evaluationQuality assessmentLLMCouncilLM council for decisionsGroup decision makingAdvancedResearchResearch workflowsDeep researchautoAuto-select best typeDefault/unknown
ParamTypeDefaultDescriptionagent_namestring—Unique agent identifierdescriptionstring—Agent purposesystem_promptstring—Behavior instructionsmodel_namestringgpt-4.1AI model (gpt-4o, claude-sonnet-4-20250514, etc.)rolestringworkerAgent role in swarmmax_loopsint/string1Iterations ("auto" for autonomous)max_tokensint8192Max response lengthtemperaturefloat0.5Creativity (0.0–2.0)auto_generate_promptboolfalseAuto-enhance system prompttools_list_dictionarylist—OpenAPI-style tool definitionsstreaming_onboolfalseEnable SSE streamingmcp_urlstring—MCP server URLselected_toolslistall safeRestrict available tools
Always use environment variables for API keys — never hardcode. Set appropriate max_loops — use "auto" only when sub-agent delegation is needed. Match swarm_type to use case (see architecture table). For streaming, set streaming_on: true and parse SSE events (metadata → chunks → usage → done). Token launches cost ~0.04 SOL from the provided wallet. Batch endpoint (/v1/swarm/batch/completions) requires Pro/Ultra/Premium tier. Reasoning agents (/v1/reasoning-agent/completions) require Pro+ tier.
TopicReferenceFull API architecture & tiersreferences/architecture.mdSub-agent delegation patternsreferences/sub-agents.mdATP payment protocol (Solana)references/atp-protocol.mdMarketplace publishingreferences/marketplace.mdStreaming implementationreferences/streaming.mdTools integrationreferences/tools.mdAll docs pageshttps://docs.swarms.ai/llms.txt Read references only when the task requires that specific depth.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.