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.
163 lines
4.3 KiB
163 lines
4.3 KiB
from swarms.structs.agent import Agent
|
|
from swarms.structs.agent_builder import AgentsBuilder
|
|
from swarms.structs.agents_available import showcase_available_agents
|
|
from swarms.structs.async_workflow import AsyncWorkflow
|
|
from swarms.structs.auto_swarm import AutoSwarm, AutoSwarmRouter
|
|
from swarms.structs.base_structure import BaseStructure
|
|
from swarms.structs.base_swarm import BaseSwarm
|
|
from swarms.structs.base_workflow import BaseWorkflow
|
|
from swarms.structs.concurrent_workflow import ConcurrentWorkflow
|
|
from swarms.structs.conversation import Conversation
|
|
from swarms.structs.graph_workflow import (
|
|
Edge,
|
|
GraphWorkflow,
|
|
Node,
|
|
NodeType,
|
|
)
|
|
from swarms.structs.groupchat import (
|
|
GroupChat,
|
|
expertise_based,
|
|
)
|
|
from swarms.structs.majority_voting import (
|
|
MajorityVoting,
|
|
majority_voting,
|
|
most_frequent,
|
|
parse_code_completion,
|
|
)
|
|
from swarms.structs.malt import MALT
|
|
from swarms.structs.meme_agent_persona_generator import (
|
|
MemeAgentGenerator,
|
|
)
|
|
from swarms.structs.mixture_of_agents import MixtureOfAgents
|
|
from swarms.structs.model_router import ModelRouter
|
|
from swarms.structs.multi_agent_collab import MultiAgentCollaboration
|
|
from swarms.structs.multi_agent_exec import (
|
|
run_agent_with_timeout,
|
|
run_agents_concurrently,
|
|
run_agents_concurrently_async,
|
|
run_agents_concurrently_multiprocess,
|
|
run_agents_sequentially,
|
|
run_agents_with_different_tasks,
|
|
run_agents_with_resource_monitoring,
|
|
run_agents_with_tasks_concurrently,
|
|
run_single_agent,
|
|
)
|
|
from swarms.structs.multi_agent_orchestrator import MultiAgentRouter
|
|
from swarms.structs.queue_swarm import TaskQueueSwarm
|
|
from swarms.structs.rearrange import AgentRearrange, rearrange
|
|
from swarms.structs.round_robin import RoundRobinSwarm
|
|
from swarms.structs.sequential_workflow import SequentialWorkflow
|
|
from swarms.structs.spreadsheet_swarm import SpreadSheetSwarm
|
|
from swarms.structs.swarm_arange import SwarmRearrange
|
|
from swarms.structs.swarm_router import (
|
|
SwarmRouter,
|
|
SwarmType,
|
|
swarm_router,
|
|
)
|
|
from swarms.structs.swarming_architectures import (
|
|
broadcast,
|
|
circular_swarm,
|
|
exponential_swarm,
|
|
fibonacci_swarm,
|
|
geometric_swarm,
|
|
grid_swarm,
|
|
harmonic_swarm,
|
|
linear_swarm,
|
|
log_swarm,
|
|
mesh_swarm,
|
|
one_to_one,
|
|
one_to_three,
|
|
power_swarm,
|
|
prime_swarm,
|
|
pyramid_swarm,
|
|
sigmoid_swarm,
|
|
staircase_swarm,
|
|
star_swarm,
|
|
)
|
|
from swarms.structs.swarms_api import (
|
|
AgentInput,
|
|
SwarmAPIError,
|
|
SwarmAuthenticationError,
|
|
SwarmRequest,
|
|
SwarmsAPIClient,
|
|
SwarmValidationError,
|
|
)
|
|
|
|
from swarms.structs.de_hallucination_swarm import DeHallucinationSwarm
|
|
|
|
__all__ = [
|
|
"Agent",
|
|
"AsyncWorkflow",
|
|
"AutoSwarm",
|
|
"AutoSwarmRouter",
|
|
"BaseStructure",
|
|
"BaseSwarm",
|
|
"BaseWorkflow",
|
|
"ConcurrentWorkflow",
|
|
"Conversation",
|
|
"GroupChat",
|
|
"MajorityVoting",
|
|
"majority_voting",
|
|
"most_frequent",
|
|
"parse_code_completion",
|
|
"MultiAgentCollaboration",
|
|
"AgentRearrange",
|
|
"rearrange",
|
|
"RoundRobinSwarm",
|
|
"SequentialWorkflow",
|
|
"MixtureOfAgents",
|
|
"GraphWorkflow",
|
|
"Node",
|
|
"NodeType",
|
|
"Edge",
|
|
"broadcast",
|
|
"circular_swarm",
|
|
"exponential_swarm",
|
|
"fibonacci_swarm",
|
|
"geometric_swarm",
|
|
"grid_swarm",
|
|
"harmonic_swarm",
|
|
"linear_swarm",
|
|
"log_swarm",
|
|
"mesh_swarm",
|
|
"one_to_one",
|
|
"one_to_three",
|
|
"power_swarm",
|
|
"prime_swarm",
|
|
"pyramid_swarm",
|
|
"sigmoid_swarm",
|
|
"staircase_swarm",
|
|
"star_swarm",
|
|
"TaskQueueSwarm",
|
|
"SpreadSheetSwarm",
|
|
"SwarmRouter",
|
|
"SwarmType",
|
|
"SwarmRearrange",
|
|
"run_agents_concurrently",
|
|
"run_agents_concurrently_async",
|
|
"run_single_agent",
|
|
"run_agents_concurrently_multiprocess",
|
|
"run_agents_sequentially",
|
|
"run_agents_with_different_tasks",
|
|
"run_agent_with_timeout",
|
|
"run_agents_with_resource_monitoring",
|
|
"swarm_router",
|
|
"AsyncWorkflow",
|
|
"run_agents_with_tasks_concurrently",
|
|
"showcase_available_agents",
|
|
"GroupChat",
|
|
"expertise_based",
|
|
"MultiAgentRouter",
|
|
"MemeAgentGenerator",
|
|
"ModelRouter",
|
|
"SwarmsAPIClient",
|
|
"SwarmRequest",
|
|
"SwarmAuthenticationError",
|
|
"SwarmAPIError",
|
|
"SwarmValidationError",
|
|
"AgentInput",
|
|
"AgentsBuilder",
|
|
"MALT",
|
|
"DeHallucinationSwarm",
|
|
]
|