Printing to get some information about the behaviour of the agent is not a suitable to way to do it.
It completely overload the output shell (nothing can be read), it does not allow for any control (which log level you want) and it is lost if the shell / notebook cell / etc. is deleted.
It would be nice to get rid of all these prints and use the "logging" module instead. And maybe add a key word argument to say which logging level you want (typically: DEBUG - everything is printed- INFO, WARNING or ERROR)
Printing to get some information about the behaviour of the agent is not a suitable to way to do it.
It completely overload the output shell (nothing can be read), it does not allow for any control (which log level you want) and it is lost if the shell / notebook cell / etc. is deleted.
It would be nice to get rid of all these prints and use the "logging" module instead. And maybe add a key word argument to say which logging level you want (typically: DEBUG - everything is printed- INFO, WARNING or ERROR)