Agent framework to support plug-in agents