added agent types and service-agent spawn from toplevel