Abstract: Interoperability is an important issue in ontology research. In this paper, a novel agent-based framework for managing ontologies in a dynamic environment is developed. The framework has several key characteristics such as flexibility and extensibility that differentiate this research from others. Based on the proposed framework, ontology mapping and integration are investigated. It is believed that inter-ontology processes like ontology mapping with logical semantics are foundations of ontology-based applications. Accordingly, several types of semantic relations are proposed and corresponding mapping mechanisms are developed. Based on mapping results, ontology integration is developed to provide abstract views for participating organizations in the presence of a variety of ontologies. A prototype is built to demonstrate the design and functionalities and is applied to beer ontologies. The prototype shows that the framework is not only flexible but also practical. All agents derived from the framework exhibit their behaviours as expected.