Skip to content

teams

Class info

Classes

Name Children Inherits
NodeConfig
llmling_agent.models.nodes
Configuration for a Node of the messaging system.
TeamConfig
llmling_agent.models.teams
Configuration for a team or chain of message nodes.

    🛈 DocStrings

    Team configuration models.

    TeamConfig

    Bases: NodeConfig

    Configuration for a team or chain of message nodes.

    Teams can be either parallel execution groups or sequential chains. They can contain both agents and other teams as members.

    Source code in src/llmling_agent/models/teams.py
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    class TeamConfig(NodeConfig):
        """Configuration for a team or chain of message nodes.
    
        Teams can be either parallel execution groups or sequential chains.
        They can contain both agents and other teams as members.
        """
    
        mode: Literal["parallel", "sequential"]
        """Execution mode for team members."""
    
        members: list[str]
        """Names of agents or other teams that are part of this team."""
    
        shared_prompt: str | None = None
        """Optional shared prompt for this team."""
    

    members instance-attribute

    members: list[str]
    

    Names of agents or other teams that are part of this team.

    mode instance-attribute

    mode: Literal['parallel', 'sequential']
    

    Execution mode for team members.

    shared_prompt class-attribute instance-attribute

    shared_prompt: str | None = None
    

    Optional shared prompt for this team.