Returns rootAgent for CLI module compatibility.
rootAgent
Agent getRootAgentFromModule(Agent rootAgent) => rootAgent;