Source code for swarmauri.core.agents.IAgent

from abc import ABC, abstractmethod
from typing import Any, Optional, Dict

[docs] class IAgent(ABC):
[docs] @abstractmethod def exec(self, input_data: Optional[Any], llm_kwargs: Optional[Dict]) -> Any: """ Executive method that triggers the agent's action based on the input data. """ pass