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/deep_research_swarm_example.py

14 lines
406 B

from swarms.structs.deep_research_swarm import DeepResearchSwarm
swarm = DeepResearchSwarm(
name="Deep Research Swarm",
description="A swarm of agents that can perform deep research on a given topic",
output_type="all", # Change to string output type for better readability
)
out = swarm.run(
"What are the latest developments and news in the AI and cryptocurrency space?"
)
print(out)