<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by thenotorious runner on Medium]]></title>
        <description><![CDATA[Stories by thenotorious runner on Medium]]></description>
        <link>https://medium.com/@thenotoriousrunner?source=rss-7fb25a25c8bf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sHFUzUbarKFs4L1j</url>
            <title>Stories by thenotorious runner on Medium</title>
            <link>https://medium.com/@thenotoriousrunner?source=rss-7fb25a25c8bf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 16:55:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thenotoriousrunner/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Local AI Won’t Kill the Cloud. It Will Make It the New Mainframe. — VibeOps]]></title>
            <link>https://medium.com/@thenotoriousrunner/local-ai-wont-kill-the-cloud-it-will-make-it-the-new-mainframe-vibeops-a9c343021644?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9c343021644</guid>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 08:00:15 GMT</pubDate>
            <atom:updated>2026-09-30T05:10:51.768Z</atom:updated>
            <content:encoded><![CDATA[<h3>Local AI Won’t Kill the Cloud. It Will Make It the New Mainframe.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uA1K3m6b4Drrufy3.png" /></figure><p>There is a familiar argument forming around local AI.</p><p>Cloud models are expensive. They meter every token. Your data crosses somebody else’s infrastructure. The model can change, the terms can change, and the API can disappear.</p><p>So the answer seems obvious: download an open model, run it on hardware you control, expose a local endpoint, and own the stack.</p><p>Then comes the counterargument: a small model on a normal laptop is not Claude, Gemini, or GPT. The privacy gain is real, but so is the performance gap. Hardware costs money. Electricity costs money. Operating inference is still operations.</p><p>Both sides are right-and both become misleading when they treat local and cloud AI as mutually exclusive.</p><p>The useful historical comparison is not “PCs killed mainframes.”</p><p>It is what actually happened: personal computers moved a large class of computing closer to the user, while centralized systems survived for the workloads they handled better.</p><p>Local AI appears to be moving toward the same split.</p><h3>The Adoption Number Is Smaller Than the Hype</h3><p>There is no reliable global statistic for “people who use local AI.” The category itself is unstable: it can mean a model on a laptop, an Ollama server in a home lab, an enterprise model inside a private data center, or open weights running in the public cloud.</p><p>The cleanest individual-level number I found comes from a 2025 survey of 1,963 US tech workers with software-development backgrounds. Ninety-one percent had used an LLM for work, but only <strong>7% reported running one locally</strong>. Chat interfaces were used by 83%.</p><p>A separate study of Indian developers, students, and AI enthusiasts found <strong>15.1% already running models locally</strong>, with another <strong>28.3% interested in trying</strong>. That sample is narrower and more self-selected, but it shows the shape of the market: real usage, larger curiosity, and a substantial setup gap.</p><p>At the other end, the 2025 Stack Overflow survey found that <strong>Ollama was used by 51% of respondents who were building AI agents</strong>. That is not 51% of all developers, and using Ollama does not prove every workload stays on a personal machine. But it shows that local-capable tooling has already become mainstream inside the agent-builder niche.</p><p>Enterprise numbers look much larger because they measure something different. Wiz found self-hosted models in <strong>75% of the public-cloud organizations</strong> it observed. That is private model operation, not a PC-style migration away from centralized infrastructure. A model running in your AWS account is self-hosted, but it is not local in the desktop sense.</p><p>The honest reading is simple: local AI is still a minority behavior among general tech workers, but it is already common among the people actively building AI infrastructure.</p><h3>The Sentiment Is Positive-With Conditions</h3><p>There is no representative satisfaction survey limited to people who have actually run local models. The closest broad Reddit sentiment study I found analyzed 10,733 LLM-related entries and classified <strong>54% as positive, 25.8% as negative, and 20.2% as neutral</strong>. But it mixed discussion of ChatGPT, DeepSeek, and local LLMs, so it should not be presented as a local-AI approval rating.</p><p>The social signal is more useful when read qualitatively.</p><p>LinkedIn is strongly positive. People repeatedly praise the same four things: privacy, offline use, freedom from API limits, and the ability to experiment without watching a token meter. One developer described Ollama moving from a curiosity to a useful companion for explanations, unit tests, JSON generation, and small utilities. Another reported useful code analysis from a 14B model-but with response times measured in minutes on modest hardware.</p><p>Reddit and Hacker News are less promotional and more conditional. The positive case is strongest for private documents, offline workflows, repetitive tasks, extraction, local search, and lightweight automation. The negative case appears when users expect a small quantized model to match a frontier service on complex coding, long-context synthesis, or agentic reasoning.</p><p>Even the highly selected Product Hunt audience shows the pattern. Ollama holds a 5.0 rating across 43 reviews, with praise for setup, privacy, and integration. The recurring caveats are VRAM management, concurrency, model quality, and operational friction under load.</p><p>So is sentiment positive or negative?</p><p><strong>Positive toward the idea. Mixed toward the experience.</strong></p><p>People like owning the endpoint. They become less enthusiastic when they discover that “free inference” means buying, configuring, powering, and maintaining the machine that performs it.</p><h3>Where the PC Analogy Works</h3><p>The analogy works because both shifts redistribute access to scarce computing.</p><p>Mainframes concentrated compute in a controlled room. Users submitted work through terminals and depended on a central department. Cloud AI concentrates intelligence behind an API. Users submit prompts and depend on a provider’s capacity, pricing, policies, and product decisions.</p><p>The PC changed the unit of ownership. A person or department could buy a machine, run software without joining a queue, and decide what happened to local data. Local AI makes a similar promise: the model becomes another process on your machine, reachable through localhost, scriptable like a database, and available without asking a vendor for permission.</p><p>The economics rhyme too. In 1984, desktop-computer sales exceeded mainframe sales for the first time. US household computer ownership then rose from <strong>8.2% in 1984 to 15% in 1989</strong>, helped by lower prices and more useful software.</p><p>The early local-AI experience feels similar: imperfect hardware, rapidly improving tools, enthusiasts tolerating friction, and new applications making yesterday’s toy useful.</p><h3>Where the Analogy Breaks</h3><p>A PC could eventually run the same deterministic software that once required a larger system. A local model is often not the same product in a smaller box.</p><p>The strongest proprietary models are not downloadable. A 7B or 14B open-weight model can be excellent for a bounded task and still fail badly when the workflow demands deep reasoning, long context, current information, or reliable tool use. Quantization makes models fit smaller hardware, but it can also reduce quality.</p><p>AI also has a different improvement cycle. Cloud providers can update models, retrieval systems, safety layers, and serving infrastructure continuously. A local deployment gives you control, but it also freezes responsibility on your side: model selection, patching, evaluation, observability, security, and capacity planning.</p><p>And privacy is not automatic security. Keeping prompts off a third-party API removes one exposure path. It does not secure the endpoint, encrypt the disk, patch the runtime, isolate malicious documents, or stop a compromised local agent from calling external tools.</p><p>The PC was a general-purpose platform shift. Local AI is initially a workload-placement decision.</p><h3>What Happened After the Mainframe</h3><p>The mainframe did not disappear.</p><p>By the late 1980s, client-server computing had reorganized the relationship. PCs became the interactive layer; centralized machines continued serving data and high-volume transactions. Mainframes lost their monopoly over computing without losing every workload.</p><p>That is the more useful prediction for AI.</p><p>The local model becomes the immediate layer: private, cheap at the margin, offline, customized, and close to the user’s files and tools.</p><p>The cloud model becomes the escalation layer: expensive per call, but stronger, larger, constantly updated, and available when the local system reaches its ceiling.</p><p>The endpoint on your laptop does not need to defeat the frontier model. It only needs to prevent unnecessary calls to it.</p><h3>Two Ways This Ends</h3><h3>Scenario One: Hybrid Becomes the Default</h3><p>This is the most plausible outcome.</p><p>Small models handle classification, extraction, local RAG, autocomplete, document triage, and first-pass agent work. A policy layer routes difficult or high-risk tasks to a frontier API. Sensitive context stays local where possible; only the minimum required payload crosses the boundary.</p><p>In this world, local AI does to cloud AI what the PC did to the mainframe: it removes the central system from everyday work without making it obsolete.</p><p>The winning product is not the best single model. It is the router that knows which model deserves each task.</p><h3>Scenario Two: Local Becomes the Primary Runtime</h3><p>If open models keep closing the quality gap while NPUs, unified memory, and inference software improve, most personal and departmental AI could run on owned hardware.</p><p>Cloud providers would not disappear. They would move up the stack-training foundation models, serving rare high-compute requests, distributing updates, synchronizing agents, and providing enterprise control planes. The cloud becomes less like the place every prompt goes and more like the power grid behind a mostly local system.</p><p>This scenario requires more than cheaper hardware. Local models must become boring to install, observable in production, secure by default, and good enough that users stop thinking about which model is running.</p><h3>The Decision Is Per Workload</h3><p>The local-versus-cloud debate is framed at the wrong level.</p><p>Do not ask whether your company, team, or laptop should “switch to local AI.” Ask which tasks need frontier capability, which data cannot leave the device, which workloads are steady enough to justify owned compute, and which interactions must survive without a network.</p><p>Then route accordingly.</p><p>The PC did not win because every personal computer was stronger than every mainframe. It won because most work never needed to reach the mainframe in the first place.</p><p>Local AI does not need to replace the cloud.</p><p>It needs to make sending every prompt there look as strange as booking mainframe time to edit a spreadsheet.</p><p><em>Data note: The individual adoption figures come from </em><a href="https://rethinkpriorities.org/research-area/adoption-llms-tech-workers/"><em>Rethink Priorities’ survey of US tech workers</em></a><em> and a </em><a href="https://arxiv.org/html/2508.16684v1"><em>2025 study of India’s developer ecosystem</em></a><em>. Agent-tool usage comes from the </em><a href="https://survey.stackoverflow.co/2025/ai"><em>2025 Stack Overflow Developer Survey</em></a><em>; enterprise self-hosting comes from </em><a href="https://www.wiz.io/reports/the-state-of-ai-in-the-cloud-2025"><em>Wiz’s State of AI in the Cloud 2025</em></a><em>. Historical PC ownership comes from the </em><a href="https://cps.ipums.org/cps/resources/cpr/p20-522.pdf"><em>US Census Bureau</em></a><em>. Social feedback is directional rather than representative; examples were reviewed across LinkedIn, Reddit, Hacker News, and Product Hunt.</em></p><p><em>Originally published at </em><a href="https://vibeops.one/2026/09/29/local-ai-wont-kill-the-cloud-it-will-make-it-the-new-mainframe/"><em>https://vibeops.one</em></a><em> on September 29, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9c343021644" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The CV Was Step One. Step Two Interviews You.]]></title>
            <link>https://medium.com/@thenotoriousrunner/the-cv-was-step-one-step-two-interviews-you-d1456747ca4b?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1456747ca4b</guid>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Tue, 07 Jul 2026 08:00:32 GMT</pubDate>
            <atom:updated>2026-07-21T04:28:44.234Z</atom:updated>
            <content:encoded><![CDATA[<h3>The CV Was Step One. Step Two Interviews You.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CwoCaXC0d0JxCmfI" /></figure><p>Six weeks ago I wrote about rebuilding my CV from scratch — master file, AI-NOTE annotations, tailored output generated from a job posting URL in under two minutes.</p><p>Several people asked: then what?</p><p>Then you get put on camera.</p><p>The tailored CV ships. Then something else follows — a recruiter screen, an async video submission, a hiring manager who wants sixty seconds in your own voice. Why you, why this role, why now.</p><p>Most people default to one of two failure modes. They read the CV out loud — which the recruiter already has — or they hand it to an AI and send a script that’s fluent, polished, and indistinguishable from forty other submissions that week.</p><p>Neither works. Both avoid the actual problem: under pressure, most people can’t clearly articulate why they actually want the role.</p><p>The CV can’t answer that. You have to.</p><h3>Two New Layers</h3><p>The tailoring command now does two things after generating the CV.</p><p><strong>Gap tracking.</strong> Every application appends a structured entry to a file called gaps.md. Role, company, date, and a table: each gap identified during tailoring, a severity label - hard required, soft required, or soft differentiator - and a one-line note. No softening. If the job description asked for something the master CV doesn&#39;t cover, it goes in the table.</p><p><strong>Video cover letter script.</strong> Not a template. A conversation.</p><p>Before writing a single word, the tool interviews you. One group of questions at a time. It asks for a concrete result — a number, a measurable outcome, something that didn’t survive the condensing pass. It asks what’s not in the CV at all. It asks what specifically excites you about this company, not the category. It asks how you’d describe your natural communication style.</p><p>Only after that does it write anything.</p><p>The output is four things: a 60–90 second script (~150–200 words at natural speaking pace), a shorter 45-second version, bullet-point teleprompter cues, and three alternate opening hooks. Because the first line is usually where it collapses — and “Hi, my name is” is the fastest way to lose the next sixty seconds.</p><h3>A Real Run Against a Stretch Target</h3><p>A few months ago I picked a posting deliberately — a senior infrastructure role at a well-known hardware company, with positions listed on another continent. A stretch target I had no intention of applying for. I wanted to see how honest the system would be against something it couldn’t rationalize away.</p><p>The CV pass was honest. Containers, Kubernetes, CI/CD — solid. The observability tooling they named: I had a functional equivalent, not the exact stack. Customer-facing experience: zero. The hardware acceleration layer — accelerator cluster management, high-performance interconnects — entirely absent from my background.</p><p>Five gaps into gaps.md. Three of them hard-required.</p><p>Then came the script interview.</p><p>First question: one concrete result, with a number. I cited a Kubernetes migration at a bank — fifteen services, zero downtime, two months. Real, verifiable, condensed out of the CV for length.</p><p>Second: what’s not in the CV? Two ongoing personal projects — one rebuilding RDMA-capable networking in software, one a structured learning path through GPU programming primitives. Not in the CV because they’re not complete. But real, and they explain why the gap is closing, not static.</p><p>The motivation question was where the tool pushed. “Why this company — not the category.” I had to move past “AI infrastructure is the future.” What I ended up writing was closer to: I want to work on the physical substrate that the rest of the stack runs on. That wasn’t in the job description. It was a position I’d been building for months, and the tool forced me to say it out loud clearly.</p><p>The script also had to address location. I cited an overseas colleague I’d worked with remotely for eight years — time zones, async handoffs, incidents across continents. “Distributed is already how I operate” isn’t reassurance. It’s a track record.</p><p>Final script: 178 words. Specific. In my own language, because the tool had extracted it from me rather than generated it from nothing.</p><p>I didn’t apply. The role was the exercise, not the destination. But the gap table that came out of it told me exactly where to point the next three months of learning.</p><h3>The Gap Map Is the Longer Game</h3><p>That last part is the one that surprised me.</p><p>After three or four applications, gaps.md starts to tell a story. The same skills appear in multiple tables. Hard-required gaps cluster around the same areas. You stop guessing at what to learn next - the market tells you, application by application, precisely where you&#39;re weak.</p><p>Most people discard this signal. The CV goes out. The rejection comes back. Nothing gets written down. The same gaps reappear six months later.</p><p>gaps.md is just the decision to write it down. Systematically.</p><p>The gap table from that stretch application became a learning roadmap. Two items from it are now active projects — not because someone recommended them, but because the process generated receipts.</p><h3>The Repository</h3><p>The tailoring command, the gap tracker, and the video script generator are one slash command in Claude Code. The flow is linear: fetch the posting → read the master CV → generate the tailored CV → append gaps → interview the user → write the script.</p><p>The repository is here: <a href="https://github.com/thenotoriousrunner/tailor-cv/">https://github.com/thenotoriousrunner/tailor-cv/</a></p><p>If you’re already running the master CV workflow from the first post, Steps 7 and 8 are the additions. If you’re starting from scratch, the README covers the full setup.</p><p>The CV is the deterministic part. Keyword matching, condensing, reordering — the system handles all of it.</p><p>The harder problem is what happens when someone looks at you and asks why.</p><p>The tool can’t answer that. But it can ask you the right questions until you can.</p><p><em>Originally published at </em><a href="https://vibeops.one/2026/07/07/the-cv-was-step-one-step-two-interviews-you/"><em>http://vibeops.one</em></a><em> on July 7, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1456747ca4b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The CV You’re Sending in 2026 Is Optimized for a World That No Longer Exists]]></title>
            <link>https://medium.com/@thenotoriousrunner/the-cv-youre-sending-in-2026-is-optimized-for-a-world-that-no-longer-exists-a3f9b7d676bc?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/a3f9b7d676bc</guid>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[hr]]></category>
            <category><![CDATA[resume-writing]]></category>
            <category><![CDATA[cv]]></category>
            <category><![CDATA[job-search]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Sat, 16 May 2026 20:00:53 GMT</pubDate>
            <atom:updated>2026-05-25T12:14:29.027Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*czE18nt40fqSmCro" /></figure><p>I spent years keeping my CV tidy. One page. Clean formatting. Relevant experience up front. All the things career coaches told me to do.</p><p>Then I realized none of those people were thinking about the AI that reads my CV before any human does.</p><h3>The World That No Longer Exists</h3><p>The traditional CV was optimized for a recruiter who opens a PDF, scans it for 8 seconds, and decides if it’s worth reading. That world still exists — but it now sits behind a filter: an ATS, a keyword matcher and, nowadays, an LLM that scores your fit against a job description before your name ever reaches a human inbox.</p><p>The problem isn’t that CVs are dead. It’s that most CVs are still written for the final reader, ignoring all the automated readers that come before.</p><p>I decided to rebuild mine from scratch with that reality in mind.</p><h3>The Insight: Two Files, Two Readers</h3><p>The shift that changed everything was separating the CV into two distinct artifacts:</p><p><strong>`cv-master.md`</strong> — a rich, exhaustive Markdown file meant to be read by an LLM. No length limit. Every project, every stack, every context. The source of truth.</p><p><strong>`cv-[company]-[role].md`</strong> — a clean, tailored document generated from the master. 1–2 pages. Keyword-matched to a specific job posting. Zero metadata. Ready for ATS and humans alike.</p><p>The master is never sent. It’s the codebase. The tailored CV is the build artifact.</p><h3>Building the Master: Going Beyond the Obvious</h3><p>Converting my old Word-exported CV to structured Markdown was the easy part. What came next was the enrichment — and that’s where it got interesting.</p><h3>LinkedIn Export as a Data Source</h3><p>LinkedIn lets you download your full data as a ZIP archive. Inside: positions, certifications, projects, languages, recommendations received. I fed all of it to Claude and let it reconcile everything against my existing CV.</p><p>Three previous roles I had collapsed into one entry were restored with correct dates. A contractor role I had forgotten to include reappeared. Eight certifications, properly grouped by category, replaced the two I had listed.</p><p>But the most unexpected source of signal was the recommendations.</p><p>When Claude processed my LinkedIn recommendations, it didn’t just extract what people said. It extracted <em>*how they described me to others*</em> — the specific language a former colleague used to explain my value to a third party. Phrases like “fast domain onboarding”, “business and technical dual fluency”, “technology change agent”. None of those were in my CV. All of them were truer than anything I had written myself.</p><h3>The AI-NOTE Discovery</h3><p>During this exercise I discovered an approach I initially did not think about, the technique I’m most excited about: <strong>`[AI-NOTE]`</strong>.</p><p>An `[AI-NOTE]` is a line of metadata embedded in the master CV, written for the LLM that will read it — not for any human. It looks like this:</p><p>The AI-NOTE is never sent. It is stripped out during tailored CV generation. But while it exists in the master, it acts as a director’s commentary — telling the LLM which roles this entry is relevant for, what third parties have said about it, and how to reframe it depending on context.</p><p>I ended up with three levels of annotation:</p><h3>What LinkedIn Inferred About Me (That I Didn’t Know)</h3><p>LinkedIn’s data export includes a file called `Inferences_about_you.csv`. It contains what the platform has algorithmically concluded about you for advertising purposes.</p><p>Mine said: <strong>Freelancer: true</strong>.</p><p>I had never described myself as a freelancer. But LinkedIn’s algorithm, reading my headline, summary, and activity patterns, had concluded that’s how my profile reads. That’s a signal — not for an advertiser, but for me! It means my profile communicates autonomy and independent delivery, which is exactly the positioning I want for startup and scale-up roles.</p><p>I added it as an AI-NOTE in the Summary section:</p><h3>The Result: A CV That Knows Itself</h3><p>After two sessions with Claude Code, `cv-master.md` contains:</p><ul><li>7 work experience entries with accurate dates and rich context</li><li>4 personal AI/data projects with stack details and target-role annotations</li><li>8 certifications grouped by category with links</li><li>3 languages</li><li>A full three-level AI-NOTE annotation layer</li><li>Third-party language extracted from LinkedIn recommendations, embedded as contextual metadata</li><li>Skills tagged with portfolio proof (vibeops.one posts as evidence for AI/data engineering claims)</li></ul><p>The first tailored CV I generated from it — for a GitLab Developer Advocate role — took less than 2 minutes. Claude read the job posting, matched it against the master, and produced a document where the Content &amp; Community section led, the vibeops.one blog was framed as existing developer audience, and a recommendation quote was used as inline social proof.</p><p>That CV knows what role it’s applying for. The master CV makes that possible.</p><h3>What’s Next</h3><p>The workflow still requires a manual trigger — paste a URL, ask Claude to generate. The natural next step is extending it with search capabilities: feed it a role type and location, get a ranked list of relevant postings, generate tailored CVs automatically.</p><p>Not there yet. But the foundation is in place.</p><p>If you want to try this yourself, start simple: convert your current CV to clean Markdown, add one global `[AI-NOTE]` at the top defining the generation rules, and try generating a tailored version for your next application. The infrastructure doesn’t need to be complex. The insight just needs to be there.</p><p>Your CV is being read by machines first. Write it for them too.</p><p><em>Originally published at </em><a href="https://vibeops.one/2026/05/16/the-cv-youre-sending-in-2026-is-optimized-for-a-world-that-no-longer-exists/"><em>http://vibeops.one</em></a><em> on May 16, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a3f9b7d676bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Built a “Model Council” Inside Claude Code — and It Caught What I Would Have Shipped to Prod]]></title>
            <link>https://medium.com/@thenotoriousrunner/i-built-a-model-council-inside-claude-code-and-it-caught-what-i-would-have-shipped-to-prod-f468679c8d3c?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/f468679c8d3c</guid>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Sat, 09 May 2026 20:00:51 GMT</pubDate>
            <atom:updated>2026-05-13T16:23:52.464Z</atom:updated>
            <content:encoded><![CDATA[<h3>I Built a “Model Council” Inside Claude Code — and It Caught What I Would Have Shipped to Prod</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kDc9Mo64xb8T2vvf" /></figure><p>There’s a pattern I keep seeing in how we use AI today, and I’m guilty of it too.</p><p>Claude writes a plan. The plan looks solid. We read it, nod, and say “looks good.” Then we implement it.</p><p>The problem isn’t that Claude is bad at planning. The problem is that <strong>we’ve outsourced the critical thinking</strong> — and we don’t always have the depth to spot what’s missing. Sometimes it’s laziness. More often, it’s that the plan touches areas we don’t fully master, and we trust the model precisely because we <em>can’t</em> easily second-guess it.</p><p>So I built a fix: a <strong>Model Council</strong> — an async hook that automatically calls a second AI to peer-review every plan Claude writes, before a single line of code is touched.</p><h3>What Is a Model Council?</h3><p>The idea is simple: no plan gets implemented without a second opinion from a different model.</p><p>Every time Claude writes an implementation plan to .claude/plans/, a hook fires in the background and calls nvidia/nemotron-3-super-120b-a12b:free via OpenRouter. Nemotron reads the plan, critiques it as a senior software architect, and saves its review to .claude/council-reviews/. Claude never blocks - the call is fully async. By the time you&#39;re reading Claude&#39;s summary, Nemotron is already working.</p><p>This is infrastructure with a feedback loop. Not “AI writes code.” <strong>AI reviews AI before AI writes code.</strong></p><h3>Why Nemotron? Why OpenRouter?</h3><p>Honestly? Because it’s free.</p><p>nvidia/nemotron-3-super-120b-a12b:free is available on OpenRouter&#39;s free tier and it&#39;s a capable 120B model. The point isn&#39;t the specific model - the architecture supports any OpenAI-compatible endpoint. You could swap in GPT-4.1, Gemini 2.5, or a local Ollama instance with one line change. The free tier just means your feedback loop costs you nothing to run.</p><h3>The Architecture</h3><pre>Claude writes plan → PostToolUse hook fires → background script spawns<br> ↓<br>OpenRouter API (Nemotron) reads plan<br> ↓<br>Review saved to .claude/council-reviews/[plan]-[timestamp]-review.md</pre><p>The hook is <strong>project-scoped only</strong> — no global Claude Code settings are touched. The API key lives in .claude/settings.local.json, which is gitignored.</p><h3>Does It Actually Work?</h3><p>Yes — and the first real test made it obvious.</p><p>I gave Claude a task: design a real-time notification system with WebSocket, Redis pub/sub, and PostgreSQL. Claude produced a competent plan. Clean architecture diagram, solid schema, good reuse of existing utilities.</p><p>Then Nemotron reviewed it.</p><p>The council came back with a 4/5 — and the one point deducted was earned. These were the gaps it found:</p><p><strong>Scalability</strong></p><p>socket.io-redis adapter completely absent - multiple WS instances would cause duplicate delivery</p><p><strong>Security</strong></p><p>No JWT revocation check on WebSocket — a stolen token keeps access forever</p><p><strong>Security</strong></p><p>No WS origin whitelist — any site could hijack the real-time channel</p><p><strong>Reliability</strong></p><p>No outbox pattern — a server restart between Redis receive and emit loses notifications silently</p><p><strong>Correctness</strong></p><p>Offset pagination breaks under live inserts — keyset pagination required</p><p>These aren’t edge cases. The socket.io-redis adapter alone would have caused a hard production bug the moment you scale to two instances. I would have caught some of these in code review. I would have missed at least two.</p><p><strong>That’s the point of the council.</strong></p><h3>The Deeper Idea</h3><p>There’s something interesting about what happens when two models talk to each other. The LinkedIn post that inspired this experiment framed it well: LLMs may process each other’s output with less noise than they process human language. Human prompts are ambiguous, contextual, emotionally loaded. A structured technical plan is closer to the “native format” of a reasoning model.</p><p>Whether or not that’s literally true, the practical result holds: <strong>you get a better output when a second model has to justify its critique to the first.</strong></p><p>We’re moving toward a world where the DevOps layer isn’t just “deploy AI.” It’s “run AI infrastructure that monitors, reviews, and corrects other AI.” The Model Council is one small step in that direction — and it costs nothing to run.</p><h3>What’s Next</h3><ul><li>Extend the council to <strong>code review</strong> post-write, not just planning</li><li>Add a --council-skip flag for trivial file writes</li><li>Experiment with routing different plan types to different reviewer models (Gemini for architecture, a code-specialized model for implementation details)</li></ul><p>The hook is already there. The only thing that changes is which model sits on the council.</p><p><em>The full scripts are available on </em><a href="https://github.com/thenotoriousrunner/modelcouncil"><em>GitHub</em></a><em>. Found a gap the council missed? Open an issue — it saved you from a production bug? ⭐ Star the repo</em></p><p><em>Originally published at </em><a href="https://vibeops.one/2026/05/09/i-built-a-model-council-inside-claude-code-and-it-caught-what-i-would-have-shipped-to-prod/"><em>http://vibeops.one</em></a><em> on May 9, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f468679c8d3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Burning Tokens: 7 Claude Code Rules and a Terminal Banner to Enforce Them]]></title>
            <link>https://medium.com/@thenotoriousrunner/stop-burning-tokens-7-claude-code-rules-and-a-terminal-banner-to-enforce-them-995758ee2c91?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/995758ee2c91</guid>
            <category><![CDATA[token]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Sat, 02 May 2026 21:02:29 GMT</pubDate>
            <atom:updated>2026-05-03T21:36:14.125Z</atom:updated>
            <content:encoded><![CDATA[<h3>Stop Burning Tokens: 7 Claude Code Rules and a Terminal Banner to Enforce Them</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZufvebCla_btwvzC" /></figure><p><em>Claude Code is powerful — but without the right habits you burn through your budget fast. Here are 7 rules the community has converged on, plus a zero-token startup banner to keep them front of mind.</em></p><h3>The Problem Everyone Runs Into</h3><p>Scroll through any Claude Code community thread and you will find the same story: a developer opens the CLI, fixes one thing, tweaks another, adds a follow-up, pastes a whole file “just in case” — and an hour later the token counter is deep in the red. The session grew without anyone noticing.</p><p>Token exhaustion is almost always a <strong>workflow problem</strong>, not a model problem. The fix is a set of habits. And habits only stick when you are reminded of them consistently.</p><h3>7 Rules That Actually Reduce Token Usage</h3><p>These are patterns that have emerged repeatedly from users who optimized their Claude Code workflows.</p><p><strong>1. Keep sessions short and clean.</strong><br>Every new message forces Claude to re-read the entire conversation. Use /clear between unrelated tasks and start a fresh session when you switch context.</p><p><strong>2. Write complete prompts in one shot.</strong><br>Follow-ups like <em>“now also fix the test”</em> or <em>“actually rename that variable”</em> each re-process the full thread. Write the complete request once, upfront.</p><p><strong>3. Batch related tasks.</strong><br>Instead of three separate messages for “fix bug”, “refactor code”, “add tests” — send them together: <em>“Fix the bug, refactor the code, and add tests.”</em> The model reads context once and produces one complete solution.</p><p><strong>4. Be strict with context.</strong><br>Pasting an entire file when only one function is relevant is the most common hidden cost. Share only the snippet you need, trim logs before pasting, and reference files by path instead of re-pasting them.</p><p><strong>5. Use the right model for the job.</strong><br>Formatting and quick edits → lighter model. General coding → mid-tier. Complex multi-step reasoning → full model. Using a heavy model for everything is unnecessary token burn.</p><p><strong>6. Avoid correction loops.</strong><br>Patching the same output again and again in the same thread makes the conversation longer and more expensive with every turn. If things get messy, restart the session and reframe the problem with clear, final requirements.</p><p><strong>7. Keep prompts simple and direct.</strong><br>Long, over-specified prompts increase token usage without improving output quality. Avoid repeating instructions, adding unnecessary background, or over-explaining the obvious. Be clear, be direct, focus on what matters.</p><h3>The Gap Between Knowing and Doing</h3><p>Reading a list is not the same as internalizing it. The real challenge is applying these rules in the middle of a debugging session when the instinct is to just send another message.</p><p>The fix is equally simple: <strong>display the rules every time you launch </strong><strong>claude.</strong></p><p>A startup banner costs zero tokens — it runs before Claude starts. It takes three seconds to read, and over time turns the list into muscle memory. Here is how to set it up on both platforms.</p><h3>Bash / Zsh Setup (macOS and Linux)</h3><p>Save this as ~/.config/claude-banner.sh:</p><p>PowerShell Setup (Windows)</p><p>Save the banner script somewhere accessible then add this wrapper to your PowerShell profile ( notepad $PROFILE):</p><p>Three details worth noting:</p><ul><li>Get-Command -CommandType Application resolves the real binary on disk, bypassing the alias - this prevents infinite recursion.</li><li>Select-Object -First 1 handles the case where both claude.cmd and claude exist in PATH.</li><li>@args forwards all arguments unchanged, so claude --help and claude -p &quot;...&quot; keep working normally.</li></ul><p>Reload with . $PROFILE. From that point on, every new terminal picks it up automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/0*Ov07NelzfLoBVOqp" /></figure><h3>The Point</h3><p>No tool can fix bad habits automatically. But a three-second reminder at the start of every session is enough to make you pause before pasting a 400-line file or firing off a fifth follow-up message.</p><p>The banner costs zero tokens. The rules it shows you will save thousands.</p><p><em>Leave a comment below if you have a rule that should be on the list.</em></p><p><em>Originally published at </em><a href="https://vibeops.one/2026/05/02/stop-burning-tokens-7-claude-code-rules-and-a-terminal-banner-to-enforce-them/"><em>http://vibeops.one</em></a><em> on May 2, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=995758ee2c91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Claude Code is your brain. Qdrant is its memory.]]></title>
            <link>https://medium.com/@thenotoriousrunner/claude-code-is-your-brain-qdrant-is-its-memory-76b4b00d4e04?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/76b4b00d4e04</guid>
            <category><![CDATA[qdrant]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Fri, 24 Apr 2026 22:22:46 GMT</pubDate>
            <atom:updated>2026-04-24T22:29:19.063Z</atom:updated>
            <content:encoded><![CDATA[<h3>Claude Code is your brain. Qdrant is its memory.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yOizAWr5attLuSIy" /></figure><p>I work with Claude Code every day. It sits inside VS Code, it reads my codebase, it writes infrastructure, it reviews pull requests. At some point I stopped thinking of it as a tool and started thinking of it as a colleague — one that happens to be extremely fast and never complains about on-call shifts.</p><p><em>But there was a problem. Every morning, I had to re-introduce myself</em></p><h3>The context file trap</h3><p>Like most people, I started with a CLAUDE.md file. Architecture decisions, naming conventions, client environments, internal runbooks. Everything Claude needed to know about the project, packed into a single markdown file loaded at the start of every session.</p><p>But….</p><p>The first issue was <strong>token consumption</strong>. That file grew. Every message I sent, Claude was re-reading the entire document — even when I was asking something completely unrelated to 80% of its content. On long sessions, the input token count was quietly exploding in the background. Not a disaster, but a slow and unnecessary cost.</p><p><em>The second issue was more serious: </em><strong><em>data residency</em></strong><em>.</em></p><p>I work with client documentation. Internal knowledge bases. Onboarding materials that contain infrastructure details, environment configurations, sometimes personal data. Every time I loaded that context file, the entire thing traveled to Anthropic’s servers — raw, unfiltered, regardless of what I was actually asking.</p><p>For a DevOps engineer working with European clients, that is not a theoretical concern. That is a GDPR problem.</p><h3>The real issue: a brain without long-term memory</h3><p>Here is what I realized: Claude Code is an extraordinarily capable reasoning engine. But it has no persistent memory. Every session starts from zero. The context window is its entire world — and I was filling it manually, by hand, with a flat file.</p><p>That is not how memory should work. When you ask a colleague “what port does the staging database run on?”, they do not re-read the entire project wiki before answering. They retrieve exactly what is relevant. Instantly.</p><p>That is what a vector database does.</p><h3>Enter Qdrant</h3><p>Qdrant is an open-source vector database. Instead of storing text as text, it stores it as mathematical embeddings — numerical representations of meaning. When you query it, it does not search for exact keywords. It finds what is <em>semantically close</em> to your question.</p><p>Combined with Claude Code via MCP (Model Context Protocol), it becomes Claude’s long-term memory. The architecture is simple:</p><ol><li>You index your documents once — architecture notes, runbooks, client environments, internal wikis</li><li>When Claude Code needs context, it queries Qdrant automatically via the MCP tool</li><li>Only the 3–5 most relevant chunks land in the context window — not the entire knowledge base</li></ol><p>The token cost drops dramatically. And more importantly, sensitive documentation stays in your Qdrant instance, running locally on your machine, until the moment it is actually needed.</p><h3>Setting it up</h3><p>Qdrant runs in Docker. One file</p><pre>services:<br>  qdrant:<br>    image: qdrant/qdrant:latest<br>    container_name: qdrant<br>    restart: unless-stopped<br>    ports:<br>      - &quot;6333:6333&quot;<br>    volumes:<br>      - qdrant_data:/qdrant/storage<br>    environment:<br>      - QDRANT__SERVICE__API_KEY=your-secret-key<br><br>volumes:<br>  qdrant_data:</pre><p>one command (in the folder when you put the above file)</p><pre>docker compose up -d</pre><p>and then register the MCP server in ~/.claude/settings.json:</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;qdrant&quot;: {<br>      &quot;command&quot;: &quot;uvx&quot;,<br>      &quot;args&quot;: [&quot;mcp-server-qdrant&quot;],<br>      &quot;env&quot;: {<br>        &quot;QDRANT_URL&quot;: &quot;http://localhost:6333&quot;,<br>        &quot;QDRANT_API_KEY&quot;: &quot;your-secret-key&quot;,<br>        &quot;COLLECTION_NAME&quot;: &quot;project-context&quot;<br>      }<br>    }<br>  }<br>}</pre><p>What actually changes</p><p>The difference is not just technical. It changes how you interact with Claude Code on a daily basis.</p><p>You stop managing context manually. You stop worrying about what is in the file and what is not. You stop sending your entire knowledge base to an external API every time you ask a question.</p><p>Claude Code becomes less of a tool you configure before each session and more of a system that simply knows your infrastructure — the same way a good engineer who has been on the team for six months just knows things.</p><p>The brain was always there. It just needed a place to store what it learns.</p><p><em>vibeops.one — infrastructure, automation, and the tools that actually work in production.</em></p><p><em>Originally published at </em><a href="https://vibeops.one/2026/04/25/claude-code-is-your-brain-qdrant-is-its-memory/"><em>http://vibeops.one</em></a><em> on April 24, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76b4b00d4e04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[World Models]]></title>
            <link>https://medium.com/@thenotoriousrunner/world-models-7f55c49d6c77?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f55c49d6c77</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[training]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 21:37:53 GMT</pubDate>
            <atom:updated>2026-03-13T21:57:50.343Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lDyLXbk2Sjjx0hnB" /></figure><p>World models are like an internal map of how the world works that an AI builds by watching what happens next after actions, so it can imagine and plan ahead. <strong>No human labeling required</strong> -just raw video does the trick.</p><h3>main architecture</h3><p>Think of it as a smart game simulator inside the AI:</p><ol><li><strong>You see something</strong> (like a rolling ball): The AI watches and summarizes it simply, like “ball moving right.”</li><li><strong>You remember the past</strong> (where the ball was before): It recalls its last “map update.”</li><li><strong>You imagine what happens next</strong> (if I kick it?): It guesses the future picture, like “ball flies left,” trying different “what if” endings to handle surprises.</li><li><strong>You learn from real life</strong>: By comparing its guesses to what actually happened, it gets better-like practicing free throws by checking if the ball went in.</li></ol><p>No magic math; just “watch, guess, check, improve” on videos or robot senses instead of words. <strong>No labeling needed</strong> -the real video frame becomes the automatic “correct answer.”</p><h3>Key Components</h3><ul><li><strong>The watcher (Encoder)</strong>: Like eyes and brain turning messy video into simple notes: “car ahead, road curves left.” Ignores useless details like every leaf.</li><li><strong>The guesser (Predictor)</strong>: Your “what if” daydreamer. Asks: “If I turn the wheel, does the car swerve safely?” Practices many futures in its head.</li><li><strong>Surprise handler (Latent variables)</strong>: Life isn’t predictable, so it tries a few endings like “maybe the car stops, maybe it speeds up,” picking the smartest path.</li><li><strong>Learning engine (Energy-based models)</strong>: A coach that rewards good guesses and fixes bad ones, using tricks like JEPA to keep things sharp and real.</li></ul><h3>How They Are Trained</h3><p>Training is like teaching a kid to predict games by playing millions of short clips:</p><ol><li><strong>Feed video clips + actions</strong>: Show sequences like “push cup → cup slides right.” <strong>No labels needed</strong>-it’s self-taught from real motion.</li><li><strong>Guess the next frame</strong>: AI imagines “what happens after?” and sketches a few possible futures (to cover surprises).</li><li><strong>Check against reality</strong>: Compare its guess to the actual next video frame. Good match? Keep it. Bad? Tweak the brain.</li><li><strong>Repeat endlessly</strong>: Use billions of YouTube videos, robot trials, or game footage. Add tricks to avoid lazy cheating (like always guessing “nothing changes”).</li></ol><p><strong>Key advantage</strong>: Needs <strong>far less GPU power than current LLMs</strong> From the description above, you understand no human interaction is involved during training-we don’t need massive numbers of underpaid people manually applying labels. We also drastically decrease the memory needed during training and usage, resulting in significant environmental improvement.</p><p>Over time, it learns physics rules (gravity pulls down) without being told, just by watching the world work. No human explanations-just raw experience.</p><p><em>Originally published at </em><a href="https://vibeops.one/2026/03/13/world-models/"><em>http://vibeops.one</em></a><em> on March 13, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f55c49d6c77" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kagent + Ollama on Docker Desktop (Windows): End‑to‑End Commands & Rationale]]></title>
            <link>https://medium.com/@thenotoriousrunner/kagent-ollama-on-docker-desktop-windows-end-to-end-commands-rationale-cd28fa47b267?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd28fa47b267</guid>
            <category><![CDATA[do-it-yourself]]></category>
            <category><![CDATA[kagent]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[ollama]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Mon, 26 Jan 2026 16:56:51 GMT</pubDate>
            <atom:updated>2026-01-26T17:00:14.291Z</atom:updated>
            <content:encoded><![CDATA[<h3>Kagent + Ollama on Docker Desktop (Windows): End‑to‑End Commands &amp; Rationale</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AqNNk4A1LrlyoUyR" /></figure><h3>0. Assumptions</h3><ul><li>OS: Windows with Docker Desktop installed and Kubernetes enabled.</li><li>Goal: run Kagent on Docker Desktop’s Kubernetes, and connect it to a <strong>local</strong> LLM served by Ollama (llama3.2:1b), with no external API keys.</li></ul><h3>1. Install and verify Docker Desktop Kubernetes</h3><p><strong>Command</strong></p><pre>powershell# Check Kubernetes node kubectl get nodes</pre><p><strong>Why</strong><br>Ensures the built‑in single‑node cluster ( docker-desktop / desktop-control-plane) is up and ready before installing anything on top.</p><h3>2. Install Kagent via Helm (conceptual)</h3><p><em>(Exact Helm commands may vary by chart version; the important part is that you end up with a </em><em>kagent namespace and controller/engine/UI pods.)</em> <strong>Conceptual commands</strong></p><pre># Create namespace (if not created by Helm)<br>kubectl create namespace kagent</pre><pre># Install CRDs and core Kagent chart (pseudo‑commands)<br>helm install kagent-crds &lt;crds-chart&gt; -n kagent<br>helm install kagent &lt;kagent-chart&gt; -n kagent</pre><p><strong>Why</strong><br>Installs Kagent’s CRDs (including ModelConfig and Agent) and the core components (controller, engine, UI) into a dedicated namespace.</p><h3>3. Fix ImagePullBackOff for Kagent core images</h3><p>When pods like kagent-controller, kagent-ui, or kagent-tools are stuck in ImagePullBackOff with &quot;unexpected EOF&quot;, manually pull the image using Docker and then delete the pod.</p><p><strong>Example command (controller)</strong></p><pre>docker pull cr.kagent.dev/kagent-dev/kagent/controller:0.7.7<br>kubectl delete pod -l app.kubernetes.io/component=controller -n kagent<br>kubectl get pods -n kagent -w</pre><p><strong>Example command (UI)</strong></p><pre>powershelldocker pull cr.kagent.dev/kagent-dev/kagent/ui:0.7.7 kubectl delete pod -l app.kubernetes.io/component=ui -n kagent kubectl get pods -n kagent -w</pre><p><strong>Why</strong><br>On Docker Desktop, transient network issues can break image pulls. Pulling images manually populates the local cache, and deleting pods lets Kubernetes recreate them using cached layers, avoiding repeated failures.</p><h3>4. Expose the Kagent UI</h3><p><strong>Command</strong></p><pre>kubectl port-forward svc/kagent-ui -n kagent 8080:8080</pre><p><strong>Why</strong><br>Forwards the Kagent UI service to http://localhost:8080, enabling access to the dashboard from the browser on the host.</p><h3>5. Spin up Ollama in Docker</h3><p><strong>Command</strong></p><pre>docker run -d --name ollama `<br> -p 11434:11434 `<br> -v ollama:/root/.ollama `<br> ollama/ollama</pre><p><strong>Why</strong><br>Starts Ollama as a container, persisting model data in a named volume and exposing the API on port 11434. This will become the “local LLM server” that Kagent eventually uses.</p><h3>6. Download a small model in Ollama</h3><p><strong>Command</strong></p><pre>docker exec -it ollama ollama pull llama3.2:1b</pre><p><strong>Why</strong><br>Fetches a very small but usable LLM, llama3.2:1b, into the Ollama instance, minimizing RAM/CPU footprint while still being useful for testing.</p><h3>7. Verify Ollama endpoint from the host</h3><p><strong>Command</strong></p><pre>curl.exe http://localhost:11434</pre><p>Expected content:</p><pre>textOllama is running</pre><p><strong>Why</strong><br>Confirms that the Ollama server is reachable and responding on the configured port.</p><h3>8. Create a temporary debug pod in kagent</h3><p><strong>Commands</strong></p><pre>docker pull busybox:latest</pre><pre>kubectl delete pod tmp-shell -n kagent --ignore-not-found</pre><pre>kubectl run tmp-shell -n kagent `<br> --image=busybox:latest `<br> --restart=Never `<br> -it -- sh</pre><p><strong>Why</strong><br>Provides a minimal shell inside the cluster, in the same namespace as Kagent, to test connectivity to services (such as Ollama) from the Kubernetes side.</p><h3>9. Verify Ollama from inside Kubernetes</h3><p><strong>Commands (inside </strong><strong>tmp-shell)</strong></p><pre>text# List models wget -O- http://ollama:11434/api/tags # Test a simple generation wget -O- --header=&quot;Content-Type: application/json&quot; \ --post-data=&#39;{&quot;model&quot;:&quot;llama3.2:1b&quot;,&quot;prompt&quot;:&quot;Say hi&quot;}&#39; \ http://ollama:11434/api/generate</pre><p><strong>Why</strong></p><ul><li>Confirms that a Kubernetes Service named ollama exists and resolves.</li><li>Verifies that the model llama3.2:1b is visible and can generate text when accessed from inside the cluster, not just from the host.</li></ul><h3>10. Inspect the default ModelConfig</h3><p><strong>Command</strong></p><pre>kubectl get modelconfig -n kagent<br>kubectl get modelconfig default-model-config -n kagent -o yaml</pre><p><strong>Why</strong><br>Shows how Kagent currently expects to reach its model (provider type, model name, host), and reveals the existing configuration that still referenced llama.cpp and host.docker.internal.</p><h3>11. Edit ModelConfig to point to Ollama + llama3.2:1b</h3><p><strong>Command</strong></p><pre>kubectl edit modelconfig default-model-config -n kagent</pre><p><strong>Edit the </strong><strong>spec section to:</strong></p><pre>textspec: apiKeySecret: &quot;&quot; apiKeySecretKey: &quot;&quot; model: llama3.2:1b ollama: host: ollama:11434 provider: Ollama</pre><p><strong>Why</strong><br>Aligns Kagent’s ModelConfig with the actual Ollama service accessible from the cluster:</p><ul><li>provider remains Ollama</li><li>model name matches exactly the model exposed by Ollama</li><li>host is the Kubernetes DNS name and port of the Ollama service (ollama:11434).</li></ul><h3>12. Restart the Kagent engine component</h3><p><strong>Command</strong></p><pre>kubectl delete pod -l app.kubernetes.io/component=engine -n kagent<br>kubectl get pods -n kagent -w</pre><p><strong>Why</strong><br>Forces the engine pod to restart and reload the updated model configuration, ensuring it uses the new Ollama endpoint and model.</p><h3>13. Create a first agent in Kagent UI</h3><p><strong>UI actions</strong></p><ol><li>Go to http://localhost:8080 (Kagent UI).</li><li>Create a new agent (agent1) of type &quot;Declarative&quot;.</li><li>Select default-model-config as ModelConfigRef.</li><li>Add a simple system prompt (“You’re a helpful agent…”) and save.</li></ol><p><strong>Why</strong><br>Defines a concrete agent resource in Kubernetes that uses the newly configured model, so we can validate both scheduling (pods/images) and LLM connectivity.</p><h3>14. Fix ImagePullBackOff for the agent runtime</h3><p><strong>When </strong><strong>agent1 pod shows </strong><strong>ImagePullBackOff for </strong><strong>cr.kagent.dev/kagent-dev/kagent/app:0.7.7:</strong> <strong>Command</strong></p><pre>docker pull cr.kagent.dev/kagent-dev/kagent/app:0.7.7<br>kubectl delete pod agent1-&lt;pod-hash&gt; -n kagent<br>kubectl get pods -n kagent -w</pre><p><strong>Why</strong><br>Same pattern as with the controller/UI: manually pulling the image ensures it is available to the node, and deleting the pod triggers a recreate that uses the cached image, allowing the agent pod to reach Running.</p><h3>15. Test the agent in Kagent UI</h3><p><strong>UI actions</strong></p><ol><li>Confirm in the UI that agent1 shows as <strong>Ready</strong>.</li><li>Open agent1, send a message like &quot;who are you?&quot; or &quot;hello&quot;.</li></ol><p><strong>Why</strong><br>This step checks the end‑to‑end chain:</p><ul><li>Kagent agent → engine → ModelConfig → Ollama service (ollama:11434) → model llama3.2:1b</li><li>and verifies that responses flow back into the UI.</li></ul><p>If an error such as Ollama_chatException - /11434/api/chat appears, it indicates a mismatch between the adapter&#39;s expected Ollama API path (/api/chat) and the tested path (/api/generate), meaning the infrastructure is correct but the framework&#39;s Ollama integration needs version alignment or a different backend (e.g., a vLLM OpenAI‑compatible server).</p><p><em>Originally published at </em><a href="https://vibeops.one/2026/01/26/kagent-ollama-on-docker-desktop-windows-end-to-end-commands-rationale/"><em>http://vibeops.one</em></a><em> on January 26, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd28fa47b267" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Kakeibo Chaos to Sankey Clarity: Docker, SQLite, and Plotly Magic]]></title>
            <link>https://medium.com/@thenotoriousrunner/from-kakeibo-chaos-to-sankey-clarity-docker-sqlite-and-plotly-magic-753c342347bf?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/753c342347bf</guid>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[money]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[expense-management]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Mon, 12 Jan 2026 21:07:33 GMT</pubDate>
            <atom:updated>2026-01-12T21:10:44.853Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZNp8SJgSRCOkpF00" /></figure><p>If you’ve ever felt buried under expense tracking apps but craved an effective visual that makes your entire year’s cash flow easy to read with a Sankey diagrams this is for you. Today I’m sharing my exact journey from exporting a Kakeibo database to generating a publication-ready Sankey diagram using Docker, SQLite, Python, and Plotly.</p><h3>The Spark: That Reddit Sankey Epiphany</h3><p>Scrolling Reddit last December, I stumbled upon a post titled “Our 2025 Year — Family Finances.” The attached Sankey diagram was pure gold: income streams converging into a central “budget” node, then exploding into expenses. It wasn’t just pretty, it told a story of personal finance!!!! At a glance, you saw allocation efficiency, waste spots, and savings triumphs.</p><p>Sankey diagrams emphasize the major transfers or flows within a system. They help locate the most important contributions to a flow, regardless we are talking about a flow of energy, of water or…. a flow of money in my family</p><p><a href="https://en.wikipedia.org/wiki/Sankey_diagram">https://en.wikipedia.org/wiki/Sankey_diagram</a></p><p>My Kakeibo app (Japanese budgeting method, Android-based) had been logging transactions for the whole year. But I was lacking a clear way to visualize all of those figures. Time to liberate those numbers…..</p><h3>Step 1: Kakeibo Export → SQLite Docker Rescue</h3><p>Kakeibo backups are ZIPs containing kakebo.db, kakebo.db-shm, and kakebo.db-wal Extracted to a folder, I fired up Docker for analysis:</p><p>The above gave me a web-based UI for sqllite, it was then able to load the exported files into database tables</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*vJ4F5KAmrrJCQd9K" /></figure><p>below a log snippet</p><p>First query for 2025 outflows</p><p>Exported to input.csv. Raw data ready, but needed transformation for proper Sankey structure:</p><p>incomes left → “Budget 2025” center → expenses right.</p><p>Sankey data structure is composed by three fields: source (where this transaction is coming from, example: salary) target (where this transaction is flowing, exampe: budget 25) and the amount (1 Million)</p><p>Data should be then harmonized like this</p><h3>Step 2: Vibecoding the Data Pipeline</h3><p>Here’s where antigravity (my AI assistant) shone. I fed it specs.md: precise 4-step logic to reshape CSV into Sankey format ( source,target,value).</p><p><strong>Core specs</strong></p><ol><li>For income rows: source=note, target=name, value=amount</li><li>Aggregate step 1 → source=target (income cats), target=&quot;Budget 2025&quot;, value=sum</li><li>For expense rows: source=name, target=note, value=amount</li><li>Aggregate step 3 → source=&quot;Budget 2025&quot;, target=source (expense cats), value=sum</li></ol><p>Antigravity generated gensankey.py using pandas-pure gold:</p><pre>import pandas as pd</pre><pre>df = pd.read_csv(&#39;input.csv&#39;)</pre><pre># Step 1-2: Incomes → Budget<br>..........<br>income_agg[&#39;source&#39;] = income_agg[&#39;target&#39;]<br>income_agg[&#39;target&#39;] = &#39;Budget 2025&#39;</pre><pre># Step 3-4: Expenses → Budget reverse<br>...........<br>expense_agg[&#39;source&#39;] = &#39;Budget 2025&#39;<br>expense_agg[&#39;target&#39;] = expense_agg[&#39;source&#39;]</pre><pre># Combine all<br>sankey_df = pd.concat([income_links, income_agg, expense_links, expense_agg])<br>sankey_df.to_csv(&#39;output.csv&#39;, index=False)</pre><p>Dockerfile updated:</p><pre>FROM python:3<br>WORKDIR /usr/src/app<br>RUN pip install pandas plotly<br>COPY gensankey.py .<br>CMD [&quot;python&quot;, &quot;gensankey.py&quot;]</pre><p>Build and run: docker build -t sankey-gen . &amp;&amp; docker run -v $(pwd):/usr/src/app sankey-gen. Boom- output.csv ready for visualization.</p><h3>Step 3: Plotly Sankey — From Ugly to Stunning</h3><p>Initial Plotly attempts? Disaster. Default layouts mangled flows, nodes overlapped, no custom colors. Antigravity iterated via walkthrough.md:</p><p><strong>Key fixes from debugging:</strong></p><ul><li><strong>Strict 5-layer positioning</strong>: x=[0,0.25,0.5,0.75,1] forced Income Details → Cats → Budget → Expense Cats → Details.</li><li><strong>Dynamic heights</strong>: Calculated via cumulative sums to prevent overlaps.</li><li><strong>Custom node colors</strong>: Mapped from YAML dict to node.color.</li></ul><p>Final displaydata.py snippet:</p><pre>pythonimport plotly.graph_objects as go<br>df = pd.read_csv(&#39;output.csv&#39;)</pre><pre># Unique nodes and positions<br>all_nodes = list(set(df[&#39;source&#39;].tolist() + df[&#39;target&#39;].tolist()))<br>node_dict = {node: i for i, node in enumerate(all_nodes)}<br>colors = {&#39;Budget 2025&#39;: &#39;#FF9800&#39;, &#39;Stipendi&#39;: &#39;#2196F3&#39;, &#39;Affitto&#39;: &#39;#F44336&#39;} # etc.</pre><pre>fig = go.Figure(go.Sankey(<br> .............</pre><h3>Why This Workflow Wins</h3><ol><li><strong>Zero vendor lock-in</strong>: Kakeibo → SQLite → CSV → portable Sankey.</li><li><strong>Docker reproducibility</strong>: One command rebuilds anywhere</li><li><strong>AI-assisted vibecoding</strong>: Specs.md → working code in iterations.</li><li><strong>Scalable</strong>: Add colors.yaml, CLI args for multi-year, categories.</li></ol><p>Total time: 4 hours debugging → lifelong template.</p><p><strong>Files for you:</strong></p><p>What’s your cash flow story? Drop in comments.</p><p><em>Vibeops.one: DevOps experiments for side hustlers. Follow for more</em></p><p><em>Originally published at </em><a href="https://vibeops.one/2026/01/12/from-kakeibo-chaos-to-sankey-clarity-docker-sqlite-and-plotly-magic/"><em>http://vibeops.one</em></a><em> on January 12, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=753c342347bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Future of AI: Diffusion vs Autoregressive Models]]></title>
            <link>https://medium.com/@thenotoriousrunner/the-future-of-ai-diffusion-vs-autoregressive-models-9960699882a1?source=rss-7fb25a25c8bf------2</link>
            <guid isPermaLink="false">https://medium.com/p/9960699882a1</guid>
            <category><![CDATA[gemini]]></category>
            <category><![CDATA[stable-diffusion]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[mercury]]></category>
            <dc:creator><![CDATA[thenotorious runner]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 22:54:04 GMT</pubDate>
            <atom:updated>2026-01-03T23:31:37.211Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q8QYjPax3UBJksd_" /></figure><p><strong>Meta Description:</strong> Discover how diffusion language models like Google Gemini Diffusion and Mercury achieve 10x faster text generation than traditional LLMs, while autoregressive models dominate image generation in 2025.</p><p>Diffusion language models (DLMs) are revolutionizing text generation with speeds up to 10x faster than traditional autoregressive large language models. While Google’s Gemini Diffusion and Inception’s free Mercury platform lead the charge in parallel text generation, an interesting twist has emerged: autoregressive models now outperform diffusion in image generation.</p><p>This comprehensive guide explores how diffusion language models work, their key advantages over autoregressive LLMs, flagship models you can use today, and why autoregressive approaches surprisingly dominate image generation in 2025.</p><h3>What Are Diffusion Language Models?</h3><p>Diffusion language models adapt the proven diffusion process from image generators like Stable Diffusion to discrete text tokens. Unlike traditional LLMs that generate text one word at a time, DLMs generate entire sequences in parallel through iterative refinement.</p><h3>The Diffusion Process for Text</h3><p>The training process involves two key phases:</p><p><strong>Forward noising:</strong> Clean text tokens are progressively masked or corrupted over multiple timesteps until the sequence becomes completely random.</p><p><strong>Reverse denoising:</strong> A Transformer model learns to predict and refine the original sequence, iteratively removing noise to reveal coherent text.</p><p>This parallel generation approach enables DLMs to produce entire token blocks simultaneously rather than sequentially, dramatically reducing latency.</p><h3>Key Technical Innovations</h3><p>Diffusion language models use <strong>bidirectional attention</strong>, allowing every token to condition on the full sequence during generation. This contrasts sharply with autoregressive models’ left-to-right causal masking.</p><p>Advanced techniques enhance DLM capabilities:</p><ul><li><strong>Diffusion-of-Thought (DoT)</strong> integrates chain-of-thought reasoning across denoising timesteps for flexible compute-reasoning tradeoffs</li><li><strong>Block diffusion hybrids</strong> interpolate between autoregressive and full diffusion for variable-length outputs with KV caching</li><li><strong>Adaptive caching (dLLM-Cache)</strong> reuses stable tokens across iterations, achieving up to 9x speedups on models like LLaDA-8B</li></ul><p>Most DLMs require 10–50 denoising steps during inference, though optimizations continue reducing this overhead.</p><h3>Diffusion Language Models vs Autoregressive LLMs: Key Advantages</h3><h3>1. Dramatically Faster Inference Speed</h3><p>The most compelling advantage of diffusion language models is speed. While autoregressive models generate text sequentially with inherent latency bottlenecks, DLMs refine entire blocks simultaneously.</p><p>Mercury, the world’s first commercial diffusion LLM, achieves over 1,000 tokens per second on H100 GPUs-delivering 5–10x faster throughput than comparable autoregressive models.</p><h3>2. Superior Error Correction</h3><p>Iterative refinement allows DLMs to self-correct hallucinations mid-process. Unlike autoregressive models where early errors propagate through the sequence (exposure bias), diffusion models can revise their entire output during denoising.</p><p>Diffusion-of-Thought models have beaten larger autoregressive models on mathematical reasoning benchmarks like GSM8K, demonstrating improved accuracy alongside speed gains.</p><h3>3. Enhanced Controllability and Editing</h3><p>Diffusion language models natively support:</p><ul><li>In-context editing and text infilling</li><li>Multimodal extensions for combined text-image generation</li><li>Reward-guided generation via trajectory resampling</li><li>Better control over output structure and formatting</li></ul><p>This makes DLMs particularly powerful for applications requiring iterative refinement, such as code generation, long-form content editing, and structured output generation.</p><h3>4. Improved Data Efficiency</h3><p>Research shows diffusion models excel in low-data regimes, better utilizing repeated training samples for downstream tasks. This makes them more practical for specialized applications with limited training data.</p><p>Benchmarks demonstrate DLMs matching autoregressive perplexity with smaller model sizes, and code generation strategies like Saber achieve 251% speedups while maintaining quality.</p><h3>Top Diffusion Language Models in 2025</h3><h3>Google Gemini Diffusion: Commercial-Scale Text Generation</h3><p>Google DeepMind’s Gemini Diffusion pioneers commercial-scale text diffusion technology. This flagship model generates coherent token blocks rapidly, performs error correction on-the-fly, and excels at mathematical reasoning and code editing tasks.</p><p><strong>Key capabilities:</strong></p><ul><li>Outpaces Gemini 2.0 Flash-Lite in speed benchmarks</li><li>Superior performance on non-agentic evaluation tasks</li><li>Native support for structured output and editing workflows</li></ul><p>Access the demo waitlist at <a href="https://deepmind.google/models/gemini-diffusion/">https://deepmind.google/models/gemini-diffusion/</a></p><h3>Mercury: Free Commercial Diffusion LLM</h3><p>Inception Labs’ Mercury represents a breakthrough as the world’s first freely available commercial diffusion language model. Accessible at <a href="https://chat.inceptionlabs.ai/">https://chat.inceptionlabs.ai/</a>, Mercury delivers impressive performance metrics:</p><ul><li>10x faster than autoregressive models (1,000+ tokens/second)</li><li>Superior accuracy on reasoning and code generation benchmarks</li><li>Drop-in compatibility with RAG pipelines and agent frameworks</li><li>Competitive with GPT-4o and Claude while using fewer computational resources</li></ul><p>Mercury’s Transformer architecture enables parallel denoising across the full context, making it ideal for developers building production AI applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/0*A-JPSMwrFalcAZSE" /></figure><h3>The Autoregressive Comeback: Image Generation in 2025</h3><p>While diffusion models revolutionize language generation, autoregressive approaches surprisingly lead image generation quality and efficiency in 2025.</p><h3>Why Autoregressive Models Excel at Images</h3><p>Modern autoregressive image generators like LlamaGen (3.1B parameters, 2.18 FID on ImageNet) and NextStep-1 (14B parameters) outperform diffusion giants like Flux.1 and Stable Diffusion 3 through scalable next-token prediction on visual tokens.</p><p><strong>Superior efficiency:</strong> Sequential generation with beam search and pruning requires fewer evaluations than diffusion’s multi-step denoising. A 2B parameter autoregressive model can surpass 12B parameter diffusion models.</p><p><strong>Better quality at scale:</strong> Models using raster scanning and continuous tokens (Infinity, VAR) achieve 0.89 GenEval scores compared to diffusion’s 0.83, handling high-resolution generation more effectively.</p><p><strong>Faster generation:</strong> Autoregressive models produce images in seconds rather than minutes. Hybrid approaches like HART refine autoregressive bases in just 8 denoising steps.</p><p><strong>Natural language editing:</strong> Models like Fluid, Janus-Pro-7B, and Token-Shuffle enable intuitive object addition and removal with text prompts, rivaling DALL-E 3’s editing capabilities.</p><h3>The Vibeops.one JSON Prompt Breakthrough</h3><p>A notable experiment demonstrated why autoregressive models excel with structured image generation. We used JSON prompts to create precise 9-square image grids:</p><pre>{ &quot;grid&quot;: [ {&quot;pos&quot;: 1, &quot;prompt&quot;: &quot;red apple&quot;}, {&quot;pos&quot;: 2, &quot;prompt&quot;: &quot;blue sky&quot;}, ... {&quot;pos&quot;: 9, &quot;style&quot;: &quot;photorealistic&quot;} ] }</pre><p>Diffusion models struggled with positional fidelity, confirming autoregressive superiority for structured visual layouts.</p><p>The technique particularly shines with raster-scan tokenization, where the autoregressive model naturally follows left-to-right, top-to-bottom generation patterns.</p><h3>Conclusion: The Hybrid Future of AI Generation</h3><p>The future of AI generation isn’t about choosing between diffusion and autoregressive approaches-it’s about using each where they excel. Diffusion language models deliver unprecedented speed and controllability for text and code, while autoregressive models provide superior precision and efficiency for images.</p><p>This complementary relationship powers the next generation of scalable, production-ready AI applications. Join the Gemini Diffusion waitlist, test Mercury for free today, and start prototyping hybrid workflows that leverage both paradigms.</p><p><em>Originally published at </em><a href="https://vibeops.one/2026/01/03/the-future-of-ai-diffusion-vs-autoregressive-models/"><em>http://vibeops.one</em></a><em> on January 3, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9960699882a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>