You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
388 B
13 lines
388 B
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) |