AG2 home pagelight logodark logo
  • ag2ai/ag2
  • ag2ai/ag2
Documentation
User Guide
API References
Use Cases
User Stories
Contribute
FAQs
Ecosystem
Blog
API Reference
  • autogen
    • Overview
    • Agent
    • AgentNameConflictError
    • AssistantAgent
    • Cache
    • ChatResult
    • ContextExpression
    • ConversableAgent
    • GroupChat
    • GroupChatManager
    • InvalidCarryOverTypeError
    • LLMConfig
    • ModelClient
    • NoEligibleSpeakerError
    • OpenAIWrapper
    • SenderRequiredError
    • UndefinedNextAgentError
    • UpdateSystemMessage
    • UserProxyAgent
    • a_initiate_swarm_chat
    • a_run_swarm
    • config_list_from_dotenv
    • config_list_from_json
    • config_list_from_models
    • config_list_gpt4_gpt35
    • config_list_openai_aoai
    • filter_config
    • gather_usage_summary
    • get_config_list
    • initiate_chats
    • register_function
    • run_swarm
    • agentchat
      • Overview
      • a_initiate_chats
      • a_initiate_group_chat
      • a_run_group_chat
      • run_group_chat
      • chat
      • contrib
      • group
        • Overview
        • AgentNameTarget
        • AgentTarget
        • AskUserTarget
        • ContextStr
        • ContextStrLLMCondition
        • ContextVariables
        • ExpressionAvailableCondition
        • ExpressionContextCondition
        • GroupChatConfig
        • GroupChatTarget
        • Handoffs
        • NestedChatTarget
        • OnContextCondition
        • ReplyResult
        • RevertToUserTarget
        • SpeakerSelectionResult
        • StayTarget
        • StringAvailableCondition
        • StringContextCondition
        • StringLLMCondition
        • TerminateTarget
        • available_condition
        • context_condition
        • context_str
        • context_variables
        • group_tool_executor
        • group_utils
          • Overview
          • cleanup_temp_user_messages
          • create_group_manager
          • create_group_transition
          • create_on_condition_handoff_functions
          • determine_next_agent
          • ensure_handoff_agents_in_group
          • establish_group_agent
          • get_last_agent_speaker
          • link_agents_to_group_manager
          • make_remove_function
          • prepare_exclude_transit_messages
          • prepare_group_agents
          • process_initial_messages
          • setup_context_variables
          • update_conditional_functions
          • wrap_agent_handoff_targets
        • handoffs
        • llm_condition
        • on_context_condition
        • patterns
        • reply_result
        • speaker_selection_result
        • targets
      • realtime
      • utils
    • agents
    • browser_utils
    • cache
    • code_utils
    • coding
    • doc_utils
    • events
    • exception_utils
    • fast_depends
    • formatting_utils
    • graph_utils
    • import_utils
    • interop
    • io
    • json_utils
    • llm_config
    • logger
    • math_utils
    • mcp
    • messages
    • oai
    • retrieve_utils
    • runtime_logging
    • token_count_utils
    • tools
    • types
group_utils

Overview

​
Functions

cleanup_temp_user_messages

create_group_manager

create_group_transition

create_on_condition_handoff_functions

determine_next_agent

ensure_handoff_agents_in_group

establish_group_agent

get_last_agent_speaker

link_agents_to_group_manager

make_remove_function

prepare_exclude_transit_messages

prepare_group_agents

process_initial_messages

setup_context_variables

update_conditional_functions

wrap_agent_handoff_targets

GroupToolExecutorcleanup_temp_user_messages
xgithublinkedindiscordyoutube
Powered by Mintlify
On this page
  • Functions
Assistant
Responses are generated using AI and may contain mistakes.