Due to resource constraints, the traditional education approach suffers from the limited interactions between students and instructors. Adaptive learning, with the assistance of an AI bot, can provide customized educational content to students based on their individual learning capabilities. However, multiple design choices exist in building such an adaptive bot and it is unclear how users would react to them. Drawing insights from the theory of flow (Webster et al. 1993; Jeanne and Csikszentmihalyi 2009; Csikszentmihalyi and Larson 2014), the aim of this research project is to explore the viability of using AI bots for adaptive learning in the contexts of novice data analysts learning programming tools (e.g., Python, R). The state of flow is an optimal mental state of experience when one is actively engaged and completely immersed in an activity. To keep the learner experiencing a state of flow during the learning, the key idea behind this project is that the use of a bot can take away certain challenges in the tasks to balance the trade-off between the skills of the learner and the difficulty of the tasks. With a simulated online learning platform where a bot provides hints to learners, the project will examine the performance implications of human-bot task configurations in adaptive learning. The project will contribute to the literature of adaptive learning and IS education on programming for data science and business analytics.