This is an agent-based computer model (ABM) of the mtiogen activated protein kinase (MAPK) pathway, this model uses the Flexible Large-scale Agent Modelling Environment (FLAME). The ABM implements spatial and temporal regulation of the pathway by integrating compartmentalisation of MAPKK and MAPK into cytoplasmic compartments. The source code presented here is the agent functions written in  C programming language