Programming the Microsoft Agent Server Interface