An agent-based computational model is developed to explore the evolutionary dynamics of an industry which is subject to knowledge-based competition with entry and exit. It views the production process as a system of inter-dependent activities and the firm as an adaptive entity whose survival depends on its ability to perform various activities with greater efficiency than its rivals. The model is capable of generating many empirical regularities, including those on firm turnovers, evolving market structure, and the intra-industry technological diversity. Comparative dynamics analyses are performed to investigate how these regularities are affected by various industry-specific factors such as the attributes of the market environment, search propensities and the nature of the technology space in which individual firm's learning takes place.