class_docstr: A History class is responsible for saving each iteration's output.
  
  Note that you can use dump() and parse() for whatever your needs. Our default
  is only for agents, best agent and best agent's index.
docstr: Saves all agents in the search space.
docstr_tok: ["Saves","all","agents","in","the","search","space","."]
code: def save_agents(self) -> bool:
      """Saves all agents in the search space."""
  
      return self._save_agents
  
file_path: opytimizer/opytimizer/utils/history.py
imports: from typing import Any, List, Optional, Tuple, Union
  import numpy
  import opytimizer.utils.exception
label_desc: Use image node_id 2 for calling the History obj's underlying member method code with example usage: obj.save_agents() and returns: self