class_docstr: (In preview) An abstract class for AI agent.
  
  An agent can communicate with other agents and perform actions.
  Different agents can differ in what actions they perform in the `receive` method.
docstr: (Abstract method) Receive a message from another agent.
docstr_tok: ["(","Abstract","method",")","Receive","a","message","from","another","agent","."]
code: def receive(
      self,
      message: Union[Dict, str],
      sender: "Agent",
      request_reply: Optional[bool] = None,
  ):
      """(Abstract method) Receive a message from another agent."""
  
file_path: autogen/autogen/agentchat/agent.py
imports: from typing import Dict, List, Optional, Union
label_desc: Use image node_id 4 for calling the Agent obj's underlying member method code with example usage: obj.receive(message, sender, request_reply) without return types