<?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: Garret Williams</title>
    <description>The latest articles on DEV Community by Garret Williams (@garret_williams_51830c862).</description>
    <link>https://dev.to/garret_williams_51830c862</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%2F4267813%2F49cb8c90-1613-4fc2-afe0-8374bbc4259d.jpg</url>
      <title>DEV Community: Garret Williams</title>
      <link>https://dev.to/garret_williams_51830c862</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/garret_williams_51830c862"/>
    <language>en</language>
    <item>
      <title>Why Does My AI Companion Forget Me? (And How to Fix It)</title>
      <dc:creator>Garret Williams</dc:creator>
      <pubDate>Thu, 26 Nov 2026 23:18:50 +0000</pubDate>
      <link>https://dev.to/garret_williams_51830c862/why-does-my-ai-companion-forget-me-and-how-to-fix-it-5eng</link>
      <guid>https://dev.to/garret_williams_51830c862/why-does-my-ai-companion-forget-me-and-how-to-fix-it-5eng</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Short answer:&lt;/strong&gt; Your AI companion forgets because the model can only read a limited amount of recent text at once (its context window). Anything older drops out unless the app saves it to a separate long-term memory and brings it back at the right moment. Most forgetting comes from apps that have no long-term memory, save the wrong details, or start every new chat from zero.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;An AI model does not remember anything between messages. Every time you send a message, the app sends the model a bundle of text: the character's instructions, as many recent messages as fit, and (if the app has it) a handful of saved memories. The model answers based only on that bundle. &lt;strong&gt;If a fact isn't in the bundle, the AI doesn't know it.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The 3 reasons AI companions forget
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. The context window fills up
&lt;/h3&gt;

&lt;p&gt;Models can read only a limited amount of text at once, called the &lt;strong&gt;context window&lt;/strong&gt;. Long roleplays and month-long friendships outgrow it, and the oldest messages are dropped to make room.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. There is no long-term memory, or it saves the wrong things
&lt;/h3&gt;

&lt;p&gt;Some apps have no memory beyond the context window. Others save memories automatically but pick trivia ("user likes blue") and miss what matters ("user's mom is in hospital").&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Memory is stored per chat
&lt;/h3&gt;

&lt;p&gt;Many apps keep memory inside one conversation. Start a new chat, switch devices or edit the character, and it starts from zero.&lt;/p&gt;

&lt;h2&gt;
  
  
  6 fixes that work
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Put permanent facts in the character description&lt;/strong&gt; or a pinned message, since those are sent every time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use the app's memory page&lt;/strong&gt; if it has one. Add, edit and delete memories yourself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Post a short "story so far" summary&lt;/strong&gt; every 50–100 messages in long roleplays.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep one long chat&lt;/strong&gt; instead of starting new ones, if your app's memory is per chat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use reminders that sound natural:&lt;/strong&gt; "Remember my sister Ana, the one who just moved to Tokyo?"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Choose an app built around memory.&lt;/strong&gt; Memory-focused apps such as &lt;a href="https://chatbrat.ai/" rel="noopener noreferrer"&gt;ChatBrat&lt;/a&gt;, Nomi and Kindroid are designed to keep track of you over time. Test any app with the 4-step check in &lt;a href="https://aibotchatting.com/memory/what-is-long-term-ai-memory/" rel="noopener noreferrer"&gt;what is long-term AI memory&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What "good" memory looks like
&lt;/h2&gt;

&lt;p&gt;Good AI memory is &lt;strong&gt;humanistic&lt;/strong&gt;: it keeps what matters, lets small details fade, and brings things up when they're relevant rather than repeating them. Read &lt;a href="https://aibotchatting.com/memory/what-is-humanistic-memory-ai/" rel="noopener noreferrer"&gt;what humanistic memory in AI means&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why does Character AI forget what I said?&lt;/strong&gt;&lt;br&gt;
Character.AI, like most chat apps, can only fit a limited number of recent messages into the model's context window. Older messages fall out, so details from early in a long chat, or from a different chat, are often lost unless they are pinned or saved.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I make my AI companion remember me permanently?&lt;/strong&gt;&lt;br&gt;
Only if the app has long-term memory. Look for a memory page where you can see and edit what the AI saved. In apps without one, re-state key facts in the character description or a pinned message.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does starting a new chat erase my AI's memory?&lt;/strong&gt;&lt;br&gt;
In many apps, yes. Memory is often stored per conversation. Apps with account-level memory carry facts across chats, but you should test it, because marketing claims and real behavior often differ.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is it a bug when my AI forgets?&lt;/strong&gt;&lt;br&gt;
Usually not. It is a limit of how language models work. A model has no memory of its own between messages; the app has to feed it the right past information every time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://help.openai.com/en/articles/8590148-memory-faq" rel="noopener noreferrer"&gt;OpenAI Help Center: Memory FAQ&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://help.openai.com/en/articles/11146739-how-does-reference-saved-memories-work" rel="noopener noreferrer"&gt;OpenAI Help Center: How does reference saved memories work?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Want a character that actually remembers you?&lt;/strong&gt; &lt;a href="https://chatbrat.ai/" rel="noopener noreferrer"&gt;ChatBrat&lt;/a&gt; is built around AI characters that remember you. Free to start in any browser. For the deeper dive, read &lt;a href="https://aibotchatting.com/memory/what-is-humanistic-memory-ai/" rel="noopener noreferrer"&gt;what humanistic memory in AI means&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://aibotchatting.com/memory/why-ai-companions-forget/" rel="noopener noreferrer"&gt;AI Bot Chatting&lt;/a&gt;. I'm the founder of &lt;a href="https://chatbrat.ai/" rel="noopener noreferrer"&gt;ChatBrat&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>chatbot</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>How Do AI Chatbots Work? Explained Without the Jargon</title>
      <dc:creator>Garret Williams</dc:creator>
      <pubDate>Thu, 26 Nov 2026 23:17:47 +0000</pubDate>
      <link>https://dev.to/garret_williams_51830c862/how-do-ai-chatbots-work-explained-without-the-jargon-n7g</link>
      <guid>https://dev.to/garret_williams_51830c862/how-do-ai-chatbots-work-explained-without-the-jargon-n7g</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Short answer:&lt;/strong&gt; An AI chatbot runs on a large language model, software trained on huge amounts of text to predict the next word-piece in a sentence. When you send a message, the app combines it with the bot's instructions, recent chat history and any saved memories, and the model writes a reply one piece at a time. Personality comes from those instructions; memory comes from what the app chooses to feed back in.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The 30-second version
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The model:&lt;/strong&gt; a large language model (LLM), trained on vast amounts of text, that predicts what text should come next.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The prompt:&lt;/strong&gt; each time you send a message, the app builds a bundle: the bot's &lt;strong&gt;instructions&lt;/strong&gt;, &lt;strong&gt;recent messages&lt;/strong&gt;, any &lt;strong&gt;saved memories&lt;/strong&gt;, and &lt;strong&gt;your new message&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The reply:&lt;/strong&gt; the model writes a response one token (word-piece) at a time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repeat:&lt;/strong&gt; the conversation grows, and the app keeps choosing what fits into the next bundle.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Where personality comes from
&lt;/h2&gt;

