State of the environment and the agent