Create a new agent using a config
(
self,
request: CreateAgent,
actor: Client,
interface: Union[AgentInterface, None] = None,
)
| 112 | |
| 113 | @abstractmethod |
| 114 | async def create_agent( |
| 115 | self, |
| 116 | request: CreateAgent, |
| 117 | actor: Client, |
| 118 | interface: Union[AgentInterface, None] = None, |
| 119 | ) -> AgentState: |
| 120 | """Create a new agent using a config""" |
| 121 | raise NotImplementedError |
| 122 | |
| 123 | @abstractmethod |
| 124 | async def user_message(self, user_id: str, agent_id: str, message: str) -> None: |
no outgoing calls