move constants to agent