Search Engines as Components of Constructing an Agent