Initialize agent_ in constructor