Building an agent-mediated electronic commerce system with