<?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: John Samuel</title>
    <description>The latest articles on DEV Community by John Samuel (@codegallantx).</description>
    <link>https://dev.to/codegallantx</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%2F1165973%2F90a61e63-7561-4cce-861f-0da571ddc8a3.png</url>
      <title>DEV Community: John Samuel</title>
      <link>https://dev.to/codegallantx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codegallantx"/>
    <language>en</language>
    <item>
      <title>Stateless LLMs Are a Problem for EdTech — Here's How I Fixed It With a Graph-Vector Memory Layer</title>
      <dc:creator>John Samuel</dc:creator>
      <pubDate>Sun, 05 Jul 2026 16:56:52 +0000</pubDate>
      <link>https://dev.to/codegallantx/stateless-llms-are-a-problem-for-edtech-heres-how-i-fixed-it-with-a-graph-vector-memory-layer-1b1b</link>
      <guid>https://dev.to/codegallantx/stateless-llms-are-a-problem-for-edtech-heres-how-i-fixed-it-with-a-graph-vector-memory-layer-1b1b</guid>
      <description>&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Every AI study tool I'd used had the same flaw: total amnesia. Ask it about your exam today, come back tomorrow, and it's a blank slate. No memory of what you struggled with last week, what topics you already know cold, or when your next exam actually is.&lt;/p&gt;

&lt;p&gt;For "The Hangover Part AI" hackathon by WeMakeDevs, powered by Cognee, I decided to fix that for students specifically. The result is &lt;strong&gt;Summa AI&lt;/strong&gt; — a learning companion built around persistent memory instead of stateless chat.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Summa AI is a Next.js frontend paired with a FastAPI backend, with Cognee as the memory layer running underneath everything:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A chat workspace that keeps context across sessions instead of resetting every time&lt;/li&gt;
&lt;li&gt;Proactive exam check-ins pulled from stored exam data&lt;/li&gt;
&lt;li&gt;Knowledge gap detection — surfacing weak topics and missing prerequisites before they become a problem&lt;/li&gt;
&lt;li&gt;A Proficiency Hexagon in the dashboard, visualizing where you actually stand across topics&lt;/li&gt;
&lt;li&gt;Adaptive study plans that respond to what you already know, not a generic curriculum&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;forget()&lt;/code&gt; step for mastered topics, so the memory layer stays sharp instead of bloated&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How Cognee powers it
&lt;/h2&gt;

&lt;p&gt;I leaned on all four parts of Cognee's memory lifecycle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;remember()&lt;/strong&gt; — every conversation, exam, and study artifact gets written into its own Cognee dataset. A &lt;code&gt;remember_conversation()&lt;/code&gt; call stores the query + response summary; &lt;code&gt;remember_exam()&lt;/code&gt; stores course, exam type, date, and topics; &lt;code&gt;remember_learning_progress()&lt;/code&gt; stores topic-level scores.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;recall()&lt;/strong&gt; — this is the read path behind almost every feature: chat context lookup, exam reminders, saved artifacts, and the hexagon dimensions in the dashboard all route through it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;improve()&lt;/strong&gt; — triggered right after new progress is recorded, or when a user gives feedback on a response, so the memory consolidates instead of just accumulating.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;forget()&lt;/strong&gt; — lets a student explicitly clear a mastered topic, or wipe a whole dataset, so old noise doesn't crowd out what's actually relevant.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd build next
&lt;/h2&gt;

&lt;p&gt;Deeper graph traversal for concept-map style prerequisite chains, and tighter feedback loops so &lt;code&gt;improve()&lt;/code&gt; reacts to more signals than just explicit ratings.&lt;/p&gt;

&lt;p&gt;Built for students first — because the thing that should never have amnesia is the tool that's supposed to know how you learn.&lt;/p&gt;

&lt;h1&gt;
  
  
  WeMakeDevs #Cognee #TheHangoverPartAI #buildinpublic #nextjs #fastapi
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>rag</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
