File size: 388 Bytes
4962437
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from swarms import HierarchicalSwarm

# Retrieve your API key from the environment or replace with your actual key
api_key = ""

# Initialize HierarchicalSwarm with your API key
swarm = HierarchicalSwarm(api_key)

# Define an objective
objective = "Find 20 potential customers for a HierarchicalSwarm based AI Agent automation infrastructure"

# Run HierarchicalSwarm
swarm.run(objective)