Skip to main content

module aixplain.factories.team_agent_factory

Global Variables

  • utils

class TeamAgentFactory


classmethod create

create(
name: str,
agents: List[Union[str, Agent]],
llm_id: str = '669a63646eb56306647e1091',
description: str = '',
api_key: str = 'd0d1ea8a13cfe80dbb34378c3941e5df13d724e1059fa065d1a802dacd4ade15',
supplier: Union[Dict, str, Supplier, int] = 'aiXplain',
version: Optional[str] = None,
use_mentalist_and_inspector: bool = True
) → TeamAgent

Create a new team agent in the platform.


classmethod get

get(agent_id: str, api_key: Optional[str] = None) → TeamAgent

Get agent by id.


classmethod list

list() → Dict

List all agents available in the platform.