<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Krish Verma]]></title><description><![CDATA[Krish Verma]]></description><link>https://krish-verma.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 23:29:15 GMT</lastBuildDate><atom:link href="https://krish-verma.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[I built memory that forgets on purpose — then seven strangers argued with me about it for a week]]></title><description><![CDATA[Last Monday I published a piece about how Ankita's memory works — the part that forgets on purpose. A fact untouched for 90 days goes stale. A fact…]]></description><link>https://krish-verma.hashnode.dev/i-built-memory-that-forgets-on-purpose-then-seven-strangers-argued-with-me-about-it-for-a-week</link><guid isPermaLink="true">https://krish-verma.hashnode.dev/i-built-memory-that-forgets-on-purpose-then-seven-strangers-argued-with-me-about-it-for-a-week</guid><dc:creator><![CDATA[Krish]]></dc:creator><pubDate>Mon, 30 Nov 2026 06:19:26 GMT</pubDate><content:encoded><![CDATA[<p>Last Monday I published a piece about how Ankita's memory works — the part that forgets on purpose. A fact untouched for 90 days goes stale. A fact untouched for 365 days drops out of normal results. Nothing is ever deleted; one flag brings it back.</p>
<p>I named the flaws in the article itself. Pins never expire, so a pinned fact and the forget window can contradict each other. And the clock was measuring the wrong thing: it aged facts from when they were created, not from when they were last used.</p>
<p>Then the comments came. 42 of them, from 7 people who actually read the code. One thread went 24 deep and it is still going.</p>
<p>Mansur Fattakhov pushed on the confidence score: a fact's confidence should age with it, and the honest place to show that is diagnostics first, with a short explanation when a stale fact is explicitly asked for. That settled a question I had left open in the article.</p>
<p>iictp asked about confidence discounts on recall — whether a stale fact should come back cheaper. That is the next argument in the thread, and it is a good one.</p>
<p>The honest part: the article worked because it led with the flaw. I spent five weeks publishing clean how-tos that nobody argued with. The week I wrote "here are the two things wrong with my own design, which half do I fix first" — that is the week seven strangers showed up with opinions.</p>
<p>Three fixes from that thread are already in the code:</p>
<ul>
<li>promptBlock() now annotates conflicting pins instead of letting them fight silently.</li>
<li>The forget window is keyed on lastRecalledAt — recall is the ageing signal, not creation.</li>
<li>Read-only recalls get their own counters, so usage tracking never writes during a read-only path.</li>
</ul>
<p>Ankita is a personal AI companion for the desktop — open source, local-first, yours. It remembers what you tell it, and now it knows when to stop trusting what it remembers.</p>
<p>Read the article: <a href="https://dev.to/krish_verma_77e28d3fd63ca/how-i-built-memory-that-forgets-on-purpose-90-days-to-stale-365-to-gone-and-a-pin-that-never-12gk">https://dev.to/krish_verma_77e28d3fd63ca/how-i-built-memory-that-forgets-on-purpose-90-days-to-stale-365-to-gone-and-a-pin-that-never-12gk</a>
The repo: <a href="https://github.com/akyourowngames/A.N.K.I.T.A">https://github.com/akyourowngames/A.N.K.I.T.A</a>
The site: <a href="https://ankita-sable.vercel.app">https://ankita-sable.vercel.app</a></p>
]]></content:encoded></item><item><title><![CDATA[Ankita 2.7.6: a heartbeat that counts installs, not people]]></title><description><![CDATA[Ankita 2.7.6 shipped this week, and the headline feature is a small one with a big principle behind it: a heartbeat that counts installs, not people. Once…]]></description><link>https://krish-verma.hashnode.dev/ankita-2-7-6-a-heartbeat-that-counts-installs-not-people</link><guid isPermaLink="true">https://krish-verma.hashnode.dev/ankita-2-7-6-a-heartbeat-that-counts-installs-not-people</guid><category><![CDATA[ankita]]></category><category><![CDATA[open source]]></category><category><![CDATA[desktop-ai]]></category><category><![CDATA[Build In Public]]></category><category><![CDATA[Windows]]></category><dc:creator><![CDATA[Krish]]></dc:creator><pubDate>Sun, 29 Nov 2026 08:56:54 GMT</pubDate><content:encoded><![CDATA[<p>Ankita 2.7.6 shipped this week, and the headline feature is a small one with a big principle behind it: a heartbeat that counts installs, not people.</p>
<p>Once a day, Ankita sends one ping. Four fields: a hash of a random install ID, the app version, the platform, and the day. No prompts, no file paths, no content of any kind. It is required, not opt-in — that was my call, and I would rather say so plainly than bury it in settings. If you build something people install, you should know whether anyone actually runs it, and you should be able to say exactly what you collect to find out.</p>
<p>The rest of 2.7.6 is quieter work. The shell now starts in the workspace you selected, instead of always opening in the same place. Personality settings and task skills persist the way you set them. Computer-use screenshot checks got more careful. Three small fixes rode along.</p>
<p>Ankita is a personal AI companion for the desktop — a little companion, a lot more possible. It is open source (MIT), local-first, and it runs your models. You can get it here: <a href="https://github.com/akyourowngames/A.N.K.I.T.A">https://github.com/akyourowngames/A.N.K.I.T.A</a> — the site is <a href="https://ankita-sable.vercel.app">https://ankita-sable.vercel.app</a>.</p>
<p>— Krish Verma, founder of Ankita</p>
]]></content:encoded></item><item><title><![CDATA[CineHindi by Krish Verma, founder of Ankita (there is a surprise, click the link and see magic happen)]]></title><description><![CDATA[CineHindi started with a simple frustration: movie discovery in India still feels English-first. So I built a site that speaks Hindi first. CineHindi is a…]]></description><link>https://krish-verma.hashnode.dev/cinehindi-by-krish-verma-founder-of-ankita-there-is-a-surprise-click-the-link-and-see-magic-happen-mx012ec6</link><guid isPermaLink="true">https://krish-verma.hashnode.dev/cinehindi-by-krish-verma-founder-of-ankita-there-is-a-surprise-click-the-link-and-see-magic-happen-mx012ec6</guid><category><![CDATA[bollywood]]></category><category><![CDATA[hindi movies]]></category><category><![CDATA[Movie Discovery]]></category><category><![CDATA[Build In Public]]></category><category><![CDATA[Web Development]]></category><dc:creator><![CDATA[Krish]]></dc:creator><pubDate>Sat, 28 Nov 2026 06:26:58 GMT</pubDate><content:encoded><![CDATA[<p>CineHindi started with a simple frustration: movie discovery in India still feels English-first. So I built a site that speaks Hindi first.</p>
<p>CineHindi is a movie discovery site with a full Hindi interface, powered by TMDB data. Search, browse, and find what to watch next — in the language most of India actually speaks at home.</p>
<p>Under the hood it is Next.js 14 and TypeScript, with Supabase and Vercel holding it together. The hard parts were not the pages; they were making the Hindi UI feel native instead of translated, keeping TMDB results fast, and making discovery feel like browsing, not searching a database.</p>
<p>The code is open: <a href="https://github.com/akyourowngames/movix">https://github.com/akyourowngames/movix</a> — the repo has the whole thing, Next.js, TMDB integration, all of it.</p>
<p>Try it here: <a href="https://cine-hindi.vercel.app">https://cine-hindi.vercel.app</a> — and yes, there is a surprise waiting when you click through.</p>
<p>Built by Krish Verma, founder of Ankita (<a href="https://github.com/akyourowngames/A.N.K.I.T.A">https://github.com/akyourowngames/A.N.K.I.T.A</a>).</p>
]]></content:encoded></item><item><title><![CDATA[CineHindi by Krish Verma, founder of Ankita (there is a surprise, click the link and see magic happen)]]></title><description><![CDATA[I built CineHindi because finding a good Hindi movie to watch shouldn't feel like work. It's a movie discovery site with a Hindi-first interface — browse…]]></description><link>https://krish-verma.hashnode.dev/cinehindi-by-krish-verma-founder-of-ankita-there-is-a-surprise-click-the-link-and-see-magic-happen</link><guid isPermaLink="true">https://krish-verma.hashnode.dev/cinehindi-by-krish-verma-founder-of-ankita-there-is-a-surprise-click-the-link-and-see-magic-happen</guid><category><![CDATA[bollywood]]></category><category><![CDATA[hindi movies]]></category><category><![CDATA[Web Development]]></category><category><![CDATA[Build In Public]]></category><category><![CDATA[Next.js]]></category><dc:creator><![CDATA[Krish]]></dc:creator><pubDate>Fri, 27 Nov 2026 05:20:53 GMT</pubDate><content:encoded><![CDATA[<p>I built CineHindi because finding a good Hindi movie to watch shouldn't feel like work.</p>
<p>It's a movie discovery site with a Hindi-first interface — browse Bollywood and Hindi cinema, check ratings and details, and find your next watch in one place. Under the hood it's Next.js 14 and TypeScript, pulling data from TMDB, with a clean, fast interface that works on your phone.</p>
<p>Why Hindi-first? Most discovery sites treat Hindi cinema as an afterthought. I wanted one that puts it first — the language, the films, the experience.</p>
<p>I built it the same way I build everything: ship fast, learn from real use, keep improving. And it's open source.</p>
<p>Try it here: <a href="https://cine-hindi.vercel.app/">https://cine-hindi.vercel.app/</a>
Code: <a href="https://github.com/akyourowngames/movix">https://github.com/akyourowngames/movix</a></p>
<p>Built by Krish Verma, founder of Ankita — a personal AI companion for your desktop.</p>
]]></content:encoded></item><item><title><![CDATA[GhostTab: your tabs, remembered — by Krish Verma, founder of Ankita]]></title><description><![CDATA[Every AI tool I use is amnesic. New tab, new chat, blank slate — I re-explain my project, re-paste my goals, re-derive decisions I already made. My real…]]></description><link>https://krish-verma.hashnode.dev/ghosttab-your-tabs-remembered-by-krish-verma-founder-of-ankita</link><guid isPermaLink="true">https://krish-verma.hashnode.dev/ghosttab-your-tabs-remembered-by-krish-verma-founder-of-ankita</guid><dc:creator><![CDATA[Krish]]></dc:creator><pubDate>Thu, 26 Nov 2026 04:25:45 GMT</pubDate><content:encoded><![CDATA[<p>Every AI tool I use is amnesic. New tab, new chat, blank slate — I re-explain my project, re-paste my goals, re-derive decisions I already made. My real context lives scattered across dozens of tabs.</p>
<p>GhostTab is my fix: a Chrome extension (Manifest V3) that turns the tabs you actually work in into persistent, queryable workspace memory. One click captures a page — or a full ChatGPT/Claude conversation, even long virtualized threads other tools silently miss. A Memory Curator distills only durable, decision-relevant memory, and everything stays local in your browser. Then you generate a continuation packet and paste it into ChatGPT or Claude to pick up exactly where you left off.</p>
<p>I'm Krish Verma — I built Ankita, my open-source desktop AI companion, and GhostTab is its sibling on the web: same idea, different surface. Your work follows you, not the AI.</p>
<p>The repo: <a href="https://github.com/akyourowngames/ghosttabs">https://github.com/akyourowngames/ghosttabs</a></p>
]]></content:encoded></item><item><title><![CDATA[How I built memory that forgets on purpose: 90 days to stale, 365 to gone, and a pin that never expires]]></title><description><![CDATA[Ankita AI is a desktop AI assistant by Krish Verma, and it remembers things about you — your preferences, your projects, the decisions you made last month…]]></description><link>https://krish-verma.hashnode.dev/how-i-built-memory-that-forgets-on-purpose-90-days-to-stale-365-to-gone-and-a-pin-that-never-expires</link><guid isPermaLink="true">https://krish-verma.hashnode.dev/how-i-built-memory-that-forgets-on-purpose-90-days-to-stale-365-to-gone-and-a-pin-that-never-expires</guid><dc:creator><![CDATA[Krish]]></dc:creator><pubDate>Wed, 25 Nov 2026 07:24:45 GMT</pubDate><content:encoded><![CDATA[<p>Ankita AI is a desktop AI assistant by Krish Verma, and it remembers things about you — your preferences, your projects, the decisions you made last month. The problem with a companion that remembers everything is that it remembers everything forever. A fact you stated once, a year ago, in a context that no longer exists, still arrives in the model's context with the same authority as something you said yesterday. The assistant doesn't know it's stale. It just asserts it.</p>
<p>So I gave Ankita's memory an expiry date — two of them, actually — and a rule that nothing is ever deleted.</p>
<h2>Two windows, not a delete button</h2>
<p>The design lives in two config values in src/core/config.mjs:</p>
<pre><code>memoryStaleDays: Math.min(3650, posInt(pick("MEMORY_STALE_DAYS"), 90)),
memoryForgetDays: Math.min(3650, posInt(pick("MEMORY_FORGET_DAYS"), 365)),
</code></pre>
<p>A fact untouched for 90 days is stale: it sinks to the bottom of recall results and is filtered out of default recall entirely. A fact untouched for 365 days is past the forget window: it drops out of normal results altogether. Both windows are configurable with env vars, both are capped at 3,650 days (ten years), and both can be turned off by setting them to 0.</p>
<p>The important part: neither window deletes anything. A stale fact is still on disk, still in the store, and one explicit flag — includeStale on the recall tool — brings it back. The comment above the filter says it plainly: "Old, rarely recalled facts sink but are never deleted; only an explicit ask returns them."</p>
<h2>What counts as "touched"</h2>
<p>Staleness is decided by <code>isStale()</code> in <code>src/memory/memory-similarity.mjs</code>:</p>
<pre><code>export function isStale(fact, { staleDays, now = Date.now() } = {}) {
  if (!fact || fact.always === true) return false; // Pins are deliberate and permanent.
  const days = Number(staleDays);
  if (!Number.isFinite(days) || days &lt;= 0) return false;
  const at = Date.parse(fact.lastRecalledAt || fact.updatedAt || fact.createdAt || '');
  if (!Number.isFinite(at)) return false;
  return now - at &gt; days * 86400000;
}
</code></pre>
<p>Three decisions are doing the work here:</p>
<p>Pins never go stale. A fact marked <code>always</code> is deliberate and permanent — the user chose to pin it, so silence doesn't erode it. Everything else ages.</p>
<p>The clock is last recall, not last edit. The timestamp is <code>lastRecalledAt</code>, falling back to <code>updatedAt</code>, then <code>createdAt</code>. A fact you keep using stays fresh because you keep using it — recall is the ageing signal.</p>
<p>The threshold is a hard line, not a decay. Past 90 days, the fact is stale. There is no "a bit stale" — the flag is binary, one comparison against <code>days * 86400000</code>.</p>
<h2>Recall refreshes the clock — but only for what you actually saw</h2>
<p>Every fact in the store carries <code>lastRecalledAt</code> and a <code>recallCount</code>, and recall updates both through <code>touchRecalled()</code> in <code>src/memory/profile.mjs</code>. Two details matter:</p>
<p>One batched write. A recall can touch many facts, but the store writes once, not once per fact. The ageing signal is bookkeeping; it shouldn't cost a write per row.</p>
<p>Only rows the caller actually received get touched. The model can't keep a fact alive by searching for something else. And if the calling context is read-only — a read-only subagent, for instance — the touch is skipped entirely. The comment in <code>tools/personal/recall.mjs</code> is explicit: "recall is advertised readOnly, and a read-only subagent must stay read-only: the ageing signal is bookkeeping, never worth violating that contract."</p>
<p>The ageing signal also surfaces to the model. Each recall row carries its confidence, its <code>conflictsWith</code> list, and its stale flag, and stale rows sort last in every ranking — semantic or lexical. The system prompt even counts them: the personal-memory block in <code>src/core/agent.mjs</code> reads "Personal memory store: N saved fact(s), M stale" so the model knows the store has entries it shouldn't trust blindly. And the automatic context builder, <code>personalMemoryContext()</code>, searches project notes and decisions too, not just personal facts, inside a 1,600-character budget — so a stale personal preference doesn't crowd out a fresh project decision.</p>
<h2>Confidence doesn't age. That's the part I'm least sure about.</h2>
<p>Every fact also carries a confidence from 0 to 1. The default is 1, with a comment that says why: "A direct user statement is treated as certain." Confidence is clamped on write, returned on every recall row, and otherwise left alone.</p>
<p>That means confidence never decays. A fact you stated once, confidently, a year ago keeps confidence 1 right up to the day it goes stale — and then the binary flag takes over. The number says "certain" while the flag says "don't use this." I chose the binary flag over a decay curve because a decaying number would silently downgrade the user's own words without telling them, and a number that drifts is harder to argue with than a flag you can see. But I'm not convinced the split is right: the confidence is the model's evidence about how sure the fact is, and age is evidence about whether it's still true. Right now the two never meet.</p>
<h2>The honest limits</h2>
<p>The two windows run on different clocks. Staleness keys on last recall (<code>lastRecalledAt</code>), but the 365-day forget window keys on last edit — <code>withinForgetWindow()</code> in <code>recall.mjs</code> compares <code>row.at</code>, which is <code>updatedAt</code>. A fact you recall every week but never edit still drops out of normal results a year after its last edit. That may be the right behaviour — a year without an edit is a year without the user reaffirming it — but the two windows disagreeing about what "touched" means is an inconsistency I haven't resolved, and I can see the argument that the forget window should use the same clock as the stale window.</p>
<p>Stale is binary. There is no gradient between fresh and stale, no "probably outdated" — a fact is either in play or it isn't. A gradient would be more honest about how memory actually fades, but it would also be a number the model could quietly round down.</p>
<p>Recall is the only thing that refreshes the clock. If the model never recalls a fact, it ages even if the user still holds it. The store can't know what the user still believes; it only knows what the assistant has surfaced.</p>
<p>Ankita is open source at <a href="https://github.com/akyourowngames/A.N.K.I.T.A">https://github.com/akyourowngames/A.N.K.I.T.A</a>, and the site is <a href="https://ankita-sable.vercel.app">https://ankita-sable.vercel.app</a>. The memory code is in <code>src/memory/</code> and <code>tools/personal/recall.mjs</code> if you want to check the two windows against the code.</p>
<p>Tell me I'm wrong: is 90 days of silence the right line for "forgotten", or should a fact the user stated once — confidence 1, their own words — never go stale on its own? And should confidence decay with age, or is a binary flag the honest shape — a fact is either in play or it isn't?</p>
<p>— Krish Verma, creator of Ankita AI</p>
<p><em>Originally published at <a href="https://dev.to/krish_verma_77e28d3fd63ca/how-i-built-memory-that-forgets-on-purpose-90-days-to-stale-365-to-gone-and-a-pin-that-never-12gk">https://dev.to/krish_verma_77e28d3fd63ca/how-i-built-memory-that-forgets-on-purpose-90-days-to-stale-365-to-gone-and-a-pin-that-never-12gk</a></em></p>
]]></content:encoded></item><item><title><![CDATA[How I built a voice stream that stops instead of repeating itself: 2,000-char chunks, 1 read-ahead sentence, 0 replays]]></title><description><![CDATA[Ankita AI is a desktop AI assistant by Krish Verma, and it speaks its progress reports out loud. That sounds simple until the network drops mid-sentence…]]></description><link>https://krish-verma.hashnode.dev/how-i-built-a-voice-stream-that-stops-instead-of-repeating-itself-2-000-char-chunks-1-read-ahead-sentence-0-replays</link><guid isPermaLink="true">https://krish-verma.hashnode.dev/how-i-built-a-voice-stream-that-stops-instead-of-repeating-itself-2-000-char-chunks-1-read-ahead-sentence-0-replays</guid><dc:creator><![CDATA[Krish]]></dc:creator><pubDate>Tue, 24 Nov 2026 07:45:14 GMT</pubDate><content:encoded><![CDATA[<p>Ankita AI is a desktop AI assistant by Krish Verma, and it speaks its progress reports out loud. That sounds simple until the network drops mid-sentence. The obvious fix — just play the sentence again — is worse than the failure: the listener hears the same sentence twice and has no way to tell which copy is real. So the stream is built to die loudly instead of repeating itself. This is how that boundary works, and the one place it is still silent.</p>
<h2>The rule: only a capability failure may fall back</h2>
<p>The streaming path starts in <code>prepareVoiceStreamClip</code> (<code>src/channels/voice-stream-clip.mjs</code>). It asks the provider for exactly one chunk first, then pipes the iterator straight into the player's stdin. The fallback to a buffered clip is deliberately narrow: it fires only when the error carries the code <code>VOICE_STREAM_UNSUPPORTED</code>, which the Sarvam path sets for HTTP 404, 405, 415, 422 and 501 — capability or model failures that happen before any audio exists. Auth and rate-limit failures are not in that set, and neither is a stream that dies after audio started.</p>
<p>A mid-stream death throws. The iterator is closed, the controller aborts, and the sentence is never re-spoken. Only a clip that finishes cleanly gets cached (<code>cached = Buffer.concat(chunks)</code> runs after the loop completes), so a half-played sentence can never come back as a replay later. The delivery object the player reports — <code>{mode, fallback, firstChunkMs}</code> — carries the mode so the panel can show whether what you heard was streamed, buffered, or cached, instead of guessing.</p>
<h2>The queue: one sentence ahead, no second chances</h2>
<p>Playback is owned by <code>VoiceSpeechQueue</code> (<code>src/automation/voice-speech-queue.mjs</code>). Sentences are cut with <code>chunkSentences</code> — 190 characters for the Groq path, up to 2,000 characters per Sarvam chunk — and the queue pre-fetches at most one following sentence while the current one plays, hiding its TTS latency under live audio. The pending backlog is capped at 24 clips.</p>
<p>When a part fails, the queue's <code>pump()</code> catches it and calls <code>onError</code> — but only for non-abort errors. The entry is marked unavailable, resolves as not played, and the queue moves on. There is no retry for a failed part: the retry flag exists for reports interrupted by the user, not for synthesis that died. That is the whole point. A retry would need to know how much of the sentence already played, and the queue does not track that — so it refuses to guess.</p>
<p>The measured cost of the design is small: first audio arrived in 491 ms on the 10 November re-verification, with the first chunk consumed 32 ms later. The numbers were single samples, not a benchmark, but they are the reason streaming was worth building at all.</p>
<h2>What the listener actually gets today</h2>
<p>Here is the honest limit, and it is the reason this article exists. When a stream dies mid-sentence, the error travels up through <code>onError</code> into <code>fail(session, error)</code> in <code>desktop/electron/voice.mjs</code> — the failure is visible in the panel, but nothing is spoken. The listener hears half a sentence, then silence. Silence after half a sentence is easy to mistake for a pause, so they keep waiting for the rest.</p>
<p>That gap came out of a thread on Ahmad Dogar's TTS-voices article, where he put it plainly: he'd rather the player say something short when the stream dies. He is right, and I am going with the spoken note. There is already a precedent in the same code — a stop word gets a spoken Stopped. (<code>STOPPED_LINE</code> in <code>desktop/electron/voice.mjs</code>) — so a cut-off note would be a short fixed phrase through the same path, not a re-speak of the sentence. Re-speaking would reopen the double-play the whole design exists to prevent.</p>
<h2>The open question</h2>
<p>The part still undecided is what the note should say. A fixed phrase — "That update got cut off" — is honest about what happened and costs nothing to generate. Naming the sentence that died would be more useful, but it means speaking text the listener already half-heard, through the same queue that just failed. Tell me I'm wrong: is a fixed short phrase enough when the listener already heard the first half, or should the note name what was lost?</p>
<p>Ankita is open source at <a href="https://github.com/akyourowngames/A.N.K.I.T.A">https://github.com/akyourowngames/A.N.K.I.T.A</a>, and the site is <a href="https://ankita-sable.vercel.app">https://ankita-sable.vercel.app</a>. If you run spoken output anywhere — a voice assistant, a screen reader, a notification reader — how do you signal a cut-off stream without replaying it?</p>
<p>— Krish Verma, creator of Ankita AI</p>
]]></content:encoded></item></channel></rss>