Dark theme

Answer


So, here's one answer: model.py; agentframework.py.

The more generic code we can build into the Agent class, the less code we need to mess around with and check again and again in different sub-classes.