better error handling
staging for api calls with interstitial menus
refactor agent base