From what I understand, Hannibal was only brought in as a psychiatrist to evaluate Will's eligibility for field work in the pilot. Their relationship since then has been nebulous because of the common experience that they went through with Allison's father.