Create agent method in main module, utlize in submodules.