&lt;p&gt;The same model can be a pirate, a tutor or a tsundere. The difference is the &lt;strong&gt;character instructions&lt;/strong&gt;: description, backstory, speaking style and example dialogue. Well-written instructions produce consistent personalities. See &lt;a href="https://aibotchatting.com/chatbots/" rel="noopener noreferrer"&gt;AI chatbots with personality&lt;/a&gt; and &lt;a href="https://aibotchatting.com/create/" rel="noopener noreferrer"&gt;how to make an AI character&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where memory comes from
&lt;/h2&gt;

&lt;p&gt;Models don't remember between messages. The app provides memory by:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Short-term:&lt;/strong&gt; including recent messages, up to the model's &lt;strong&gt;context window&lt;/strong&gt; limit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-term:&lt;/strong&gt; saving important facts and adding the relevant ones back in later.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's why some bots forget and others don't. Read &lt;a href="https://aibotchatting.com/memory/why-ai-companions-forget/" rel="noopener noreferrer"&gt;why AI companions forget&lt;/a&gt; and &lt;a href="https://aibotchatting.com/memory/what-is-humanistic-memory-ai/" rel="noopener noreferrer"&gt;what humanistic memory in AI means&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why chatbots sometimes get things wrong
&lt;/h2&gt;

&lt;p&gt;LLMs generate &lt;strong&gt;plausible&lt;/strong&gt; text, not verified truth. Without the right information in the prompt, they can confidently invent details, which is known as &lt;strong&gt;hallucination&lt;/strong&gt;. For facts that matter, check a reliable source.&lt;/p&gt;

&lt;h2&gt;
  
  
  Text, voice and images
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Voice chat&lt;/strong&gt; converts your speech to text, runs the same process, then turns the reply into speech. See &lt;a href="https://aibotchatting.com/voices/" rel="noopener noreferrer"&gt;AI voices &amp;amp; accents&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Images&lt;/strong&gt; in chat apps usually come from a separate image model the app calls on request.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Next: &lt;a href="https://aibotchatting.com/chatbots/what-is-ai-bot-chatting/" rel="noopener noreferrer"&gt;what is AI bot chatting&lt;/a&gt; · &lt;a href="https://aibotchatting.com/chatbots/ai-companion-vs-ai-chatbot/" rel="noopener noreferrer"&gt;AI companion vs AI chatbot&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Do AI chatbots understand what I say?&lt;/strong&gt;&lt;br&gt;
They model language patterns very well, which lets them respond sensibly, but they don't understand or experience things the way people do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why do AI chatbots make things up?&lt;/strong&gt;&lt;br&gt;
A language model generates likely-sounding text, not verified facts. When it lacks information it can produce confident but wrong answers, called hallucinations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do AI characters have different personalities?&lt;/strong&gt;&lt;br&gt;
Each character comes with instructions: a description, backstory, speaking style and example dialogue. The same model can play many characters depending on those instructions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does the AI learn from my chats?&lt;/strong&gt;&lt;br&gt;
The model itself usually isn't retrained live on your chat. The app may save memories about you, and some companies use conversations to train future models, depending on their privacy policy.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;See it in practice:&lt;/strong&gt; &lt;a href="https://chatbrat.ai/" rel="noopener noreferrer"&gt;ChatBrat&lt;/a&gt; is an AI character chat app built around characters that remember you. It runs in any browser, including your phone. Try the &lt;a href="https://github.com/chatbratai/ai-roleplay-starter-kit/blob/main/memory-test.md" rel="noopener noreferrer"&gt;10-minute memory test&lt;/a&gt; on it, or on any app.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://aibotchatting.com/chatbots/how-do-ai-chatbots-work/" rel="noopener noreferrer"&gt;AI Bot Chatting&lt;/a&gt;. I'm the founder of &lt;a href="https://chatbrat.ai/" rel="noopener noreferrer"&gt;ChatBrat&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>llm</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
