OlaGPT is a newly developed framework that enhances large language models by simulating human-like problem-solving abilities. It incorporates six cognitive modules, including attention, memory, reasoning, learning, decision-making, and action selection. The model was evaluated on algebraic word problems and analogical reasoning questions, showing superior performance against existing benchmarks. OlaGPT is integrated with pre-existing models such as GPT-3 as base models, with different cognitive modules added. Although the framework has limitations that prevent it from providing a creative solution, it is a promising tool that could approximate the human brain model.