<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mahatir Ahmed Tusher</title>
    <description>The latest articles on DEV Community by Mahatir Ahmed Tusher (@mahatirtusher).</description>
    <link>https://dev.to/mahatirtusher</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4021299%2Fd6ed36de-2d07-4bec-acc7-2bbff914838c.png</url>
      <title>DEV Community: Mahatir Ahmed Tusher</title>
      <link>https://dev.to/mahatirtusher</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mahatirtusher"/>
    <language>en</language>
    <item>
      <title>Why AI Will Not Replace Teachers, But It Will Change the Way Students Learn</title>
      <dc:creator>Mahatir Ahmed Tusher</dc:creator>
      <pubDate>Wed, 08 Jul 2026 12:36:29 +0000</pubDate>
      <link>https://dev.to/mahatirtusher/why-ai-will-not-replace-teachers-but-it-will-change-the-way-students-learn-2m2i</link>
      <guid>https://dev.to/mahatirtusher/why-ai-will-not-replace-teachers-but-it-will-change-the-way-students-learn-2m2i</guid>
      <description>&lt;p&gt;Artificial intelligence has become one of the most discussed technologies in education. From automated grading systems to AI chatbots capable of answering complex questions, many people wonder whether AI will eventually replace teachers.&lt;/p&gt;

&lt;p&gt;The short answer is &lt;strong&gt;no.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Education has never been just about delivering information. Great teachers inspire curiosity, understand students' emotions, adapt to different learning styles, and create environments where learners develop critical thinking. These are deeply human abilities that artificial intelligence cannot fully replicate.&lt;/p&gt;

&lt;p&gt;However, AI is beginning to solve a different problem: helping students learn independently outside the classroom.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Problem With Traditional Self-Study&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Many students spend hours reading textbooks without truly understanding the concepts. When they encounter a difficult paragraph, they often search the internet, only to find lengthy articles, conflicting explanations, or answers that are either too advanced or completely unrelated to their curriculum.&lt;/p&gt;

&lt;p&gt;This creates an inefficient learning process where students spend more time searching than actually learning.&lt;/p&gt;

&lt;p&gt;Another common challenge is passive learning. Reading a chapter once often creates the illusion of understanding, but without testing knowledge through questions or applying concepts, much of that information is quickly forgotten.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;How AI Can Support Learning&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Modern educational AI systems are becoming less like search engines and more like interactive learning companions.&lt;/p&gt;

&lt;p&gt;Instead of simply returning search results, these systems can explain concepts in simpler language, adapt explanations to a student's academic level, answer follow-up questions, generate practice quizzes, and even identify areas where additional practice is needed.&lt;/p&gt;

&lt;p&gt;This creates a much more personalized learning experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Learning From Personal Study Materials&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;One of the most interesting developments in AI education is the ability to work with a student's own resources.&lt;/p&gt;

&lt;p&gt;Rather than relying only on public information, newer AI systems can analyze lecture slides, class notes, PDFs, and textbooks, allowing students to ask questions directly about their own study materials. This makes revision faster and reduces the time spent searching through hundreds of pages.&lt;/p&gt;

&lt;p&gt;For university students and competitive exam candidates, this capability can significantly improve productivity.&lt;/p&gt;

&lt;p&gt;Mathematics Requires Understanding, Not Just Answers&lt;/p&gt;

&lt;p&gt;Mathematics presents another unique challenge.&lt;/p&gt;

&lt;p&gt;Students rarely struggle because they cannot find the final answer. They struggle because they cannot understand the reasoning behind each step.&lt;/p&gt;

&lt;p&gt;AI-powered mathematical assistants are increasingly focusing on procedural explanations rather than answer generation. By showing every intermediate step, highlighting common mistakes, and explaining why a method works, they encourage conceptual understanding instead of memorization.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Active Recall Matters More Than Reading&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Educational research has consistently shown that testing yourself is more effective than repeatedly rereading the same material.&lt;/p&gt;

&lt;p&gt;Practice quizzes, flashcards, previous exam questions, and spaced repetition all strengthen long-term memory through active recall.&lt;/p&gt;

&lt;p&gt;Artificial intelligence makes this process easier by automatically generating personalized quizzes from learning materials and adapting future practice based on previous performance.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Rise of AI-Powered Learning Platforms&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Around the world, educational technology companies are integrating these capabilities into unified learning platforms. Rather than offering only an AI chatbot, they combine digital textbooks, intelligent tutoring, personalized quizzes, mathematical reasoning, document analysis, and progress tracking into a single ecosystem.&lt;/p&gt;

