https://ideas.creativecasinoties.com/post/agents-in-60-lines-of-python-part-7-j2gt7y