class_docstr: `AgentBase` is the base class of the `parl.Agent` in different frameworks.
  
  `parl.Agent` is responsible for the general data flow outside the algorithm.
docstr: Args:
      algorithm (`AlgorithmBase`): an instance of `AlgorithmBase`
code: def __init__(self, algorithm):
      """
  
      Args:
          algorithm (`AlgorithmBase`): an instance of `AlgorithmBase`
      """
      self.alg = algorithm
  
file_path: PARL/parl/core/agent_base.py
label_desc: Use image node_id 1 to create a new AgentBase object from inherited base classes: object with example: obj = AgentBase(algorithm)