Hierachical Process and Manager Agent

How to build conversational style bot having agents in backend with multiple tools provided and using the concept of Manager Hierachical process. I want to build a coversable agents which can interact with human also collecting the details also if query is different it can trigger other agents like text to sql