Swarms Console

Create New Swarm

Configure your swarm and test it

Autosave

Swarm Configuration

Define the parameters for your swarm

Agents Configuration *

Configure the agents for your swarm (at least one agent is required)

No agents found matching your search

No agents added yet. Add at least one agent to your swarm.

Code Generation

Generate code snippets to run this swarm

import requests

API_KEY = "your_api_key_here"
BASE_URL = "https://swarms-api-285321057562.us-east1.run.app"

headers = {
  "x-api-key": API_KEY,
  "Content-Type": "application/json"
}

payload = {
    "name": "",
    "description": "",
    "agents": [],
    "max_loops": 1,
    "swarm_type": "SequentialWorkflow",
    "task": ""
}

response = requests.post(
  f"{BASE_URL}/v1/swarm/completions",
  headers=headers,
  json=payload
)

print(response.json())