CaptainUserProxyAgent

CaptainUserProxyAgent(
    name: str,
    nested_config: dict,
    agent_config_save_path: str = None,
    is_termination_msg: Callable[[dict], bool] | None = None,
    max_consecutive_auto_reply: int | None = None,
    human_input_mode: str | None = 'NEVER',
    code_execution_config: dict | Literal[False] | None = None,
    default_auto_reply: dict | str | None = "I'm a proxy and I can only execute your tool or end the conversation. If you think the problem is solved, please reply me only with 'TERMINATE'.",
    llm_config: dict | Literal[False] | None = False,
    system_message: str | list | None = '',
    description: str | None = None
)

(In preview) A proxy agent for the captain agent, that can execute code and provide feedback to the other agents.

Parameters:
NameDescription
nameType: str
nested_configType: dict
agent_config_save_pathType: str

Default: None
is_termination_msgType: Callable[[dict], bool] | None

Default: None
max_consecutive_auto_replyType: int | None

Default: None
human_input_modeType: str | None

Default: ‘NEVER’
code_execution_configType: dict | Literal[False] | None

Default: None
default_auto_replyType: dict | str | None

Default: “I’m a proxy and I can only execute your tool or end the conversation. If you think the problem is solved, please reply me only with ‘TERMINATE’.”
llm_configType: dict | Literal[False] | None

Default: False
system_messageType: str | list | None

Default:
descriptionType: str | None

Default: None

Class Attributes

AUTOBUILD_TASK_DESC



CONVERSATION_REVIEW_PROMPT



DEFAULT_AUTO_REPLY



DEFAULT_USER_PROXY_AGENT_DESCRIPTIONS