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.
swarms/example.py

13 lines
358 B

from swarms import Swarms
# Retrieve your API key from the environment or replace with your actual key
api_key = "api"
# Initialize Swarms with your API key
swarm = Swarms(openai_api_key=api_key)
# Define an objective
objective = "Find 20 potential customers for a Swarms based AI Agent automation infrastructure"
# Run Swarms
swarm.run_swarms(objective)