Set a state value
This is a method of the Agents class in the agents module.
def set_state(key: str, value: Any) -> None