An agent model for NL dialog interfaces