Searching for information on the Web is a time consuming task. To help users and to speed up searching for relevant documents efficient retrieval and filtering techniques are needed. To increase the efficiency of information retrieval and filtering tasks, intelligent agents have been widely studied and deployed. In this paper, we present a general agent framework for retrieving and filtering relevant/irrelevant documents.