with the advent of agile software processing methods and needs to write the programs and software with the best quality in the shortest possible time, unorthodox practices in computer programming are becoming more and more common. One of these practices is pair programming characterized by two programmers sharing the same computer for collaborative programming purposes. Pair programming implies a psychological and social interaction between the participating programmers. The goal of this paper is an evaluation of the pair programming to determine the influence of programmers' personality and problem difficulty on efficiency of pairs. An agent-based system is used to simulate a pair and Myers-Briggs Type Indicator (MBTI) is used to measure personality of each member of the pairs. This paper presents, suggests, and evaluates the role of personality in formation and the utility of a pair.