swarmauri.core.swarm_apis.ISwarmAPI module

class swarmauri.core.swarm_apis.ISwarmAPI.ISwarmAPI[source]

Bases: ABC

Interface for managing the swarm’s API endpoints.

abstract broadcast_request(request_data)[source]
Return type:

Any

abstract dispatch_request(request_data)[source]

Dispatches an incoming user request to one or more suitable agents based on their capabilities.

Parameters: - request_data (Dict[str, Any]): Data related to the incoming request.

Returns: - Any: Response from processing the request.

Return type:

Any