&lt;p&gt;Bangladesh is beginning to see this transition as well. One example is &lt;a href="https://progga.bd/" rel="noopener noreferrer"&gt;Progga&lt;/a&gt; (&lt;a href="https://progga.bd/" rel="noopener noreferrer"&gt;https://progga.bd/&lt;/a&gt;), an AI-powered educational platform designed around the local curriculum. Instead of functioning as a general-purpose chatbot, it integrates textbook learning, AI-assisted explanations, document-based question answering, mathematics support, customizable quizzes, formula libraries, flashcards, and previous examination resources within one platform. These kinds of systems demonstrate how AI can complement traditional education rather than compete with it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Looking Ahead&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Artificial intelligence is unlikely to replace classrooms or teachers anytime soon. What it will replace are many of the repetitive obstacles students encounter every day: searching for explanations, organizing notes, generating practice questions, and reviewing difficult topics independently.&lt;/p&gt;

&lt;p&gt;The future of education will probably be a collaboration between human educators and intelligent digital tools.&lt;/p&gt;

&lt;p&gt;Teachers will continue to provide mentorship, motivation, and real-world guidance.&lt;/p&gt;

&lt;p&gt;AI will provide personalized assistance whenever students need it.&lt;/p&gt;

&lt;p&gt;Together, they have the potential to make learning more accessible, engaging, and effective than ever before.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>progga</category>
      <category>education</category>
      <category>aitutor</category>
    </item>
    <item>
      <title>How We Built Progga (progga.bd): A RAG-Based AI Tutor That Actually Understands the Bangladeshi Curriculum</title>
      <dc:creator>Mahatir Ahmed Tusher</dc:creator>
      <pubDate>Wed, 08 Jul 2026 12:33:04 +0000</pubDate>
      <link>https://dev.to/mahatirtusher/how-we-built-progga-proggabd-a-rag-based-ai-tutor-that-actually-understands-the-bangladeshi-46pn</link>
      <guid>https://dev.to/mahatirtusher/how-we-built-progga-proggabd-a-rag-based-ai-tutor-that-actually-understands-the-bangladeshi-46pn</guid>
      <description>&lt;p&gt;A few months ago, one question kept nagging at our team: what if every student had a tutor that never got tired, never got annoyed, and always had their exact textbook open in front of them?&lt;/p&gt;

&lt;p&gt;We didn't want to build another generic chatbot. Ask ChatGPT or Gemini directly to "explain HSC Physics" and you'll usually get something generic — not aligned with the actual curriculum, and often pulling context from the wrong place entirely. We wanted a system that genuinely reads a student's own textbook and answers in that book's language, grounded in that exact chapter's context. That was the starting point for &lt;a href="https://progga.bd" rel="noopener noreferrer"&gt;Progga&lt;/a&gt; (progga.bd).&lt;/p&gt;

&lt;p&gt;In this post, I'll walk through the technical decisions we made, where we got things wrong early on, and how the current architecture came together.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Actual Problem&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;NCTB textbooks and the popular HSC textbooks from major Bangladeshi publishers mostly exist as PDFs. Feeding these PDFs directly into a vector database causes some very specific problems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Chapter structure (headings, sub-headings, example boxes) gets destroyed&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Tables and formulas turn into garbled text&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A single chunk ends up mixing content from two unrelated topics, which drags the wrong context into retrieval&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our first prototype made exactly this mistake — extracting raw text from PDFs, chunking it naively, and ingesting it straight into the vector store. The result: the RAG pipeline frequently pulled answers from the wrong chapter, or stitched together half-formed sentences into an answer that read as confident but was subtly wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Fix: Converting Every Textbook to Clean Markdown First&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;We changed course. Every textbook was converted into clean, chapter-by-chapter Markdown documents — preserving headings, sub-topics, worked examples, and figure captions — before any of it touched the embedding pipeline. Three things improved immediately after this change:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Retrieval accuracy jumped noticeably, because chunk boundaries now followed the actual chapter/topic structure instead of an arbitrary character count.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Semantic search became far more context-aware — a query would now pull back a coherent topic unit instead of half a paragraph.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It became much easier to separately tag formulas, examples, and real-world applications — which later became the backbone of our "Formula Sheet" feature.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Looking back, this single decision probably had the highest ROI of anything we did on this project.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Choosing the Vector Database and Embedding Model&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;For embedding and retrieval, we settled on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Pinecone as the vector database&lt;/strong&gt; — it kept ops overhead low as we scaled, and metadata filtering (by grade, subject, chapter) was straightforward to implement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Jina Embeddings for text embedding&lt;/strong&gt;. Our textbooks are a mix of English terminology and Bangla explanation, and Jina's performance on that kind of mixed-language content held up noticeably well.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;One important trick here:&lt;/strong&gt; we don't just run a raw similarity search. We first filter by grade + subject + chapter metadata, and then run semantic search within that narrowed subset. This significantly reduces the risk of a topic with the same name from a different grade's textbook surfacing incorrectly.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Generation Layer: LangChain + Gemini&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once retrieval brings back the right chunks, the next step is turning them into a coherent, grade-appropriate answer. We use LangChain for orchestration, with Google Gemini as the generation model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A few things were non-negotiable here:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Explicitly passing the student's grade level into the prompt, so the same question gets simplified differently for a Class 6 student versus an HSC student.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keeping source attribution — tracking exactly which chapter/section an answer came from. This matters a lot for the "Study Workspace" feature, where a student uploads their own notes and chats with them; the system needs to answer strictly from that uploaded material and not from general world knowledge, to keep hallucination in check.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Building honest fallback behavior — when retrieval doesn't surface enough relevant context, the system should say "I'm not confident about this topic" rather than confidently generating a wrong answer.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Backend and Infrastructure&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;The stack ended up looking like this:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next.js —&lt;/strong&gt; the frontend, covering the whole student-facing surface (AI Classroom, Chat, Quiz, Flashcards, etc.)&lt;br&gt;
&lt;strong&gt;FastAPI —&lt;/strong&gt; the backend API layer, hosting the RAG pipeline and business logic&lt;br&gt;
&lt;strong&gt;PostgreSQL —&lt;/strong&gt; user data, progress tracking, quiz history, structured content metadata&lt;br&gt;
&lt;strong&gt;Redis — **caching plus session/rate-limit management, particularly to keep latency down on quiz generation and chat responses&lt;br&gt;
**Docker —&lt;/strong&gt; keeping the whole system containerized for consistent deployment&lt;/p&gt;

&lt;p&gt;One reason we picked FastAPI was async support. A single request often involves multiple I/O-bound steps in sequence — vector search, an LLM call, a database read/write — and without an async architecture, latency compounds fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What's Built on Top of This Pipeline&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Once the core RAG pipeline was stable, we layered feature after feature on top of the same foundation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;AI Classroom — read the digitized textbook and highlight any line to ask the AI about it directly&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Progga Chat — a subject- and chapter-scoped conversational assistant&lt;br&gt;
Study Workspace — upload your own notes or slides and get answers grounded strictly in that source material&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Math Assistant (Onko Bhaiya) — scan a handwritten or typed math problem and get a step-by-step walkthrough&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Quiz and Question Bank — generate unlimited MCQs/CQs from any chapter, and analyze past board exam papers to flag which topics deserve the most attention&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Formula Sheet and Flashcards — pulled directly from the structured Markdown, so every formula comes with context and real-world application attached&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;What We'd Do Differently (or the Same) Next Time&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;A few lessons that would shape how we'd approach a RAG system from day one:&lt;/p&gt;

&lt;p&gt;Never ingest raw PDFs directly. Preserving content structure takes more upfront effort, but the impact on retrieval quality is enormous.&lt;br&gt;
Filter by metadata before running semantic search, not after. Relying purely on embedding similarity leaves you exposed to cross-grade or cross-subject context bleeding into answers.&lt;br&gt;
Treat grounding as a first-class concern, not an afterthought. In an education context specifically, the cost of a confidently wrong answer is high — source attribution and honest fallback behavior need to be part of the initial design, not bolted on later.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Closing Thoughts&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;We believe AI shouldn't just answer random questions — it should make quality education accessible regardless of where a student lives or whether their family can afford a private tutor. Progga (progga.bd) is our small step toward that.&lt;/p&gt;

&lt;p&gt;There's still a lot ahead — multi-agent classroom experiences, 3D simulations, an in-browser coding environment are all in progress. Feedback and questions are always welcome.&lt;/p&gt;

&lt;p&gt;🚀 Try Progga: &lt;a href="https://progga.bd" rel="noopener noreferrer"&gt;https://progga.bd&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  AI #EdTech #RAG #GenAI #Pinecone #JinaAI #LangChain #FastAPI #NextJS #Bangladesh #BuildInPublic
&lt;/h1&gt;

</description>
      <category>webdev</category>
      <category>progga</category>
      <category>edtech</category>
      <category>rag</category>
    </item>
  </channel>
</rss>
