passes world state to agent