pilot

Mwalimu

A Telegram tutor bot — LangGraph orchestrates lessons, quizzes, hints and progress tracking in chat.

  • LangGraph
  • LangChain
  • Telegram Bot API

About

Mwalimu is an AI tutor on Telegram. Learners message the bot to study a topic, get adaptive quizzes, receive hints and explanations, and track mastery over time — all driven by a LangGraph state machine for auditable, step-by-step tutoring flows.

Problem

Most learners live in messaging apps, but tutoring bots are either dumb FAQ trees or unstructured chat with no real progression.

Solution

  • Telegram bot interface — low friction, mobile-first
  • LangGraph flows: assess level → teach → quiz → hint → score → next topic
  • Session memory and mastery tracking per learner
  • Structured outputs for question quality and safe tutoring boundaries

Results

  • Working POC with multi-step tutoring flows in Telegram
  • Median response under 1s for common intents on tuned deployment

Lessons learned

  • Graph-based orchestration makes tutoring flows easier to debug and extend
  • Users prefer short, step-by-step lessons over long AI monologues

Other projects