In this paper, we present our FIPA-compliant agent framework which differs from others, for having an additional layer containing the ontology dependent reusable actions. The aim of having such a layer is to make the framework adaptable to open environments, in which global ontologies can change and/or new ontologies can be added dynamically. Our approach for coping with dynamically changing and/or newly added global ontologies, is to transfer these global ontologies at run time. The ontologies are transferred in XML syntax using a content language, which is extended from the standard fipa-rdf1 content language. By transferring ontologies at ran time, agents can adapt themselves to the dynamically changing environments in a way that: 1) user agents can create the ontology dependent query interfaces dynamically, 2) information agents can dynamically create the ontology dependent information definition interfaces, which will assist in modeling the information in the repositories in an ontology dependent way, 3) Agents can personalize the ontologies locally by extending them with additional rules.