<?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 KP Rahul on Medium]]></title>
        <description><![CDATA[Stories by KP Rahul on Medium]]></description>
        <link>https://medium.com/@kprahul?source=rss-a1e2e1ef6502------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZRe87cG9HTRGIp6t</url>
            <title>Stories by KP Rahul on Medium</title>
            <link>https://medium.com/@kprahul?source=rss-a1e2e1ef6502------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:41:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kprahul/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[Agents, Graphs, and Loops: The 3 Concepts You Must Learn Before Anything Else in Agentic AI]]></title>
            <link>https://medium.com/@kprahul/agents-graphs-and-loops-the-3-concepts-you-must-learn-before-anything-else-in-agentic-ai-b11a86a7b8a2?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/b11a86a7b8a2</guid>
            <category><![CDATA[graph-engineering]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 17:51:24 GMT</pubDate>
            <atom:updated>2026-11-30T17:51:24.654Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re planning to learn AI Agents and Agentic AI — to apply it to your job, your personal projects, or your business — don’t dive straight into it without understanding three concepts first.</p><p>If you skip these, new terminology is going to keep popping up every single day. You’ll spend all your time just trying to figure out what each new term means, get overwhelmed, and eventually give up without learning any of it properly.</p><p>These three concepts — <strong>Agents, Graphs, and Loops</strong> — are the foundation underneath almost everything happening in Agentic AI right now. You’ve probably already seen terms like <strong>Loop Engineering</strong>, <strong>Graph Engineering</strong>, and <strong>Harness Engineering</strong> trending. Every one of those builds directly on top of these three fundamentals. Once you understand these, everything else clicks into place.</p><p>Let’s go through all three.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fLiq3SckPpoVf5-fWubtIw.png" /></figure><h3>1. What Is an Agent? (And Why Chat Isn’t One)</h3><p>A lot of people go to ChatGPT or Claude, upload a PDF, ask it to summarize what’s inside, or ask it to generate an image or an audio clip — and think that’s “using an Agent.” It’s not. That’s just plain <strong>chat</strong>.</p><p>Even today, a lot of people don’t understand the difference between chat and an Agent. Using chat is maybe 10% of what AI is actually capable of. Most people just give an input, get an output, and move on — that’s the entire interaction.</p><p>An <strong>Agent</strong> is different. An Agent completes your entire task on its own.</p><p>For example: if you work in IT, or you’re a student who needs to build and test a project end-to-end, you can set up an Agent to do that whole workflow for you. Or if you’re in IT and you constantly get emails that need replies — in your exact tone and style — you can set up an Agent to handle that too. The Agent performs the task <em>on your behalf</em>, not just answering a single question.</p><p>So that’s the big distinction: chat gives you an output, an Agent gets you an outcome.</p><h3>The 3 Things an Agent Has That Chat Doesn’t</h3><p><strong>1. Tools</strong></p><p>Tools are essential for Agent orchestration. If you want email automation like the example above, your Agent needs access to a tool — like Gmail. It can’t do anything with an app it has no access to.</p><p>This is exactly why <strong>MCP (Model Context Protocol)</strong> exists. Through MCP, you’re not limited to connecting one tool you can connect hundreds, even close to a thousand tools, to your Agent, and let it work with all of them autonomously.</p><p><strong>2. Memory</strong></p><p>An Agent has to continuously store what task it’s currently working on. Tomorrow, when it needs to continue that task, it needs to pick up based on what it already did — not start from zero. Without memory, the Agent forgets what it was supposed to do, and once it forgets, it starts <strong>hallucinating</strong>, which eventually backfires on you.</p><p>So memory is what keeps an Agent grounded in its own task, over time even for a fairly general task with no tools attached, memory still matters enormously.</p><p><strong>3. Loops</strong></p><p>A Loop is simple at its core: you set a goal, and the Agent keeps iterating on that goal until it’s achieved. We’ll go deeper into this one separately, because an entire discipline called <strong>Loop Engineering</strong> has grown out of it.</p><p>This is also a broader pattern worth noticing: every individual component of an Agent is slowly turning into its own “engineering” discipline. Memory has become <strong>Memory Engineering</strong>. Tools may well become <strong>Tool Engineering</strong> soon. Everything downstream builds from these three fundamentals.</p><h3>The Big Picture</h3><p>So to summarize the difference: Chat is you giving an input and getting an output. An Agent is you setting a goal — “do this task” — and the Agent itself decides what actions are needed to achieve that goal.</p><p>The flow looks like this: <strong>Agent → decides on actions → actions get executed → goal is achieved.</strong> And it’s at the “deciding on actions” stage that Tools, Memory, and Loops all come into play together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pK0RE5lNQSldnEIX_SuCOw.png" /></figure><h3>2. What Is a Graph? (Not the X-Y Kind)</h3><p>Back in school, “graph” meant plotting X and Y axes, marking points, maybe drawing a regression line. Forget that definition here — in AI Agents, a <strong>Graph</strong> means something completely different.</p><p>A Graph, in this context, is a <strong>workflow map</strong>: which job needs to happen, when it needs to happen, and what depends on what. This has become its own discipline, called <strong>Graph Engineering</strong>.</p><p>Here’s a simple way to picture it: say you have one Agent, and you assign it multiple tasks — not just one. When you hand it multiple tasks, it can autonomously spin up sub-agents to handle them, a setup often called an <strong>Agent Swarm</strong>. So now you might have Agent 1, Agent 2, and Agent 3, and the orchestrating Agent decides who does what, coordinating all of them toward your original goal.</p><h3>A Real Example: My LinkedIn Agent</h3><p>Here’s an Agent I actually built, using Graph Engineering:</p><ul><li><strong>Agent 1</strong> — Triggered by a single message in Telegram. Once triggered, it researches whatever AI topic is currently trending at its peak that day.</li><li><strong>Agent 2</strong> — Takes the research from Agent 1, analyzes the topic, picks the best angle, and starts writing LinkedIn content. To avoid it sounding AI-generated, I connected my own writing tone as a Knowledge Graph inside its tools, so it writes in a way that actually sounds like me.</li><li><strong>Agent 3</strong> — Takes that content, generates a related image for it, and posts it to LinkedIn.</li></ul><p>Here’s the key part: Agent 2 only runs after Agent 1 finishes. Agent 3 only runs after Agent 2 finishes. Agent 2 has a <strong>dependency</strong> on Agent 1, and Agent 3 has a dependency on Agent 2. That dependency chain — this job runs first, only then does the next one start, and so on — is exactly what Graph Engineering is about: properly defining what happens when, what follows what, and what depends on what, across a workflow.</p><p>One important note: Graph Engineering really earns its keep in <strong>multi-agent systems</strong>. If you’re running a single agent, you won’t get much out of it. But the moment you’re coordinating multiple agents together, it becomes essential.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D01s9e_9069glCyHzeFE1A.png" /></figure><h3>3. What Is a Loop? (And Why It’s Burning People’s Token Budgets)</h3><p>A Loop is straightforward in concept: the Agent keeps working until the goal is done. But this is also where a lot of people make an expensive mistake — and I’ve had many people reach out about exactly this.</p><p><strong>The mistake:</strong> people set a goal for their Loop Agent, configure the loop and forget to set when it should <em>stop</em>. Without that, the Agent just keeps repeating the same task over and over, and token costs skyrocket.</p><p>A Loop actually has five distinct steps:</p><p><strong>1. Plan</strong></p><p>You specify what work needs to be done, along with <strong>context</strong>. Context, simply put: imagine two people are fighting, and you need to resolve it. You can only actually resolve it if you understand <em>why</em> they started fighting in the first place. That “why” is context. If you give a task along with the context of why it exists, the model understands it far more easily, and hallucinations drop drastically.</p><p><strong>2. Execute</strong></p><p>This is simply instructing the Agent to actually carry out the planned task.</p><p><strong>3. Check</strong></p><p>This step is critical for a working loop. You set a threshold — for example: “Score your own output out of 100. If it crosses 70, stop. If not, redo the work.” That threshold, in this case 70%, becomes the bar the output has to clear.</p><p><strong>4. Iterate</strong></p><p>If the output doesn’t clear the threshold in the Check step, this fourth state kicks in — the Agent redoes the work. This is the actual “looping” part, and it’s where Loop Engineering starts doing real work.</p><p><strong>5. Stop</strong></p><p>If you leave things at just Plan → Execute → Check → Iterate, your token costs will keep climbing. This fifth component is what breaks the loop once the threshold is met. Some frameworks — AutoGen, for example — have a built-in terminate function specifically for this. Others simply stop automatically once the task finishes and clears the threshold.</p><p>The problem is that a lot of people skip setting this threshold entirely, so the Agent just keeps running indefinitely in the background. Frameworks like AutoGen, which are widely used in enterprise agent systems, handle this cleanly because terminate is built in. When a framework doesn&#39;t have that, you have to explicitly check the threshold yourself and force a stop — otherwise your Agent keeps running behind the scenes, quietly burning tokens.</p><p>Once the threshold is met and the loop breaks, the Agent stops completely. That’s the full lifecycle: <strong>Plan → Execute → Check → Iterate → Stop.</strong></p><h3>Why Does Everything Get Called “Engineering” Now?</h3><p>None of this “engineering” labeling existed at the very start. First, the concept of an AI Agent evolved on its own. Later, Loop Engineering was introduced specifically to improve accuracy and reduce hallucinations. That’s the actual reason these “engineering” disciplines keep emerging — not hype, but a genuine need to make each part of an Agent’s behavior more reliable.</p><h3>The Bottom Line</h3><p>Before you jump into building AI Agents — whether through a framework, a no-code tool, or a fully custom multi-agent system — get these three fundamentals solid first:</p><ol><li><strong>Agents</strong> — and specifically, the three things that separate an Agent from plain chat: Tools, Memory, and Loops.</li><li><strong>Graphs</strong> — the dependency map that defines what runs when, especially critical once you’re coordinating multiple agents.</li><li><strong>Loops</strong> — the five-step cycle (Plan, Execute, Check, Iterate, Stop) that lets an Agent keep improving its own output without burning through your token budget.</li></ol><p>Once these three are genuinely clear to you, everything else — Agentic Engineering, Graph Engineering, Loop Engineering, and whatever comes next — stops feeling like an overwhelming wall of new terms, and starts feeling like variations on a foundation you already understand.</p><p><em>If this was useful, drop your questions in the comments — happy to answer them. And follow along for more breakdowns like this.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b11a86a7b8a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Opus 5.5: This AI Is Getting Too Powerful]]></title>
            <link>https://medium.com/@kprahul/opus-5-5-this-ai-is-getting-too-powerful-b22e93e0fa20?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/b22e93e0fa20</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 18:53:13 GMT</pubDate>
            <atom:updated>2026-09-23T18:53:13.400Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*6NJIKFMBRax_gg-I" /></figure><p>Anthropic doesn’t slow down. Just when you think you’ve caught up with their latest release, another one drops. This time, it’s <strong>Claude Opus 5.5</strong> — and this is exactly the kind of release we need to talk about.</p><p>Before writing this, I didn’t just read the announcement — I went straight to the benchmarks to see what’s actually true and what’s just hype. Here’s what I found.</p><blockquote><a href="https://claude.dev/blog/getting-the-most-out-of-opus-5-5/">https://claude.dev/blog/getting-the-most-out-of-opus-5-5/</a></blockquote><h3>What Is Opus 5.5?</h3><p>Opus 5.5 is the first model in Anthropic’s new <strong>Claude 5.5 family</strong>, released on <strong>September 22, 2026</strong>. Anthropic’s own framing is simple: it performs at the level of <strong>Claude Fable 5.1</strong> — Anthropic’s top-tier model — on most work, while costing <strong>40% less to run</strong> than the previous Opus 5.</p><p>That 40% number is exactly the kind of thing that gets people’s attention, and it’s real. It doesn’t come from just charging less per token (though it does that too — input/output tokens are 20% cheaper). It comes from Opus 5.5 also being genuinely more efficient: it completes the same tasks using fewer tokens overall. Lower price per token <em>and</em> fewer tokens spent per task — combined, that nets out to a 40% cost drop on typical workloads.</p><h3>How Does It Compare to Other Models?</h3><p>Here’s where it gets interesting. On Anthropic’s own published benchmark table, Opus 5.5 leads the field in agentic coding, computer use, and knowledge work — outperforming Opus 5, Claude Fable 5.1, and both GPT‑5.6 Sol and <strong>GPT‑6 Astra</strong> on most of the key tests:</p><ul><li>On <strong>FrontierCode</strong> (a benchmark measuring whether an AI agent’s code changes would actually be merged), Opus 5.5 beats GPT‑6 Astra’s top score — while spending roughly a <strong>fifth of the cost per task</strong>.</li><li>On <strong>Terminal-Bench 4.0</strong>, Opus 5.5 matches GPT‑6 Astra’s performance for about <strong>40% of the cost</strong>.</li><li>On <strong>GDPval-AA v2.1</strong> (a test of real-world professional work across 44 occupations), Opus 5.5 also beats GPT‑6 Astra at max effort, again for roughly a fifth of the cost.</li></ul><p>So yes — your instinct that Opus 5.5 “overcomes” GPT‑6 Astra holds up in several major benchmarks, and it does so at a fraction of the price. That said, it’s not a clean sweep: GPT‑6 Astra actually comes out ahead on a couple of specific tests, like AutomationBench and a specialized science-agent benchmark (Terminal-Bench-Science). Anthropic themselves are upfront about this in their announcement, noting that at this level of capability, benchmark score gaps are becoming a less reliable guide to real-world differences — in their own internal use, the gap between Opus 5.5 and Fable 5.1 felt narrower than the benchmark numbers suggest.</p><h3>Real-World Speed and Efficiency Gains</h3><p>Numbers on a benchmark chart are one thing — real usage is another. Anthropic shared a few concrete examples that make the efficiency gains tangible:</p><ul><li>One early tester completed a <strong>680,000-line code migration in under a day</strong> — work that would normally take an engineering team weeks.</li><li>Another tester audited and fixed a <strong>200,000-line codebase in under 3 hours</strong>, where Opus 5 had taken over 20 hours and used 2.5x as many tokens.</li><li>In a HAProxy rewrite test (translating a large C codebase into Rust), Opus 5.5 finished in 9.5 hours versus 12 hours for Fable 5.1 — at 51% lower cost.</li><li>Output generation itself is also <strong>more than 30% faster</strong> than Opus 5.</li></ul><p>Multiple companies that got early access — GitHub, Stripe, Box, Spotify, Optiver, and others — reported similar patterns: same or better task quality, using roughly half the tokens and steps compared to Opus 5.</p><h3>It Also Communicates Better</h3><p>One thing that stood out in Anthropic’s announcement, beyond raw performance: Opus 5.5 writes and explains itself more clearly than previous models. This was one of the most common pieces of feedback Anthropic got about Opus 5 — that its output could be verbose and hard to follow. Testers described Opus 5.5 as putting the most important information up front and cutting down on unnecessary jargon, which matters a lot when you’re reviewing its work over a long session.</p><h3>Safety Improvements</h3><p>Opus 5.5 also scored the best of any Claude model to date on Anthropic’s internal alignment testing (their “automated behavioral audit”), and it’s notably more resistant to prompt injection attacks than Opus 5. Because its biology and cybersecurity capabilities are strong enough to approach Anthropic’s more restricted Mythos-tier models, it launches with the same class of safeguards used on Claude Fable 5.1 — with verified access programs available for legitimate biology and cybersecurity researchers who need the unrestricted version.</p><h3>Getting the Most Out of Opus 5.5</h3><p>Anthropic also published a practical playbook for working with this model, since it behaves a bit differently from what people are used to. Here’s the core advice, if you’re going to start using it:</p><p><strong>1. Hand over the whole task, not just a piece of it.</strong> Rather than micromanaging step by step, give Opus 5.5 the full task in one message, clearly state what “done” looks like, and tell it when to stop and ask you something. Then let it run. It’s built to work independently for much longer stretches than earlier models.</p><p><strong>2. Stop telling it to “think carefully.”</strong> Opus 5.5 always reasons before replying — it decides on its own how much thinking a task needs. Adding “think step by step” to your prompts doesn’t help anymore; if anything, it can just slow the reply down for no real benefit.</p><p><strong>3. For long coding sessions, set clear stopping rules.</strong> Since it now runs much longer unattended, it helps to explicitly tell it when to keep going versus when to stop and check in with you — especially before anything destructive, like deleting data or force-pushing changes.</p><p><strong>4. Use subagents for large audits or migrations.</strong> For big jobs — like auditing every service in a codebase — you can ask Opus 5.5 to split the work across subagents, have each one report back with evidence, and have it verify that evidence before accepting the result.</p><p><strong>5. Ask it to review code before a human does.</strong> Testers found that Opus 5.5, even set to its lowest effort level, caught more bugs than Opus 5 did at its highest effort setting — with fewer false alarms.</p><p><strong>6. Attach images and charts directly instead of retyping data.</strong> Opus 5.5 reads charts, screenshots, and diagrams more accurately than before, including understanding spatial relationships (like which boxes an arrow connects).</p><p><strong>7. When a message is flagged for safety review, know your options.</strong> If a message gets redirected to a different model because it tripped a safety check, you can switch back manually, or change your settings so you’re asked first instead of being auto-switched.</p><h3>Final Thoughts</h3><p>Whether or not you buy into “AGI” as a meaningful label, the trend behind Opus 5.5 is hard to ignore: each new release is getting <strong>more capable while consuming fewer resources</strong> to do it. That combination — better results, lower cost, less time — is exactly the kind of compounding progress that makes people nervous and excited about where this is heading.</p><p>This is a model worth paying attention to.</p><p><em>If you found this useful, follow me for more breakdowns of the latest AI model releases.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b22e93e0fa20" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jev: The AI Model That Answers With Probabilities, Not Words]]></title>
            <link>https://medium.com/@kprahul/jev-the-ai-model-that-answers-with-probabilities-not-words-57fc2ccd8cca?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/57fc2ccd8cca</guid>
            <category><![CDATA[tokenization]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 18:59:08 GMT</pubDate>
            <atom:updated>2026-09-21T18:59:08.500Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently, you’ve probably heard people talking about a new model called <strong>Jev</strong>. In this article, I’ll explain what this model actually is, why it’s gotten so much attention, and what skills you’d want to have if you’re building around models like this.</p><h3>What Is Jev, and Why Is It Famous?</h3><p>Jev was released by <strong>TypeSafe AI</strong> in mid-September 2026, and it broke through online almost immediately. <a href="https://typesafe.ai/">https://typesafe.ai/</a></p><p>The first thing that stands out about Jev is speed. Compared to typical large language models, Jev is dramatically faster — TypeSafe reports response times in the range of 70–500 milliseconds, which is an enormous jump compared to the token-by-token generation speed of a typical LLM.</p><p>But there’s a deeper reason for that speed, and it comes down to an important, often-overlooked problem in AI: <strong>tokens</strong>.</p><h3>The Token Problem</h3><p>Every response from a typical LLM is generated one token at a time — each new token depends on the one before it, which is part of why generation can feel slow, and why cost scales with how much text is generated. If you reduce the number of tokens a model needs to produce, you cut cost and reduce the time it takes to get an answer, but you also risk the response quality breaking down completely — a model forced to be too brief can lose the plot.</p><p>Jev takes a different approach to this problem entirely: it works efficiently with very few tokens, without falling apart, because it isn’t trying to generate free-form text at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5mWa1I9pJZel6x-T.png" /></figure><h3>Jev Isn’t a Normal, Generalized Model</h3><p>Unlike GPT, Claude, or Gemini, Jev is not built to hold a conversation, write code, or generate prose. It’s explicitly <strong>not</strong> a general-purpose chat model.</p><p>Instead, Jev works like a <strong>decision engine</strong>. Rather than producing an open-ended stream of text, it produces a structured decision, drawn from a small, predefined set of possible answer types, which TypeSafe calls <strong>primitives</strong>:</p><ol><li><strong>Choice</strong> — picks the best option from a fixed list you provide (e.g. “billing,” “technical,” “sales”)</li><li><strong>Score</strong> — returns a value on a numeric scale you define (e.g. rate this review 1–10)</li><li><strong>Noul</strong> — answers a yes/no question, returning a probability instead of a flat true/false</li></ol><p>You define the possible outputs ahead of time in your request, and Jev returns one of those exact options — it can never invent an output you didn’t already declare. This is what makes it so fast: instead of generating text one token at a time, Jev evaluates all the possible answers in a request in a single parallel pass, rather than sequentially.</p><h3>Every Answer Comes With a Calibrated Confidence Score</h3><p>This is the part of Jev that’s genuinely novel. Every answer Jev gives is <strong>calibrated</strong> — meaning the confidence score attached to it is meant to reflect real, honest probability, not just a persuasive-sounding number.</p><p>Here’s the key distinction TypeSafe draws:</p><ul><li><strong>RLHF</strong> (used to train most existing chat-based LLMs, including the models behind ChatGPT) optimizes for answers that a <em>human rater prefers</em> — meaning it’s rewarded for sounding good and confident, not necessarily for being accurate.</li><li><strong>RLCD</strong> (<strong>Reinforcement Learning for Calibrated Decisions</strong>) — the method TypeSafe built specifically for Jev — instead optimizes so that Jev’s <em>stated</em> confidence matches its <em>actual</em> accuracy. If Jev says it’s 85% confident, it should genuinely be correct about 85% of the time.</li></ul><p>In practice, this means if you ask Jev a Choice or Score question, its confidence value isn’t just decoration — it’s a number you can actually build logic around. For example:</p><pre>if result.confidence &gt;= 0.95:<br>    route_automatically(result.choice)<br>else:<br>    send_for_human_review(result.choice)</pre><p>This turns Jev’s output into something your code can act on directly and predictably — high-confidence answers get automated, low-confidence answers get escalated to a human. That’s the “calibrated confident doubt” idea: Jev doesn’t just answer, it tells you how much to trust that answer.</p><h3>What Jev Is Actually Good For</h3><p>Because Jev outputs calibrated probabilities and structured decisions rather than free-form text, it’s built for a different kind of workload than a conversational LLM. Some practical use cases:</p><ul><li><strong>Support ticket routing</strong> — classifying an incoming ticket as billing, technical, or sales, with a confidence score attached</li><li><strong>Fraud or risk flagging</strong> — scoring a transaction or filing for red flags</li><li><strong>Content moderation decisions</strong> — a fast yes/no/probability call on whether content violates a policy</li><li><strong>Product review scoring</strong> — rating reviews on a defined scale, consistently and cheaply</li></ul><p>In short: anywhere your software needs a fast, structured, trustworthy decision — not a written response — Jev is designed to slot in as what TypeSafe describes as a kind of “smart if-statement.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E8WwBP4kRTwnh_Dz" /></figure><h3>Skills Worth Building If You’re Working With Models Like This</h3><p>Jev itself is deliberately narrow — it doesn’t browse, call tools, take actions, or accept images. But if you’re building real products with fast decision models like this <em>alongside</em> general-purpose LLMs and agents, there’s a broader skill set worth developing. Here are seven areas I’d point to:</p><p><strong>Content Compaction</strong> — When a system keeps loading the full previous conversation to generate every new response, token usage balloons. Learning to compact and clean up context — keeping only what’s relevant to the decision at hand — keeps future responses faster and cheaper.</p><ol><li><strong>Tool Selection</strong> — When you’re combining multiple models and tools inside one system, deciding <em>which</em> tool to call for a given task is its own skill — the wrong tool call wastes tokens and produces worse results.</li><li><strong>Computer Use</strong> — For agents that need to actually operate software (clicking, navigating, filling forms), you need to know how to give clear, specific instructions that an agent can execute reliably.</li><li><strong>Agent Supervision</strong> — Combining components like OCR (Optical Character Recognition) for reading text from documents or images, with a supervising layer that checks the output, is a valuable pattern for building reliable pipelines around narrower, specialized models.</li><li><strong>Browser Agents</strong> — Building agents that can follow instructions and take actions inside a browser is a distinct skill from prompting a chat model — it requires structuring instructions and choices the agent can reliably act on step by step.</li><li><strong>Careful Review Loops</strong> — Using a fast, calibrated model to do an initial review pass (like a first-pass code review) before a human looks at it can bring automated review closer to human-level judgment, especially as these review loops get more elaborate and flexible over time.</li><li><strong>Model Routing</strong> — Not every task needs your most powerful (and most expensive) model. Learning to detect when a lighter-weight or narrower model can handle a task, and routing accordingly, saves both time and token cost.</li><li><strong>Content Compaction</strong> — When a system keeps loading the full previous conversation to generate every new response, token usage balloons. Learning to compact and clean up context — keeping only what’s relevant to the decision at hand — keeps future responses faster and cheaper.</li></ol><p>None of these are things Jev itself does — Jev is intentionally narrow and doesn’t call tools or take actions. But if you’re building systems where fast decision models like Jev work alongside general-purpose LLMs and agents, these are the skills that let you combine them well.</p><h3>Closing Thought: Are We Getting Closer to AGI?</h3><p>Models are getting faster and consuming fewer tokens for the same task, without a drop in quality. That trend — more capability delivered with less computational cost — is exactly the kind of compounding progress people point to when they talk about an approaching AGI (Artificial General Intelligence) era.</p><p>Whether or not that’s the right framing, one thing is clear: models like Jev show that “bigger and more general” isn’t the only direction AI is moving in. Sometimes the more useful innovation is a smaller, faster, narrower model that knows exactly how confident it should be.</p><p><em>If you found this useful, follow me for more breakdowns of new AI models and how to build with them.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57fc2ccd8cca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design Patterns: An Introduction (LLD Series — Part 3)]]></title>
            <link>https://medium.com/@kprahul/design-patterns-an-introduction-lld-series-part-3-666b366aa430?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/666b366aa430</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Fri, 18 Sep 2026 04:59:29 GMT</pubDate>
            <atom:updated>2026-09-18T04:59:29.257Z</atom:updated>
            <content:encoded><![CDATA[<p>In the previous article, we covered the SOLID principles. Now let’s move to another core pillar of Low-Level Design: <strong>Design Patterns</strong>.</p><p>In this article, we’ll cover why design patterns matter, what they’re used for, and the categories and types that exist. In upcoming articles, we’ll take each important pattern and walk through its implementation with real code examples.</p><h3>What Are Design Patterns, and Where Did They Come From?</h3><p>These patterns are known as the <strong>Gang of Four (GoF) design patterns</strong>.</p><p>Back in 1994, four authors — Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides — wrote a book called <em>Design Patterns: Elements of Reusable Object-Oriented Software</em>. In it, they documented <strong>23 design patterns</strong>, based on recurring solutions they had observed across real software design problems. Because there were four authors behind the book, they became known as the “Gang of Four,” and the patterns they catalogued are still referred to as <strong>GoF design patterns</strong> today.</p><h3>Why Do Design Patterns Matter?</h3><p>Here’s the core idea: whenever you’re developing software, you’ll run into small, recurring problems — things like “how do I create objects without tightly coupling my code to specific classes?” or “how do I let one object notify others when its state changes?”</p><p>These problems come up so often, across so many different projects, that experienced developers have already solved them — repeatedly — in well-tested, well-understood ways. Design patterns capture those solutions so you don’t have to reinvent them yourself.</p><p>In short, a design pattern is a:</p><blockquote><strong><em>Proven solution to a common software design problem.</em></strong></blockquote><p>Think about it this way: if you’re building software and it has a bug, you can find that bug and fix it. But if you already know about a well-known problem <em>before</em> you write the code — because someone already documented the standard solution — you can avoid introducing that bug in the first place. That’s exactly what design patterns give you: solutions to common issues, established in advance.</p><h3>The Benefits of Using Design Patterns</h3><ol><li><strong>Reusability</strong> — the same proven solution can be applied across different projects.</li><li><strong>Maintainability</strong> — code built on well-known patterns is easier to update and extend later.</li><li><strong>Readability</strong> — other developers familiar with the pattern can understand your code faster.</li><li><strong>Clean code</strong> — patterns naturally push you toward better-structured, less tangled code.</li></ol><h3>The Blueprint Analogy</h3><p>You can think of a design pattern as a <strong>blueprint for writing code</strong>.</p><p>For example, if you’re constructing a building, that building needs a blueprint or design plan before construction begins. The same applies to software: when you’re building an application, you can use a design pattern as the blueprint that guides how a particular part of your system should be structured.</p><h3>The Three Categories of Design Patterns</h3><p>The 23 GoF design patterns are organized into three categories:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/0*l-_5lAKkqJujEmfT.jpeg" /></figure><ol><li><strong>Creational Design Patterns</strong></li><li><strong>Structural Design Patterns</strong></li><li><strong>Behavioral Design Patterns</strong></li></ol><h3>1. Creational Design Patterns</h3><p>Creational design patterns handle <strong>object creation in a controlled way</strong> — rather than creating objects directly wherever they’re needed, these patterns provide structured ways to create them, giving you more flexibility and less tight coupling.</p><p>There are <strong>5 types</strong> of creational design patterns:</p><ol><li>Abstract Factory</li><li>Builder</li><li>Factory Method</li><li>Prototype</li><li>Singleton</li></ol><h3>2. Structural Design Patterns</h3><p>Structural design patterns define the <strong>relationships between classes and objects</strong> — how they’re composed together to form larger structures.</p><p>There are <strong>7 types</strong> of structural design patterns:</p><ol><li>Adapter</li><li>Bridge</li><li>Composite</li><li>Decorator</li><li>Facade</li><li>Flyweight</li><li>Proxy</li></ol><h3>3. Behavioral Design Patterns</h3><p>Behavioral design patterns focus on <strong>object interaction and responsibility</strong> — how objects communicate with each other and how responsibilities are distributed between them.</p><p>There are <strong>11 types</strong> of behavioral design patterns:</p><ol><li>Chain of Responsibility</li><li>Command</li><li>Interpreter</li><li>Iterator</li><li>Mediator</li><li>Memento</li><li>Observer</li><li>State</li><li>Strategy</li><li>Template Method</li><li>Visitor</li></ol><h3>What’s Next</h3><p>That’s 5 + 7 + 11 = 23 patterns in total — matching exactly what the Gang of Four documented back in 1994. In the upcoming articles in this series, we’ll go through the most important patterns from each category, one at a time, with real code examples showing both the problem they solve and how to implement them.</p><p><em>If you found this useful, follow me for the rest of this LLD series.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=666b366aa430" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SOLID Principles Explained With Java Code (LLD Series — Part 2)]]></title>
            <link>https://medium.com/@kprahul/solid-principles-explained-with-java-code-lld-series-part-2-f765b66018fe?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/f765b66018fe</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[low-level-design]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Wed, 16 Sep 2026 19:34:16 GMT</pubDate>
            <atom:updated>2026-09-16T19:34:16.170Z</atom:updated>
            <content:encoded><![CDATA[<p>In the <a href="https://claude.ai/chat/b9032418-fc7f-4233-b96b-727ee9a64248#">previous article</a>, we covered what Low-Level Design (LLD) is and why it matters. Now let’s dive into the most important topic in LLD: the <strong>SOLID principles</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x53o3aWoTzCiSR4W.png" /></figure><p>SOLID is an acronym for five design principles that help you write clean, flexible, and maintainable object-oriented code:</p><ol><li><strong>S</strong> → Single Responsibility Principle (SRP)</li><li><strong>O</strong> → Open/Closed Principle (OCP)</li><li><strong>L</strong> → Liskov Substitution Principle (LSP)</li><li><strong>I</strong> → Interface Segregation Principle (ISP)</li><li><strong>D</strong> → Dependency Inversion Principle (DIP)</li></ol><p>For each principle, I’ll show you code <strong>with a violation</strong> and code <strong>without a violation</strong>, so you can clearly see the difference.</p><h3>1. Single Responsibility Principle (SRP)</h3><blockquote><strong><em>A class should have only one reason to change</em></strong><em> — meaning it should have only one job or responsibility.</em></blockquote><p>When you’re building a class in an object-oriented language, that class should have exactly one responsibility. For example, if you’re creating a Car class, only car-related responsibilities belong inside it. If you introduce an additional feature that doesn&#39;t logically belong to a car, it shouldn&#39;t go in the Car class.</p><h3>With Violation</h3><pre>package SingleResponsibilityWithViolation;</pre><pre>// Violates SRP: This class has multiple responsibilities<br>// (salary calculation &amp; report generation)<br>class Employee {<br>    private String name;<br>    private double salary;</pre><pre>    public Employee(String name, double salary) {<br>        this.name = name;<br>        this.salary = salary;<br>    }</pre><pre>    public double calculateSalary() {<br>        return salary * 1.2; // Example salary calculation<br>    }</pre><pre>    public void generateReport() {<br>        System.out.println(&quot;Generating employee report...&quot;);<br>    }<br>}</pre><pre>public class SRPViolation {<br>    public static void main(String[] args) {<br>        Employee emp = new Employee(&quot;John&quot;, 50000);<br>        System.out.println(&quot;Salary: &quot; + emp.calculateSalary());<br>        emp.generateReport();<br>    }<br>}</pre><p><strong>What’s wrong here?</strong></p><p>The Employee class is doing three different jobs at once: holding employee data, calculating salary, and generating reports. That means it now has <em>three</em> reasons to change — if the salary formula changes, if the report format changes, or if employee data changes, you have to modify this same class. Over time, this makes the class bloated and risky to edit, because a change to reporting logic could accidentally break salary logic.</p><h3>Without Violation</h3><pre>package SingleResponsibilityWithoutViolation;</pre><pre>// Now, each class has a single responsibility</pre><pre>// Responsible only for holding employee details<br>class Employee {<br>    private String name;<br>    private double salary;</pre><pre>    public Employee(String name, double salary) {<br>        this.name = name;<br>        this.salary = salary;<br>    }</pre><pre>    public String getName() {<br>        return name;<br>    }</pre><pre>    public double getSalary() {<br>        return salary;<br>    }<br>}</pre><pre>// Responsible only for salary calculation<br>class SalaryCalculator {<br>    public double calculateSalary(Employee employee) {<br>        return employee.getSalary() * 1.2;<br>    }<br>}</pre><pre>// Responsible only for report generation<br>class ReportGenerator {<br>    public void generateReport(Employee employee) {<br>        System.out.println(&quot;Generating employee report for &quot; + employee.getName() + &quot;...&quot;);<br>    }<br>}</pre><pre>public class SRPExample {<br>    public static void main(String[] args) {<br>        Employee emp = new Employee(&quot;John&quot;, 10000);<br>        SalaryCalculator calculator = new SalaryCalculator();<br>        ReportGenerator reportGenerator = new ReportGenerator();</pre><pre>        reportGenerator.generateReport(emp);<br>        System.out.println(&quot;Salary: &quot; + calculator.calculateSalary(emp));<br>    }<br>}</pre><p><strong>Why this is better:</strong></p><p>Each class now has exactly one reason to change. Employee only stores data, SalaryCalculator only computes salary, and ReportGenerator only produces reports. If the salary formula changes tomorrow, you touch only SalaryCalculator — nothing else is at risk. This also makes each class far easier to test independently.</p><h3>2. Open/Closed Principle (OCP)</h3><blockquote><strong><em>Software entities should be open for extension, but closed for modification.</em></strong></blockquote><p>This means you should be able to add new functionality <strong>without changing existing, already-working code</strong>. When you’re developing software, aim to add new features by extending what exists — not by repeatedly modifying stable code without good reason. Every time you edit working code, you risk breaking something that already worked.</p><h3>With Violation</h3><pre>package OpenClosedWithViolation;</pre><pre>// Violates OCP: Every time a new shape is added,<br>// we need to modify the existing class.<br>class AreaCalculator {<br>    public double calculateArea(String shape, double radius, double length, double breadth) {<br>        if (shape.equals(&quot;circle&quot;)) {<br>            return Math.PI * radius * radius;<br>        } else if (shape.equals(&quot;rectangle&quot;)) {<br>            return length * breadth;<br>        }<br>        return 0;<br>    }<br>}</pre><pre>public class OCPViolation {<br>    public static void main(String[] args) {<br>        AreaCalculator calculator = new AreaCalculator();<br>        System.out.println(&quot;Circle Area: &quot; + calculator.calculateArea(&quot;circle&quot;, 5, 0, 0));<br>    }<br>}</pre><p><strong>What’s wrong here?</strong></p><p>Every time you want to support a new shape — a triangle, a square, a hexagon — you have to go back and add another else if branch inside AreaCalculator. The class is never &quot;finished.&quot; Notice also how awkward the method signature is: you must pass radius, length, and breadth every time, even when most of them are irrelevant (see the 0, 0 in the call). As more shapes are added, this method grows endlessly and becomes harder to read and test.</p><h3>Without Violation</h3><pre>package OpenClosedWithoutViolation;</pre><pre>// Now, new shapes can be added without modifying the existing code<br>interface Shape {<br>    double calculateArea();<br>}</pre><pre>class Circle implements Shape {<br>    private double radius;</pre><pre>    public Circle(double radius) {<br>        this.radius = radius;<br>    }</pre><pre>    public double calculateArea() {<br>        return Math.PI * radius * radius;<br>    }<br>}</pre><pre>class Rectangle implements Shape {<br>    private double length, breadth;</pre><pre>    public Rectangle(double length, double breadth) {<br>        this.length = length;<br>        this.breadth = breadth;<br>    }</pre><pre>    public double calculateArea() {<br>        return length * breadth;<br>    }<br>}</pre><pre>class AreaCalculator {<br>    public double calculateArea(Shape shape) {<br>        return shape.calculateArea();<br>    }<br>}</pre><pre>public class OCPExample {<br>    public static void main(String[] args) {<br>        Shape circle = new Circle(5);<br>        Shape rectangle = new Rectangle(4, 6);<br>        AreaCalculator calculator = new AreaCalculator();</pre><pre>        System.out.println(&quot;Circle Area: &quot; + calculator.calculateArea(circle));<br>        System.out.println(&quot;Rectangle Area: &quot; + calculator.calculateArea(rectangle));<br>    }<br>}</pre><p><strong>Why this is better:</strong></p><p>Each shape now knows how to calculate its own area. AreaCalculator doesn&#39;t care what shape it receives — it just calls calculateArea() on it. If you want to add a Triangle tomorrow, you simply create a new class that implements Shape. You never touch AreaCalculator, Circle, or Rectangle again. The system is <strong>open for extension</strong> (add new shapes freely) but <strong>closed for modification</strong> (existing classes stay untouched).</p><h3>3. Liskov Substitution Principle (LSP)</h3><blockquote><strong><em>Objects of a superclass should be replaceable with objects of a subclass without affecting the correctness of the program.</em></strong></blockquote><p>To understand this principle, you need to be familiar with <strong>inheritance</strong>. We define a parent class, and below it there can be multiple child classes that inherit the parent’s features. LSP says that anywhere your code expects the parent type, you should be able to pass in any child type — and everything should still work correctly.</p><h3>With Violation</h3><pre>package LiskovSubstitutionWithViolation;</pre><pre>// Violates LSP: Penguin cannot fly, but it inherits a fly() method.<br>class Bird {<br>    public void fly() {<br>        System.out.println(&quot;Flying...&quot;);<br>    }<br>}</pre><pre>class Sparrow extends Bird {<br>    @Override<br>    public void fly() {<br>        System.out.println(&quot;Sparrow can fly&quot;);<br>    }<br>}</pre><pre>class Penguin extends Bird {<br>    @Override<br>    public void fly() {<br>        throw new UnsupportedOperationException(&quot;Penguins can&#39;t fly!&quot;);<br>    }<br>}</pre><pre>public class LSPViolation {<br>    public static void main(String[] args) {<br>        Bird penguin = new Penguin();<br>        Bird sparrow = new Sparrow();<br>        sparrow.fly();<br>        penguin.fly(); // This will break at runtime<br>    }<br>}</pre><p><strong>What’s wrong here?</strong></p><p>The Bird parent class assumes every bird can fly, so it defines fly() right on the base class. But a penguin is a bird that <em>can&#39;t</em> fly, so Penguin is forced to override fly() and throw an exception instead of actually flying. Now, if any part of your code accepts a Bird and calls fly() — exactly as main() does here — passing a Penguin crashes the program at runtime. The subclass is no longer safely substitutable for its parent, which is exactly what LSP forbids. The root cause is a bad inheritance design: flying was baked into the base class as if it were a universal bird behavior, when it isn&#39;t.</p><h3>Without Violation</h3><pre>package LiskovSubstitutionWithoutViolation;</pre><pre>abstract class Bird {<br>    abstract void makeSound();<br>}</pre><pre>interface FlyingBird {<br>    void fly();<br>}</pre><pre>class Sparrow extends Bird implements FlyingBird {<br>    public void makeSound() {<br>        System.out.println(&quot;Chirp Chirp!&quot;);<br>    }</pre><pre>    public void fly() {<br>        System.out.println(&quot;Sparrow is flying...&quot;);<br>    }<br>}</pre><pre>class Penguin extends Bird {<br>    public void makeSound() {<br>        System.out.println(&quot;Penguin sound...&quot;);<br>    }<br>}</pre><pre>public class LSPExample {<br>    public static void main(String[] args) {<br>        Bird sparrow = new Sparrow();<br>        Bird penguin = new Penguin();</pre><pre>        sparrow.makeSound();<br>        penguin.makeSound();</pre><pre>        FlyingBird flyingBird = new Sparrow();<br>        flyingBird.fly();  // Works without breaking substitution<br>    }<br>}</pre><p><strong>Why this is better:</strong></p><p>We moved flying out of the base class and into a separate FlyingBird interface. Now Bird only guarantees what <em>all</em> birds can genuinely do — make a sound. Only birds that actually fly implement FlyingBird. A Penguin is still a perfectly valid Bird and can be substituted anywhere a Bird is expected, with no risk of a runtime crash. The design now matches reality instead of fighting it.</p><h3>4. Interface Segregation Principle (ISP)</h3><blockquote><strong><em>Clients should not be forced to depend on interfaces they do not use.</em></strong><em> It encourages smaller, more specific interfaces.</em></blockquote><p>Rather than one large, general-purpose interface, it’s better to have several small, focused ones. The example below makes this clear.</p><h3>With Violation</h3><pre>package InterfaceSegregationWithViolation;</pre><pre>// Violates ISP: Robot is forced to implement eat()<br>// even though it doesn&#39;t need it.<br>interface Worker {<br>    void work();<br>    void eat();<br>}</pre><pre>class Human implements Worker {<br>    public void work() {<br>        System.out.println(&quot;Human working...&quot;);<br>    }</pre><pre>    public void eat() {<br>        System.out.println(&quot;Human eating...&quot;);<br>    }<br>}</pre><pre>class Robot implements Worker {<br>    public void work() {<br>        System.out.println(&quot;Robot working...&quot;);<br>    }</pre><pre>    public void eat() {<br>        throw new UnsupportedOperationException(&quot;Robots do not eat!&quot;);<br>    }<br>}</pre><pre>public class ISPViolation {<br>    public static void main(String[] args) {<br>        Human human = new Human();<br>        human.work();<br>        human.eat();</pre><pre>        Robot robot = new Robot();<br>        robot.work();<br>        robot.eat(); // Causes error<br>    }<br>}</pre><p><strong>What’s wrong here?</strong></p><p>The Worker interface bundles two unrelated capabilities — working and eating — into one contract. A robot can work but obviously can&#39;t eat, yet it&#39;s <em>forced</em> to implement eat() anyway. The only way out is to throw an exception, which means the class is lying about what it can do. Any code that treats a Robot as a Worker and calls eat() will blow up. The interface is simply too fat for some of its implementers.</p><h3>Without Violation</h3><pre>package InterfaceSegregationWithoutViolation;</pre><pre>interface Worker {<br>    void work();<br>}</pre><pre>interface Eatable {<br>    void eat();<br>}</pre><pre>class Human implements Worker, Eatable {<br>    public void work() {<br>        System.out.println(&quot;Developer is coding...&quot;);<br>    }</pre><pre>    public void eat() {<br>        System.out.println(&quot;Developer is eating...&quot;);<br>    }<br>}</pre><pre>class Robot implements Worker {<br>    public void work() {<br>        System.out.println(&quot;Robot is working...&quot;);<br>    }<br>}</pre><pre>public class ISPExample {<br>    public static void main(String[] args) {<br>        Human human = new Human();<br>        human.work();<br>        human.eat();</pre><pre>        Robot robot = new Robot();<br>        robot.work();<br>    }<br>}</pre><p><strong>Why this is better:</strong></p><p>We split the fat interface into two small, focused ones: Worker and Eatable. Now each class implements <strong>only</strong> what it can actually do. Human implements both, Robot implements only Worker. There are no unsupported methods, no exceptions to throw, and no misleading contracts — every class honestly represents its own capabilities.</p><h3>5. Dependency Inversion Principle (DIP)</h3><blockquote><strong><em>High-level modules should not depend on low-level modules. Both should depend on abstractions</em></strong><em>, not on concrete implementations.</em></blockquote><p>The example below makes this much easier to understand.</p><h3>With Violation</h3><pre>package DependencyInversionWithViolation;</pre><pre>class WiredKeyboard {<br>    public void connect() {<br>        System.out.println(&quot;Wired keyboard connected&quot;);<br>    }<br>}</pre><pre>// Violates DIP: Computer is tightly coupled to WiredKeyboard.<br>class Computer {<br>    private WiredKeyboard keyboard = new WiredKeyboard(); // Tight coupling</pre><pre>    public void start() {<br>        keyboard.connect();<br>    }<br>}</pre><pre>public class DIPViolation {<br>    public static void main(String[] args) {<br>        Computer pc = new Computer();<br>        pc.start();<br>    }<br>}</pre><p><strong>What’s wrong here?</strong></p><p>Computer is the high-level module, and WiredKeyboard is the low-level detail. By instantiating new WiredKeyboard() directly as a field, Computer is permanently locked to one specific keyboard type. If you want to support a wireless keyboard, you&#39;d have to edit the Computer class itself. It&#39;s also nearly impossible to unit-test, because you can never swap in a fake or mock keyboard — the dependency is created internally instead of being handed in.</p><h3>Without Violation</h3><pre>package DependencyInversionWithoutViolation;</pre><pre>interface Keyboard {<br>    void connect();<br>}</pre><pre>class WiredKeyboard implements Keyboard {<br>    public void connect() {<br>        System.out.println(&quot;Wired keyboard connected&quot;);<br>    }<br>}</pre><pre>class WirelessKeyboard implements Keyboard {<br>    public void connect() {<br>        System.out.println(&quot;Wireless keyboard connected&quot;);<br>    }<br>}</pre><pre>class Computer {<br>    private Keyboard keyboard;</pre><pre>    public Computer(Keyboard keyboard) {<br>        this.keyboard = keyboard;<br>    }</pre><pre>    public void start() {<br>        keyboard.connect();<br>    }<br>}</pre><pre>public class DIPExample {<br>    public static void main(String[] args) {<br>        Keyboard wired = new WiredKeyboard();<br>        Computer pc1 = new Computer(wired);<br>        pc1.start();</pre><pre>        Keyboard wireless = new WirelessKeyboard();<br>        Computer pc2 = new Computer(wireless);<br>        pc2.start();<br>    }<br>}</pre><p><strong>Why this is better:</strong></p><p>Computer now depends on the Keyboard <strong>interface</strong> (an abstraction), not on any specific keyboard class. The actual keyboard is passed in from outside through the constructor — a technique called <strong>dependency injection</strong>. This means you can plug in a wired keyboard, a wireless keyboard, or any future keyboard type without ever modifying the Computer class. It also makes testing easy, since you can inject a mock keyboard.</p><h3>Summary</h3><p>Principle Core Idea <strong>SRP</strong> One class, one responsibility, one reason to change <strong>OCP</strong> Extend behavior without modifying existing code <strong>LSP</strong> Subclasses must be safely substitutable for their parent <strong>ISP</strong> Many small, focused interfaces beat one fat interface <strong>DIP</strong> Depend on abstractions, not concrete implementations</p><p>Notice a pattern across all five: <strong>abstraction and separation</strong>. Almost every violation came from one class doing too much or being too tightly coupled to something concrete — and almost every fix involved splitting responsibilities apart and programming against an interface.</p><p>Master these five principles and you’ll already be writing noticeably cleaner, more maintainable code — and you’ll be well prepared for LLD interview rounds.</p><p>In the next article in this series, we’ll move on to <strong>Design Patterns</strong>.</p><p><em>If you found this useful, follow me for the rest of this LLD series.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f765b66018fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LLD (Low-Level Design): Key Concepts and Fundamentals Every Developer Should Know]]></title>
            <link>https://medium.com/@kprahul/lld-low-level-design-key-concepts-and-fundamentals-every-developer-should-know-9fcb30cde518?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fcb30cde518</guid>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[low-level-design]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Sun, 13 Sep 2026 16:44:50 GMT</pubDate>
            <atom:updated>2026-09-13T16:44:50.204Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re a software developer — or preparing to become one — you’ve probably come across the term <strong>LLD (Low-Level Design)</strong>. In this article, I’ll explain what LLD actually means, why it matters in your day-to-day work, and the core concepts you need to understand to write clean, maintainable code.</p><h3>Understanding LLD With an Example</h3><p>Imagine you work at a company, and your manager comes to you with a task: build a <strong>Banking System</strong> software application.</p><p>Before jumping straight into writing code, what’s the first thing you should do?</p><p>You start by drawing out the <strong>architecture</strong> — deciding how the system will be structured, what components it will have, and what technology stack you’re going to use. This architecture diagram is what we call the <strong>High-Level Design (HLD)</strong>.</p><p>Once the HLD is ready, it gets broken down further into the <strong>Low-Level Design (LLD)</strong> — the detailed, class-by-class, method-by-method blueprint of how each part of that architecture will actually be implemented in code.</p><p>In short: <strong>HLD is converted into LLD.</strong></p><h3>Why Should You Learn Low-Level Design?</h3><p>There are two big reasons this matters:</p><p><strong>1. It’s your daily work as a developer.</strong></p><p>If you’re working as a developer at a company, LLD isn’t some abstract theory — it’s your day-to-day activity. Every time you write code, build a new feature, or develop a new piece of software, you’re essentially doing LLD. Turning a design into actual, working code <em>is</em> LLD.</p><p><strong>2. It comes up in interviews.</strong></p><p>LLD is a common interview topic — not just for experienced candidates, but sometimes for freshers as well. Interviewers expect candidates, especially experienced ones, to understand LLD concepts and be able to design a system on the spot.</p><p>So whether you’re writing production code or preparing for interviews, you need a solid grasp of the key concepts and fundamentals of LLD — because that’s what allows you to write <strong>maintainable code</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*UTD4yUtMVG-lkuBQ.png" /></figure><h3>The Key Concepts of LLD</h3><p>Here are the six core areas that make up Low-Level Design:</p><ol><li><strong>SOLID Principles</strong></li><li><strong>Design Principles</strong></li><li><strong>Design Patterns</strong></li><li><strong>Database Design</strong></li><li><strong>OOP (Object-Oriented Programming) Concepts</strong></li><li><strong>Threads and Concurrency</strong></li></ol><p>I’ll be covering each of these in detail in upcoming articles. For now, let’s look at a simple example to understand why these principles matter.</p><h3>A Quick Example: Banking System</h3><p>Let’s say we’re building a banking system with two features:</p><ul><li>A customer can <strong>deposit</strong> money into the bank.</li><li>A customer can <strong>withdraw</strong> money from an <strong>ATM</strong>.</li></ul><p><strong>The wrong way to do it:</strong></p><pre>class Banking {<br>    public void deposit() { }<br>    public void withdrawal() { }<br>}</pre><p>At first glance, this looks fine — one class handling both operations. But this actually <strong>breaks the Single Responsibility Principle</strong> (one of the five SOLID principles), because a single class is now responsible for more than one distinct concern: deposits and withdrawals.</p><p><strong>The correct way to do it:</strong></p><pre>class Bank { }<br>class Deposit { }<br>class ATM { }</pre><p>By separating these responsibilities into their own classes, each class has a single, clear purpose. This is the correct way to lay out the base skeleton of your system — and it’s a small example of how a simple design decision, made early, has a big impact on how maintainable your code will be later.</p><h3>What’s Next</h3><p>This was just an introduction to what LLD is and why it matters. In upcoming articles, I’ll dive deeper into each of the six key concepts — starting with the SOLID principles — using practical, real-world examples like this banking system to make each concept easy to understand and apply.</p><p><em>If you found this useful, follow me for the rest of this LLD series.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fcb30cde518" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Agentic Harness Explained: How AI Models Turn Into AI Agents]]></title>
            <link>https://medium.com/@kprahul/agentic-harness-explained-how-ai-models-turn-into-ai-agents-7665ed39c8f7?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/7665ed39c8f7</guid>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[ai-memory]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-harness]]></category>
            <category><![CDATA[ai-tools]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Fri, 11 Sep 2026 19:17:40 GMT</pubDate>
            <atom:updated>2026-09-11T19:30:44.149Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve been following the AI space, you’ve probably noticed a shift in vocabulary — from “prompt engineering,” to “context engineering,” and now to a newer term: <strong>harness engineering</strong>. This is also commonly referred to as the <strong>agentic harness</strong> (or just “harness”).</p><p>In this article, I’ll break down what a harness actually is, how it turns a plain AI model into an AI agent, and the three core components — tools, memory, and the agentic loop — that make it work.</p><h3>The Evolution: Prompt Engineering → Context Engineering → Harness Engineering</h3><p>The way we work with AI models has evolved in stages:</p><ol><li><strong>Prompt Engineering</strong> — Carefully crafting the wording of a prompt to get better outputs from a model.</li><li><strong>Context Engineering</strong> — Structuring and organizing the information given to a model (often using formats like markdown) so it can understand and use context more effectively.</li><li><strong>Harness Engineering</strong> — Building the surrounding infrastructure — tools, memory, and execution loops — that lets a model actually <em>act</em> on the world, not just respond to it.</li></ol><p>Each stage builds on the last. Harness engineering is the most advanced of the three, because it’s not just about what you say to the model — it’s about what you build <em>around</em> the model.</p><h3>AI Model vs. AI Agent vs. Agentic AI</h3><p>These three terms get used interchangeably, but they mean very different things.</p><p><strong>AI Model</strong> refers to the underlying LLMs themselves — GPT (including the newest <a href="https://openai.com/index/gpt-6-astra/">GPT‑6 Astra</a>), Claude, Gemini, and similar models. These models are excellent at generating text, images, or video, but on their own, they never actually <em>perform</em> a task. A model is essentially just <strong>the brain</strong> — it can think and generate, but it has no hands to act with.</p><p>So how do we solve that problem? This is exactly where the <strong>agentic harness</strong> comes in.</p><p>Think of it as a layered structure:</p><blockquote><strong><em>AI Agent</em></strong><em> = Agentic Harness + AI Model</em></blockquote><p>In other words, whether you’re building an agent from scratch, using GitHub Copilot, or working with Claude, what you’re really doing is placing a harness on top of a base AI model. Once that harness is implemented — giving the model tools, memory, and a loop to operate in — the plain model becomes an <strong>AI agent</strong>.</p><p>Take this one step further: if you run that same agent multiple times, or coordinate multiple agents working together toward a goal, that’s what we call <strong>Agentic AI</strong>.</p><h3>What’s Inside a Harness? Tools, Memory, and the Agentic Loop</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*7ccY5QFPnfimfkZnexG8hg.png" /></figure><p>A harness is built from three essential components:</p><h3>1. Tools</h3><p>AI models are frozen in time — their knowledge only extends up to their training cutoff. For example, if you ask a model who won a sporting event that took place after its training data was collected, it simply won’t know, because that event happened after its knowledge cutoff.</p><p>This is where tools come in. By giving a model access to tools — like web search — we let it fetch live, real-world data and use that information to generate an accurate answer, instead of relying purely on outdated training data.</p><p>Enabling tools inside a harness is one of the key steps that converts a plain, static model into a functioning AI agent.</p><h3>2. Memory</h3><p>Memory is arguably the most important piece of the harness. It defines the model’s <strong>context</strong> — what it remembers about the current task, the conversation, and prior steps.</p><p>Without proper memory management, a model is far more likely to <strong>hallucinate</strong> — meaning it generates confident-sounding but incorrect or fabricated information. Good memory management keeps the model grounded in what’s actually true and relevant, and reduces the chances of hallucinated output.</p><p>In short: context <em>is</em> memory, and memory is what keeps an agent reliable across a task.</p><h3>3. The Agentic Loop</h3><p>The agentic loop is what actually drives an agent’s behavior. Here’s how it works:</p><ol><li><strong>Input</strong> is given to the model.</li><li>The model processes that input, and if needed, calls external <strong>tools</strong> to fetch additional data.</li><li>The model generates an <strong>output</strong>.</li><li>That output goes through a <strong>validation</strong> step.</li><li>If the validation condition is <strong>not satisfied</strong>, the output is sent back into the loop, and the process repeats — input, processing, output, validation — until the result meets the required condition.</li></ol><p>This loop is what allows an agent to self-correct and refine its work, rather than just producing a single, unchecked response.</p><h3>Putting It All Together</h3><p>At its core, an agentic harness is built around three pillars: <strong>tools, memory, and the agentic loop</strong>. Together, they’re what transform a static AI model into an autonomous AI agent capable of taking real action, correcting its own mistakes, and working toward a goal — not just generating text.</p><p>There are also a number of open-source agent harness projects available today that implement these same principles — tools, memory, and looped execution.</p><ul><li><a href="https://github.com/deepseek-ai/deepseek-harness"><strong>DeepSeek Harness</strong></a><strong> (dsh)</strong> — an open-source agent harness released by DeepSeek AI, built on an “everything is a plugin” architecture. Models, tools, sessions, sandboxes, and subagents are all composable plugins, and it ships with a local Web UI as well as a headless CLI for automation. It’s MIT-licensed and currently in developer preview.</li><li><strong>Deep Agents</strong> (from the LangChain team) — another MIT-licensed, model-agnostic harness that ships with planning, a virtual filesystem, sub-agents, and built-in context management out of the box, while still letting you swap models, add your own tools, and fully customize the system prompt.</li></ul><p>Both are good reference points if you want to see these three pillars — tools, memory, and the loop — implemented in real, working projects, with 100% customization available through configuration and prompts.</p><p>Understanding this layered structure — model, harness, agent, and agentic AI — is key to understanding where the field is heading next. The model is the brain. The harness is what gives it hands.</p><p><em>If you found this useful, follow me for more breakdowns of AI agents and harness engineering.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7665ed39c8f7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How LLMs Actually Work: A Beginner’s Guide to the Fundamentals]]></title>
            <link>https://medium.com/@kprahul/how-llms-actually-work-a-beginners-guide-to-the-fundamentals-7dafda60e123?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/7dafda60e123</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[tokenization]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Thu, 10 Sep 2026 13:40:29 GMT</pubDate>
            <atom:updated>2026-09-10T13:40:29.343Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gpEbfHGIA3ViJwQQaoFbRw.jpeg" /></figure><p>Large Language Models (LLMs) like GPT and Claude feel like magic. You type a sentence, and out comes a coherent, often surprisingly intelligent response. But under the hood, there’s no magic — just a well-defined pipeline of mathematical steps.</p><p>In this article, I’ll break down exactly how an LLM turns your text input into a text output, step by step.</p><h3>Step 1: Tokenization</h3><p>The first thing to understand is that an LLM doesn’t read letters or words the way we do. It reads <strong>tokens</strong>.</p><p>For example, take the sentence:</p><blockquote><em>“Today the weather is good.”</em></blockquote><p>Tokenization breaks it down into pieces like:</p><p>[Today] [the] [weather] [is] [good]</p><p>This process is a core part of Natural Language Processing (NLP), and it’s the very first step in any LLM architecture.</p><p>During training, the model learns to identify efficient, recurring patterns in language. Extremely common words — like “is,” “the,” or “will” — usually get their own single token, since they appear so frequently that it’s efficient to represent them as one unit. Less common or longer words may get split into multiple sub-word tokens, so the model can still understand and generalize the meaning even if it has never seen that exact word before.</p><p>Every token is assigned a unique <strong>token ID</strong> — essentially a number that represents it. This ID is what gets passed on to the next stage: embedding.</p><h3>Step 2: Embedding</h3><p>Once we have token IDs, the model needs to represent the <em>meaning</em> of each token in a way it can do math with. This is where <strong>embeddings</strong> come in.</p><p>An embedding is a <strong>vector</strong> — simply a list of numbers — that represents a token’s meaning in a high-dimensional space.</p><p>The number of dimensions in these vectors varies widely between models. Common sizes are 768, 1024, or 1536 dimensions, though larger models can use much bigger vectors — GPT-3, for instance, uses embeddings with 12,288 dimensions.</p><p>These are called <strong>semantic embeddings</strong>, because they are dense vector representations that capture meaning, not just identity. Words with similar meanings end up positioned closer together in this vector space.</p><p>For example, the embedding for “king” ends up mathematically close to embeddings for “queen,” “prince,” and “monarch” — because the model has learned that these words tend to appear in similar contexts.</p><h3>Step 3: The Transformer Attention Layer</h3><p>Next comes the part that makes modern LLMs so powerful: the <strong>attention mechanism</strong>, inside what’s called the Transformer architecture.</p><p>Think of attention as the model’s way of figuring out <em>what each word is actually referring to</em> in context.</p><p>Take this classic example:</p><blockquote><em>“The cat sat on the mat because it was tired.”</em></blockquote><p>What does “it” refer to — the cat, or the mat? A human instantly knows it’s the cat. Attention is the mechanism that lets the model figure this out too, by weighing how strongly each word in the sentence relates to every other word.</p><p>Through this process, the model captures:</p><ul><li><strong>Grammar</strong> — how words relate structurally</li><li><strong>Dependency</strong> — which words depend on or modify others</li><li><strong>Meaning</strong> — the actual semantic relationships in the sentence</li></ul><p>Importantly, the model doesn’t “decide” on a single correct answer at this stage. Instead, it produces a set of <strong>probabilities</strong> for what should come next.</p><h3>Step 4: Probabilities</h3><p>This is a crucial point to understand: an LLM never definitively “knows” the answer. At every step, it calculates a probability distribution over its entire vocabulary — essentially asking, “given everything so far, how likely is each possible next token?”</p><p>The final word you see chosen isn’t a certainty — it’s a <strong>sampled</strong> outcome from this probability distribution.</p><h3>Step 5: Sampling</h3><p>How does the model pick one token out of thousands of possibilities? This is controlled by a setting called <strong>temperature</strong>, along with a technique called <strong>top-p sampling</strong>.</p><p><strong>Temperature</strong> controls how “safe” or how “creative” the model’s choices are:</p><ul><li><strong>Code / technical / terminal tasks:</strong> 0.2–0.4 (low randomness, more deterministic and precise)</li><li><strong>General tasks:</strong> 0.7–1.0 (balanced)</li><li><strong>Creative writing:</strong> 1.0+ (more randomness, more unexpected/creative output)</li></ul><p><strong>Top-p sampling</strong> (also called <em>nucleus sampling</em>) works a bit differently. Instead of considering every possible token, it only considers the smallest set of top tokens whose combined probability adds up to <em>p</em> (for example, the top tokens that together make up 90% of the probability mass). This keeps the choices sensible while still leaving room for variety.</p><p>Together, temperature and top-p give you control over the balance between predictability and creativity in the model’s output.</p><h3>Step 6: The Generation Loop</h3><p>Once a token is sampled, that’s not the end — it’s just one word. The model takes that new token, appends it to the input, and runs the <em>entire process again</em> — attention, probabilities, sampling — to predict the <em>next</em> token. And then the next. And the next.</p><p>This is why LLMs generate text one token at a time, in a loop, rather than producing the whole response instantly.</p><h3>Why are LLMs relatively slow?</h3><p>This loop is also the reason LLMs can feel slow, especially with longer inputs. The attention mechanism compares every token in the sequence to every other token, which gives it a time complexity of roughly <strong>O(n²)</strong> with respect to sequence length. In simple terms: the longer your input and output get, the more computation is required — and that cost grows faster than the length itself.</p><h3>Wrapping Up</h3><p>To summarize the full pipeline:</p><ol><li><strong>Tokenization</strong> — breaking text into tokens</li><li><strong>Embedding</strong> — converting tokens into meaningful numeric vectors</li><li><strong>Attention (Transformer layer)</strong> — understanding relationships and context between tokens</li><li><strong>Probability distribution</strong> — calculating likelihoods for the next token</li><li><strong>Sampling (temperature / top-p)</strong> — choosing the next token</li><li><strong>The loop</strong> — repeating the process to generate text one token at a time</li></ol><p>Understanding these fundamentals demystifies a lot of what feels like “AI magic.” It’s not one giant leap of reasoning — it’s millions of small, probability-driven steps, repeated very quickly, guided by patterns learned from massive amounts of text.</p><p><em>If you found this useful, follow me for more breakdowns of AI and LLM fundamentals.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dafda60e123" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One of the Best Feeling in the World Episode 2 :]]></title>
            <link>https://medium.com/@kprahul/one-of-the-best-feeling-in-the-world-episode-2-abae21fc7448?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/abae21fc7448</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[feelings]]></category>
            <category><![CDATA[love]]></category>
            <category><![CDATA[ai-agent]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Thu, 16 Jul 2026 05:52:18 GMT</pubDate>
            <atom:updated>2026-07-16T05:52:18.030Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3u_yzH4IYD3xtfptvKtjA.jpeg" /></figure><blockquote><em>Some memories don’t become special because they lasted long. They become special because they happened only once.</em></blockquote><p>The routine never changed.</p><p>Every interval, I walked toward the staircase near her classroom. Every interval, she walked toward the staircase near mine. It became so normal that I stopped thinking about why I was doing it. I just knew that whenever the bell rang, my feet would automatically start walking in that direction.</p><p>My friends thought we were just hanging around. They never knew I wasn’t looking at the staircase. I was looking for her.</p><p>Sometimes she would be talking with her friends. Sometimes she would be laughing. Sometimes she wouldn’t even look in my direction. And that was okay. Just seeing her for a few seconds somehow made the rest of the day better.</p><p>We never spoke. Not once. Not a single “Hi.” Not a single conversation.</p><p>If someone had asked me her favorite subject or her favorite color, I wouldn’t have known the answer. But I knew exactly where she would stand during every interval. Funny how the heart remembers details that the mind never tries to memorize.</p><p>What I didn’t know back then was that she secretly liked me too. Even though she looked totally calm on the outside, she felt the exact same way. I was completely unaware of her feelings, and we just kept going in this loop.</p><p>Then the last annual exam arrived.</p><p>The final bell rang. Students rushed out of the classrooms as if freedom had finally arrived. Some were throwing papers into the air. Some were already planning their summer holidays. Everyone was excited.</p><p>I packed my things slowly and started walking home.</p><p>To reach my street, I had to cross the main tar road. She was walking a little ahead of me. For the first time, I realized that we lived in the same neighborhood.</p><p>She crossed the road before I did. Then she walked toward the very first house on my street. I had never noticed that before.</p><p>She opened the wooden gate. Unlocked the front door. Stepped inside.</p><p>I kept walking.</p><p>And then… she stopped. She turned around. Looked straight at me.</p><p>And smiled.</p><p>Not a polite smile. Not the kind of smile you give a stranger. Just… a simple, warm smile. Then she disappeared inside and closed the door.</p><p>I don’t remember crossing the road after that. I don’t remember how I reached home.</p><p>For a few seconds, everything around me became silent. Cars were moving. People were walking. The evening continued as usual.</p><p>But inside me… everything had stopped. I stood there like someone had pressed the pause button on life.</p><p>My mind went completely blank, and my chest felt so light, flooded with a feeling that was completely fresh. My face couldn’t stop smiling.</p><p>I didn’t know whether she smiled because she recognized me… or because she had noticed me all along. Maybe it meant something. Maybe it meant nothing. Even today, I don’t know.</p><p>But I still remember exactly how I felt.</p><blockquote><em>Some smiles last only a second. Yet somehow… they stay with you for years.</em></blockquote><p>…To Be Continued</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abae21fc7448" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One of the Best Feelings in the World: Ep 1 — The Staircase]]></title>
            <link>https://medium.com/@kprahul/one-of-the-best-feelings-in-the-world-ep-1-the-staircase-86e57b6873fe?source=rss-a1e2e1ef6502------2</link>
            <guid isPermaLink="false">https://medium.com/p/86e57b6873fe</guid>
            <category><![CDATA[nostalgia]]></category>
            <category><![CDATA[culture]]></category>
            <category><![CDATA[stories]]></category>
            <category><![CDATA[comics]]></category>
            <category><![CDATA[art]]></category>
            <dc:creator><![CDATA[KP Rahul]]></dc:creator>
            <pubDate>Sat, 23 May 2026 14:37:44 GMT</pubDate>
            <atom:updated>2026-05-23T14:37:44.239Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8xJg5AjK_Fkv3uWKFBlQdg.png" /></figure><h3>The Story</h3><p>It was 7th standard.</p><p>An age where we didn’t really understand what feelings meant. Life was simple — uniforms, homework, lunch boxes, noisy classrooms, and waiting for the school bell to ring.</p><p>I was studying in the English medium section, and she was in the Tamil medium section. Our classrooms were on the first floor, directly opposite each other. At that time, it felt like just another classroom arrangement. I never knew that those few steps between our classes would slowly become the most important place in my school life.</p><p>Every interval and lunch break followed the same routine.</p><p>The boys from my class usually stood near the staircase beside her classroom, talking loudly, laughing for no reason, and wasting time before the next period started. At the same time, the girls from her class would come and stand near the staircase beside my classroom.</p><p>It happened every single day.</p><blockquote>“At first, she was just another face in the crowd. But slowly… without me realizing it, my eyes started searching for only one person whenever the bell rang. Her.”</blockquote><p>I don’t know when that habit started. Maybe it was the way she smiled while talking to her friends. Maybe it was the way her hair moved in the wind near the corridor. Or maybe it was simply because, in the middle of all the noise, my eyes somehow felt peaceful when they found her.</p><p>The strange part was… we never spoke. Not even once.</p><p>Still, every interval started feeling different. I would wait for the bell, act normal in front of my friends, and quietly look toward the staircase, hoping to see her standing there again.</p><p>And somehow… she always was.</p><p>At that age, I didn’t know if this was love, attraction, or just a small crush. I only knew one thing — a normal school staircase had slowly become the place I looked forward to the most every day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86e57b6873fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>