MathTales: Designing and Studying an AI Agent-Based Story Generation System for Teaching Mathematical Problem Solving to Children

MathTales: разработка и исследование системы генерации историй на основе ИИ-агентов для обучения детей решению математических задач
K. F. Zhang, Yuqi Niu, Mona Y. Alqassim, Andrina Louise Inglis, Charaka Palansuriya, Aurora Constantin
2026-04-13

MathTaleslarge language modelmathematical problem solvingmathematical story generationmulti-agent system
Mathematical stories, particularly those that incorporate problem-solving, are widely recognised as an effective approach to learning mathematics. By grounding problems in concrete examples, children can gradually develop problem-solving skills as the story unfolds. However, creating such stories typically relies on teachers or professional writers, making it challenging to produce stories for every problem at scale. In this paper, we present MathTales, a multi-agent system that leverages a locally deployed open-source large language model to automatically generate stories to teach children mathematical problems. Through human evaluation, we found MathTales produces reliable mathematical stories in terms of accuracy, relevance, coherence, integration and readability. A study with children and teachers revealed that MathTales-generated stories had a positive impact on engagement, enjoyment, and understanding. Additionally, we analyse teachers’ feedback to identify the pedagogical value of these stories and derive design implications for future mathematical story generation systems that support mathematics teaching and learning.
1
A study involving children and teachers found that MathTales-generated stories positively affected learners’ engagement, enjoyment, and understanding.
2
Human evaluation found that MathTales generates stories with reliable mathematical accuracy, relevance, coherence, integration, and readability.
3
MathTales is a multi-agent system using a locally deployed open-source large language model to automatically generate mathematical problem-solving stories for children.
4
Teacher feedback highlighted the pedagogical value of AI-generated mathematical stories and informed design implications for future educational story-generation systems.

MathTales, an AI multi-agent mathematical story generation system for children

The system’s ability to generate accurate, relevant, coherent, integrated, and readable mathematical problem-solving stories, and its effects on children’s engagement, enjoyment, and understanding

Publication Details
Publication Date
2026-04-13
Journal
Publisher
ISSN
Cited by
1
Access Type
Author Information
Authors
K. F. Zhang
Yuqi Niu
Mona Y. Alqassim
Andrina Louise Inglis
Charaka Palansuriya
Aurora Constantin
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%