<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Seenivasa Ramadurai</title>
    <description>The latest articles on DEV Community by Seenivasa Ramadurai (@sreeni5018).</description>
    <link>https://dev.to/sreeni5018</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1829954%2Fe57edf87-9dae-48c9-a528-0f57f54aac70.png</url>
      <title>DEV Community: Seenivasa Ramadurai</title>
      <link>https://dev.to/sreeni5018</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sreeni5018"/>
    <language>en</language>
    <item>
      <title>Activation Functions, Explained With a Drone Show</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Thu, 09 Jul 2026 21:16:54 +0000</pubDate>
      <link>https://dev.to/sreeni5018/activation-functions-explained-with-a-drone-show-4lo7</link>
      <guid>https://dev.to/sreeni5018/activation-functions-explained-with-a-drone-show-4lo7</guid>
      <description>&lt;p&gt;I was watching a drone light show over a city skyline last week, a thousand drones forming shapes against the night sky, and it struck me that this is one of the cleanest ways to explain what an &lt;strong&gt;activation function&lt;/strong&gt; actually does inside a neural network. No math notation required to get the intuition. &lt;strong&gt;Just drones, brightness, and a rule.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Here is the &lt;strong&gt;analogy&lt;/strong&gt;, the actual definition behind it, and where this concept sits inside a real deep learning pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is an Activation Function?
&lt;/h2&gt;

&lt;p&gt;An &lt;strong&gt;activation function is a mathematical rule&lt;/strong&gt; applied to the output of a neuron after it computes a &lt;strong&gt;weighted sum of its inputs&lt;/strong&gt;. It decides whether that neuron &lt;strong&gt;fires&lt;/strong&gt;, how strongly it fires, and what shape the signal takes before it gets passed to the next layer.&lt;/p&gt;

&lt;p&gt;Formally, a single neuron computes &lt;strong&gt;z = (w1*x1 + w2*x2 + ... + wn*xn) + b,&lt;/strong&gt; a linear combination of inputs, weights, and a bias term. The activation function is the step applied right after: &lt;strong&gt;a = f(z).&lt;/strong&gt; That f is the activation function, and the choice of f determines the behavior of the entire network.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The core reason it exists:&lt;/strong&gt; &lt;strong&gt;non linearity&lt;/strong&gt;. &lt;strong&gt;Without&lt;/strong&gt; an &lt;strong&gt;activation&lt;/strong&gt; function, or with a &lt;strong&gt;purely linear one&lt;/strong&gt;, stacking any number of &lt;strong&gt;layers collapses mathematically into a single linear transformation&lt;/strong&gt;. A hundred layer network with no activation function is functionally identical to one layer. You cannot model curves, boundaries, or complex patterns with that. &lt;strong&gt;Activation functions are what let a network bend, separate, and represent non linear relationships in data&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where It's Used in Deep Learning
&lt;/h2&gt;

&lt;p&gt;Activation functions show up at two distinct points in almost every deep learning architecture:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hidden layers&lt;/strong&gt;: every neuron in every hidden layer of a &lt;strong&gt;CNN&lt;/strong&gt;, &lt;strong&gt;RNN&lt;/strong&gt;, &lt;strong&gt;transformer&lt;/strong&gt;, or plain feedforward network applies an activation function to its weighted sum before passing output forward. This is where &lt;strong&gt;ReLU&lt;/strong&gt; and its variants dominate today.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output layers:&lt;/strong&gt; the final layer's activation function is chosen based on the task. &lt;strong&gt;Sigmoid&lt;/strong&gt; for binary classification, &lt;strong&gt;softmax&lt;/strong&gt; for multi class classification, and often no activation, or a linear one, for regression tasks like price prediction.&lt;/p&gt;

&lt;p&gt;This is not an optional add-on. Every trained deep network you have used, image classifiers, language models, recommendation systems, has an activation function baked into every single neuron. It is one of the most fundamental architectural choices in the entire design, right alongside layer depth and width.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Setup for the Analogy
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Picture 1,000 drones in the sky&lt;/strong&gt;. Each drone is a neuron. A control signal tells each drone how bright to shine. That signal is the weighted sum described above, and on its own it carries no shape, no decision, no meaning yet.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgjeraxi22lhkwrcv3s7v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgjeraxi22lhkwrcv3s7v.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Happens Without an Activation Function
&lt;/h2&gt;

&lt;p&gt;If every drone just displays its raw signal value directly, you get a mess. Negative brightness values do not make physical sense, so you would need to clip or scale them arbitrarily, and even then there is no rule enforcing which drones should stand out and which should stay quiet. The result is a formless blob of light. &lt;strong&gt;No shape, no picture, no decision boundary.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is the exact real world consequence of skipping the activation function: linear layers stacked without non linearity learn nothing more than a straight line through your data, regardless of depth.&lt;/p&gt;

&lt;h2&gt;
  
  
  ReLU: The Decisive Drone
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ReLU&lt;/strong&gt;, short for &lt;strong&gt;Rectified Linear Unit&lt;/strong&gt;, follows a blunt rule:&lt;/p&gt;

&lt;p&gt;If the &lt;strong&gt;incoming signal is negative&lt;/strong&gt;, the drone turns off completely. &lt;strong&gt;No light.&lt;/strong&gt;&lt;br&gt;
If the &lt;strong&gt;signal is positive&lt;/strong&gt;, the drone shines at exactly that &lt;strong&gt;brightness&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Mathematically, &lt;strong&gt;f(x) = max(0, x).&lt;/strong&gt; A signal of -5 means the drone goes dark. A signal of 8 means the drone shines at brightness 8.&lt;/p&gt;

&lt;p&gt;The effect at the network level is sharp, clean shapes. Only the neurons that are confident, meaning they &lt;strong&gt;received a positive signal, contribute anything.&lt;/strong&gt; &lt;strong&gt;Everyone else stays silent.&lt;/strong&gt; That is exactly why ReLU became the default activation function for hidden layers across most modern deep learning architectures: it produces sparse, decisive activations, it is cheap to compute since it is just a threshold check, and it largely avoids the gradient problems that plagued earlier activation functions.&lt;/p&gt;

&lt;p&gt;The tradeoff worth knowing: if a neuron's signal stays negative across every input it ever sees, it goes permanently dark and stops learning entirely. This is called the dead ReLU problem, and it is why variants like &lt;strong&gt;Leaky ReLU and GELU exist&lt;/strong&gt;, giving negative signals a small nonzero slope instead of a hard zero.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sigmoid: The Gradient Drone
&lt;/h2&gt;

&lt;p&gt;Sigmoid takes a completely different approach. Instead of an on/off switch, every signal gets smoothly converted into a brightness somewhere between 0% and 100%.&lt;/p&gt;

&lt;p&gt;A very negative signal fades toward 0%, but never fully reaches zero.&lt;br&gt;
A very positive signal climbs toward 100%, but never fully reaches max.&lt;/p&gt;

&lt;p&gt;The formula is &lt;strong&gt;f(x) = 1 / (1 + e^-x).&lt;/strong&gt; Every drone always emits some light, even if barely visible. The result across the network is soft, glowing gradients instead of hard shapes, which is why sigmoid is still the standard choice for output layers doing binary classification, where you want a smooth probability between 0 and 1 rather than a hard cutoff.&lt;/p&gt;

&lt;p&gt;The tradeoff: at the extremes, the curve flattens out almost completely. A signal of -10 and a signal of -20 produce nearly identical output. That flat region means the gradient shrinks toward zero during &lt;strong&gt;back-propagation&lt;/strong&gt;, which is the vanishing gradient problem. Stack enough sigmoid layers and the earliest layers in the network barely learn anything at all. That limitation is a big part of why ReLU displaced sigmoid as the default for hidden layers once networks started getting deep.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other Activation Functions Worth Knowing
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Tanh:&lt;/strong&gt; similar shape to sigmoid but outputs between -1 and 1 instead of 0 and 1. Centered at zero, which helps gradients flow slightly better than sigmoid, though it still suffers from the same vanishing gradient issue at the extremes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Softmax:&lt;/strong&gt; used almost exclusively in the output layer for multi-class classification. Converts a vector of raw scores into a probability distribution that sums to 1 across all classes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GELU:&lt;/strong&gt; a smoother variant of ReLU used in most modern transformer architectures, including the ones behind large language models. It weights inputs by their magnitude rather than applying a hard cutoff at zero.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mapping the Analogy Back to the Architecture
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuv4aspa2t5686hq658o8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuv4aspa2t5686hq658o8.png" alt=" " width="800" height="309"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The One Line Takeaway
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;An activation function is the rule each neuron follows to decide how strongly to fire.&lt;/strong&gt; Without that rule, you get a formless blob of numbers instead of a network capable of recognizing a pattern. With the right rule, sharp decisive shapes with &lt;strong&gt;ReLU&lt;/strong&gt;, smooth probabilistic gradients with sigmoid, or the smoother curves of &lt;strong&gt;GELU&lt;/strong&gt; &lt;strong&gt;inside a transformer&lt;/strong&gt;, you get a network that can actually learn something.&lt;/p&gt;

&lt;p&gt;Next time someone asks why activation functions matter, skip the equations first. Start with the drones.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>The Architecture of Time</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Wed, 08 Jul 2026 21:56:28 +0000</pubDate>
      <link>https://dev.to/sreeni5018/the-architecture-of-time-52j2</link>
      <guid>https://dev.to/sreeni5018/the-architecture-of-time-52j2</guid>
      <description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;What AI Taught Me About Living in the Present&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every AI model I build &lt;strong&gt;depends entirely on the past&lt;/strong&gt;. Every &lt;strong&gt;mindfulness teacher&lt;/strong&gt; I've listened to tells me to &lt;strong&gt;let the past go&lt;/strong&gt;. At first those felt like &lt;strong&gt;contradictions&lt;/strong&gt;, one treating history as everything, the other treating it as something to release. The longer &lt;strong&gt;I spent building AI systems&lt;/strong&gt;, the more I understood they weren't opposing ideas at all. They were describing two different kinds of intelligence, and somewhere between them &lt;strong&gt;I found something worth writing down.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxxh5zcwcth588zwar60u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxxh5zcwcth588zwar60u.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Rearview Mirror of the Machine&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;One of the &lt;strong&gt;biggest misconceptions about AI is that it looks into the future.&lt;/strong&gt; It doesn't. &lt;strong&gt;Every prediction a machine makes is built entirely from yesterday&lt;/strong&gt;, whether it's forecasting demand, recommending your next movie, catching fraud before it happens, or &lt;strong&gt;generating the next word in a sentence&lt;/strong&gt;. There is exactly one source of knowledge behind all of it &lt;strong&gt;historical data.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Take that history away and the model doesn't grow cautious. It grows incapable. &lt;strong&gt;No patterns, no inference, no prediction, just silence. Machines don't see the future.&lt;/strong&gt; They learn the past well enough to respond to a moment they've never seen before, and that isn't a limitation we're still engineering our way out of. That's the entire mechanism.&lt;/p&gt;

&lt;p&gt;The more I sat with that, the more I suspected we aren't so different. Our experiences are our training data. Every success teaches us something, every mistake leaves a pattern behind, every failure quietly updates our model of the world. &lt;strong&gt;The past isn't baggage. It's data.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Human Edge&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;This is where we stop resembling the machine.&lt;/strong&gt; A model cannot choose to ignore its training. We can. Spend too long living in yesterday and memory starts masquerading as identity. Old disappointments harden into expectations, past failures get filed as permanent truths, and yesterday's fear starts making today's decisions without asking permission. We call it experience. Sometimes it's just unprocessed history, still running the meeting.&lt;/p&gt;

&lt;p&gt;The present hands us something no machine has ever touched choice. You can interrupt a habit halfway through the reflex. You can forgive someone after years of meaning not to. You can change your mind for no reason except that you've changed, and become someone slightly different between one breath and the next. &lt;strong&gt;That capacity isn't a gap in human intelligence. It's the whole point of it.&lt;/strong&gt; Our history shapes us, but it was never supposed to finish the sentence for us.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;The Real Algorithm&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;So who's right, the engineer who trusts the data or the teacher who says to release it?&lt;/strong&gt; Both, describing the same truth from opposite ends. Ignore the past completely and nothing accumulates, you just repeat what you haven't yet learned from. Live entirely inside it and you calcify, the human version of an overfit model, tuned to perfection for a world that has already moved on without you. &lt;strong&gt;Wisdom sits in the narrow space between those two failures. Not the absence of history. Not its rule. Its use.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Building Your Own Architecture&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Next time an old mistake finds its way back into your thoughts, resist calling it a verdict. Call it what it is training data&lt;/strong&gt;. Take the lesson, and leave the weight where it fell. Your history can brief the decision, but it doesn't get to make it. That belongs to whoever you are in this exact moment, choosing.&lt;/p&gt;

&lt;p&gt;Maybe that's the only architecture worth building, one where history informs the moment without ever being allowed to replace it. The future was never something we predict from a distance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;It's something assembled, one present moment at a time, by someone who remembered enough to know better and stayed awake enough to choose anyway.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>The Architecture of Becoming: Why Your Life is a Transformer Network</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Thu, 02 Jul 2026 03:46:57 +0000</pubDate>
      <link>https://dev.to/sreeni5018/the-architecture-of-becoming-why-your-life-is-a-transformer-network-4aco</link>
      <guid>https://dev.to/sreeni5018/the-architecture-of-becoming-why-your-life-is-a-transformer-network-4aco</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;For most of my life, I thought my journey followed a predictable, linear script &lt;strong&gt;Go to school. Get a degree. Get a job. Gain experience. Get promoted.&lt;/strong&gt; That was the whole story or so I believed.&lt;/p&gt;

&lt;p&gt;Then I spent a &lt;strong&gt;few years designing Generative AI systems for a living, and that neat little script stopped making sense.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most of my days are spent building on top of &lt;strong&gt;Large Language Models&lt;/strong&gt; (LLM)  navigating Transformer architectures, &lt;strong&gt;RAG pipelines&lt;/strong&gt;, multi &lt;strong&gt;agent workflows&lt;/strong&gt;, &lt;strong&gt;MCP servers&lt;/strong&gt;, and the &lt;strong&gt;guardrail harnesses&lt;/strong&gt; required to keep the whole thing from going off the rails. One evening, while working through the architecture for an Agentic AI solution to solve a complex enterprise use case, something stopped me.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It wasn't just a system diagram anymore.&lt;/strong&gt; It looked like a map of my own life. Not in a poetic, greeting card way but in a literal, structural way. The stages matched up almost embarrassingly well.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here is what I saw, phase by phase.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffs1n1ecngzr922741zev.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffs1n1ecngzr922741zev.png" alt=" " width="800" height="794"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The Vector Space of Childhood
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Embeddings&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdkfrild33xczbtkspnbx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdkfrild33xczbtkspnbx.png" alt=" " width="326" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before an LLM can process a single sentence, it has to turn words into &lt;strong&gt;embeddings&lt;/strong&gt;. Raw text means nothing to a model; it’s just empty symbols. An embedding model places those symbols into a &lt;strong&gt;high dimensional vector space where distance and direction carry meaning.&lt;/strong&gt; Words end up near each other because they share context. Nothing useful happens downstream until this space exists.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Life Parallel:&lt;/strong&gt; This is the hidden work of childhood. I wasn’t merely collecting facts; I was building the high dimensional coordinate system those facts would later live in.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;My early teachers weren't just handing me information they were shaping my cognitive geometry.&lt;/strong&gt; A lesson would place a new idea near something I already half understood. A correction would nudge two concepts a little further apart. None of it meant anything in isolation. Looking back, they weren't filling a blank disk; they were establishing the baseline vectors I would use to make sense of the entire universe.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The Layers of Understanding
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: The Encoder Stack&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fixsqd59y2qbqaiprqx39.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fixsqd59y2qbqaiprqx39.png" alt=" " width="311" height="483"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you have embeddings, the encoder takes over. An encoder doesn’t generate new text; its sole purpose is to build a deeper, more abstract representation of the input. Each layer takes the output of the previous layer and distills it further.&lt;/p&gt;

&lt;p&gt;Formal education did exactly this to me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Elementary School:&lt;/strong&gt; Decoded raw symbols on a page.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Middle School:&lt;/strong&gt; Learned to reason with core concepts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High School:&lt;/strong&gt; Introduced systemic abstraction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;University:&lt;/strong&gt; Grounded those abstractions into engineering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graduate Work:&lt;/strong&gt; Shifted the focus entirely to systems thinking.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each stage wasn't just a new textbook it was a &lt;strong&gt;new layer stacked on top of the last&lt;/strong&gt;. The outside world hadn't changed at all. What changed was the depth of the representation I could build. When I solve a complex problem today, it’s not because the problem got easier. It’s because I have more layers processing the input.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The Reality Check
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Validation Sets &amp;amp; Loss Signals&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwnq28y0tcwy8nt0s4fjw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwnq28y0tcwy8nt0s4fjw.png" alt=" " width="331" height="488"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Every model eventually has to leave the clean, synthetic world of the training loop.&lt;/strong&gt; For me, that happened on day one of my first real job. School had been a highly curated training set labeled, clean, and forgiving. The workplace was noisy, unlabeled, and entirely unimpressed by my resume.&lt;/p&gt;

&lt;p&gt;My first &lt;strong&gt;internship&lt;/strong&gt; was a brutal &lt;strong&gt;validation set&lt;/strong&gt;. Reality doesn't grade on a curve; it checks your output against hard constraints.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every bug I shipped was a &lt;strong&gt;loss signal&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Every rough code review was a &lt;strong&gt;weight adjustment&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Every design that collapsed in production closed the gap between what I thought would work and what actually did.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I used to think failure meant the learning process had stalled. Eventually, I understood that &lt;strong&gt;failure &lt;em&gt;was&lt;/em&gt; the mechanism&lt;/strong&gt;. It wasn't an error in the system; it was the gradient descent optimization of my career.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The Act of Generation
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Auto Regressive Decoders&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5w8mnninbm3qmwynv9l0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5w8mnninbm3qmwynv9l0.png" alt=" " width="283" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;At some point, the balance flipped. I transitioned from absorbing context to producing it.&lt;/p&gt;

&lt;p&gt;This is the part of a Transformer that gets less attention than it deserves &lt;strong&gt;the decoder cannot see what is coming next&lt;/strong&gt;. It only knows what it has already produced, and every new token depends entirely on the sequence that came before it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That is exactly what a career feels like after a decade.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The architectural decision I made last year still shapes what I can build today.&lt;/li&gt;
&lt;li&gt;The professional reputation I built five years ago quietly decides which opportunities are visible to me now.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I don't get to go back and retroactively edit the tokens I’ve already put out into the world. I can only take the sequence as given and generate the next token as intelligently as possible.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The Shift to External Context
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Retrieval Augmented Generation (RAG)&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpz1kw0tnxaz6njkx52rk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpz1kw0tnxaz6njkx52rk.png" alt=" " width="308" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There is a persistent myth that being an expert means having all the answers memorized.&lt;/strong&gt; &lt;strong&gt;Modern AI abandoned that ideology a long time ago.&lt;/strong&gt; A model that only knows what is baked into its static weights is severely limited. Real production systems reach outside themselves triggering a &lt;strong&gt;RAG lookup against a technical document or querying a database.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The moment I stopped trying to hold everything in my head and started building better external retrieval systems, my engineering velocity exploded. The strongest leads I know aren't the ones with the most trivia crammed into short-term memory. They are the ones with the most &lt;strong&gt;efficient retrieval instincts&lt;/strong&gt; they know exactly which document, API, or expert to query at the exact moment they hit a constraint.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Protocols of Connection
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Model Context Protocol (MCP)&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Folcxtzafoi03u1ip2r9p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Folcxtzafoi03u1ip2r9p.png" alt=" " width="322" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As enterprise AI matured, engineers ran into a scaling wall &lt;strong&gt;you can't hardcode a model to every single custom tool it might need.&lt;/strong&gt; It doesn't scale. &lt;strong&gt;Tools like MCP (Model Context Protocol)&lt;/strong&gt; solve this by creating an open, standard interface so models can safely read data and touch tools without tight coupling.&lt;/p&gt;

&lt;p&gt;I hit that exact same scaling wall when my career grew past what I could personally manage. I couldn’t sit in every meeting or audit every codebase.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Documentation became my API.&lt;/strong&gt; Writing clear wikis, run books, and design docs allowed other teams to query my context without needing to interrupt my runtime. I stopped equating value with personal execution and started thinking of myself as an interface that others could cleanly build upon.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Dynamic Adaptability
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Agent Skills &amp;amp; Lightweight Adapters&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fly4631uxeskum3tiryhf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fly4631uxeskum3tiryhf.png" alt=" " width="310" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A production agent doesn't retrain its entire multi billion parameter foundation model just to learn how to use a new piece of software. Instead, we register &lt;strong&gt;Agent Skills&lt;/strong&gt; scoped, &lt;strong&gt;modular capabilities&lt;/strong&gt; &lt;strong&gt;loaded dynamically at the application layer when the environment calls for them&lt;/strong&gt;, leaving the underlying foundational weights completely untouched.&lt;/p&gt;

&lt;p&gt;This is exactly how acquiring a new skill works. Learning Kubernetes didn't rewrite how I think about distributed systems; it just loaded a new "&lt;strong&gt;skill&lt;/strong&gt;" on top of the engineering fundamentals I already possessed. New tech stacks don't erase your foundational experience they are just specialized functional blocks loaded into your prompt context when a specific task demands them.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. The Enterprise Hivemind
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Multi-Agent Workflows &amp;amp; A2A Communication&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqko6evg1swncws2lz01n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqko6evg1swncws2lz01n.png" alt=" " width="318" height="443"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nothing serious runs on a single, isolated model anymore. Robust architectures rely on &lt;strong&gt;A2A (Agent-to-Agent) communication&lt;/strong&gt; within multi agent workflows. An &lt;strong&gt;engineering agent&lt;/strong&gt; writes code, a &lt;strong&gt;security agent&lt;/strong&gt; audits it, a &lt;strong&gt;compliance agent&lt;/strong&gt; checks it against regulations, and a financial agent estimates the API cost. None of these agents can see inside each other’s prompt history. They don't need to. They talk asynchronously, exchanging structured messages back and forth. Yet, through this protocol, the hivemind converges on a coherent solution.&lt;/p&gt;

&lt;p&gt;That is the exact definition of a cross functional corporate team. Every alignment meeting, sprint handoff, and architecture review is an exercise in A2A communication an exchange of structured text payloads between humans who cannot see each other's internal reasoning. We were running multi agent workflows long before we wrote code for them.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. The Governance Layer
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Guardrails &amp;amp; Evals&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmsn06tbxng7o2dnyg9rf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmsn06tbxng7o2dnyg9rf.png" alt=" " width="295" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you build production AI systems long enough, you learn a humbling lesson: &lt;strong&gt;the most capable model is often the most dangerous one if left unguided.&lt;/strong&gt; Without evaluators, systemic guardrails, and a strict system prompt, a brilliant model will eventually drift into confident, destructive nonsense. Raw compute requires a harness to be useful.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Life Parallel:&lt;/strong&gt; This is what character actually is.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Intelligence tells you what you &lt;em&gt;can&lt;/em&gt; do; character determines what you &lt;em&gt;should&lt;/em&gt; do. Discipline, integrity, and humility are not products of raw cognitive horsepower. They are the governance layer built around your mind. Over a long enough time horizon, the strength of your guardrails matters infinitely more than the speed of your processing core.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. The Anchor of the Past
&lt;/h2&gt;

&lt;h3&gt;
  
  
  &lt;em&gt;Metaphor: Causal Self Attention&lt;/em&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe98hk1lozg0cpapkml3m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe98hk1lozg0cpapkml3m.png" alt=" " width="310" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There is a common assumption that education is a phase that ends when work begins a clean line between learning and doing. The architecture of a Transformer proves otherwise.&lt;/p&gt;

&lt;p&gt;Most modern models don’t have a separate, isolated encoder pass. Every single token is generated via &lt;strong&gt;causal self-attention&lt;/strong&gt;, looking back across the entire historical sequence generated so far. Nothing gets thrown away once it is in the context window. A token generated at step 5 still directly alters the probability distribution of step 50,000.&lt;/p&gt;

&lt;p&gt;That is how my past actually functions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An architectural decision I make today is still weighted by a principle an old mentor shared twenty years ago.&lt;/li&gt;
&lt;li&gt;A leadership choice I make this morning carries the heavy context of my worst early management failures.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The past isn't a dusty archive I occasionally visit; it lives inside my active context window, one attention pass away at all times.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Break in the Metaphor: Continuous Optimization
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Here is where the comparison fundamentally breaks, and it’s the most beautiful part of the realization.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Production machine learning models eventually &lt;strong&gt;freeze their weights&lt;/strong&gt;. &lt;strong&gt;The training loop closes&lt;/strong&gt;, the checkpoint ships, and from that second onward, the model runs static inference. It cannot learn from the user interactions it handles today unless an engineering team aggregates the logs and kicks off an expensive retraining run later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Humans don't have that limitation.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is no boundary between our &lt;strong&gt;"training phase"&lt;/strong&gt; and our &lt;strong&gt;"production phase."&lt;/strong&gt; Every hard conversation, every failed launch, and every sudden market shift changes our internal weights in real time while we are actively doing the job. We don't wait for a maintenance window to optimize. We evolve mid flight.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There is no final deployment checkpoint for a person.&lt;/strong&gt; There is only the next token you choose to generate, and the system you build while generating it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvrh09fkbrdkh4s7ihmu1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvrh09fkbrdkh4s7ihmu1.png" alt=" " width="800" height="43"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>career</category>
      <category>llm</category>
    </item>
    <item>
      <title>Stop Chasing Smarter Models. Start Engineering Better Context.</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Sun, 21 Jun 2026 04:37:35 +0000</pubDate>
      <link>https://dev.to/sreeni5018/stop-chasing-smarter-models-start-engineering-better-context-5014</link>
      <guid>https://dev.to/sreeni5018/stop-chasing-smarter-models-start-engineering-better-context-5014</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;We spend our entire lives &lt;strong&gt;chasing happiness in the next job&lt;/strong&gt;, the &lt;strong&gt;next city&lt;/strong&gt;, the &lt;strong&gt;next relationship&lt;/strong&gt; only to realize somewhere along the way that happiness was never out there. It was a state of mind. Something you &lt;strong&gt;cultivate from within&lt;/strong&gt;, not something you find.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Enterprise AI is making the exact same mistake.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every week, teams pour budget into the next frontier model &lt;strong&gt;bigger parameters, wider context windows&lt;/strong&gt;, stronger benchmarks convinced that intelligence is the thing they're missing. But the agents still &lt;strong&gt;hallucinate&lt;/strong&gt;. The pipelines still break. The outputs still disappoint.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Because the problem was never the model.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Just like happiness, the answer isn't out there in a smarter LLM.&lt;/strong&gt; It's in the environment you build around the model you already have. It's in the &lt;strong&gt;quality of the context the data it receives&lt;/strong&gt;, the memory it carries, the instructions it operates on.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That is Context Engineering.&lt;/strong&gt; And it's the discipline most teams are ignoring while they wait for the next model release to save them.&lt;/p&gt;

&lt;p&gt;You can &lt;strong&gt;hand a genius a disorganized pile of corrupted documents, conflicting instructions, and broken APIs&lt;/strong&gt; and they will still fail. &lt;strong&gt;Conversely&lt;/strong&gt;, &lt;strong&gt;hand an average worker a clean playbook, sharp guardrails, and exactly the data they need and they will execute flawlessly every single time.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That single observation should reshape how every enterprise AI team allocates its engineering budget.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feehdwtbwtwz1htd5jcv7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Feehdwtbwtwz1htd5jcv7.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Illusion of the "Smart" Agent
&lt;/h2&gt;

&lt;p&gt;Most &lt;strong&gt;enterprise teams treat LLMs like databases stuffed with world knowledge.&lt;/strong&gt; They are not. An &lt;strong&gt;LLM is a reasoning engine.&lt;/strong&gt; It &lt;strong&gt;doesn't retrieve answers it reasons toward them&lt;/strong&gt;. The quality of that reasoning is almost entirely determined by the quality of what you put in front of it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When an agent fails in production, the gut reaction is to upgrade to a larger, more expensive model.&lt;/strong&gt; But when you actually dig into the execution logs, the root cause is rarely a lack of raw intelligence. It is almost always a data failure:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The system fetched the wrong vector chunk.&lt;/li&gt;
&lt;li&gt;The API schema passed to the agent was ambiguous or incomplete.&lt;/li&gt;
&lt;li&gt;The conversation history was an unpruned wall of noise.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of those failures get fixed by a bigger model. They get fixed by better context.&lt;/p&gt;

&lt;p&gt;A well optimized, smaller model operating on clean, deterministic context will consistently outperform a massive frontier model reasoning in the dark. I have watched this play out on real enterprise workloads. The model upgrade didn't help. The context pipeline redesign did.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Token Economy Problem
&lt;/h2&gt;

&lt;p&gt;Chasing raw model intelligence isn't just an engineering trap it's an economic liability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvifk04a43tfxqz0srkcn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvifk04a43tfxqz0srkcn.png" alt=" " width="800" height="166"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In enterprise AI, every token is a financial transaction.&lt;/strong&gt; When you dump unrefined, unstructured data into a massive context window and rely on the model's "intelligence" to sort through the noise, you are paying a premium for a problem that should have been solved upstream. Runtime costs spike. Latency climbs. And the outputs are still inconsistent because the ambiguity was never resolved it was just delegated to the model.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This is lazy architecture.&lt;/strong&gt; It feels like a shortcut, but it compounds into a long-term cost problem.&lt;/p&gt;

&lt;p&gt;The alternative is Context Engineering: building deterministic pipelines that deliver exactly the right information, in the right structure, at the right moment. When you do this well, you stop needing frontier-scale models for routine tasks. You route cheaper, faster, specialized agents to handle the work — and you reserve the heavier models for the exceptions that actually need them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Context Engineering in Practice
&lt;/h2&gt;

&lt;p&gt;Context Engineering is not a single technique. It is a discipline that spans three layers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2wvlvy5z5tr17kjaqcgi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2wvlvy5z5tr17kjaqcgi.png" alt=" " width="800" height="302"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Retrieval Quality&lt;/strong&gt; — Moving Beyond Simple Vector Search&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Traditional RAG systems retrieve based on semantic similarity.&lt;/strong&gt; That works for surface level lookups, but enterprise data is relational. A customer record connects to contracts, which connect to support history, which connect to renewal status. &lt;strong&gt;GraphRAG architectures&lt;/strong&gt; capture those relationships explicitly so the agent receives not just a matching chunk, but the business context that surrounds it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Simple vector distance gets you close. Knowledge graphs get you accurate.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Dynamic Context Pruning&lt;/strong&gt; — Protecting the Token Budget&lt;/p&gt;

&lt;p&gt;Not everything in your context window deserves to be there. Long conversation histories, redundant tool outputs, and boilerplate instructions accumulate fast. Dynamic pruning is the practice of continuously evaluating what stays, what gets compressed, and what gets dropped — ensuring the agent only operates on high-signal data.&lt;/p&gt;

&lt;p&gt;Every token you cut from noise is a token you can spend on signal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. State and Memory Management&lt;/strong&gt; — Teaching Agents What to Remember&lt;/p&gt;

&lt;p&gt;An agent with poor memory management treats every turn like it's the first. It re-fetches data it already has, loses track of prior decisions, and fails to carry forward the context that matters. Proper short-term and long-term memory architecture ensures agents accumulate useful state across a workflow and discard the rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Raw Intelligence Still Matters
&lt;/h2&gt;

&lt;p&gt;This is not an argument for dumb models. Intelligence and context are not competitors they are complements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Context does the heavy lifting for the predictable 80%.&lt;/strong&gt; It ensures the agent knows where it is, what it has to work with, and what it's supposed to do. For that 80%, &lt;strong&gt;a well contextualized smaller model is not just good enough it's better, faster, cheaper, and more consistent.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But the other 20% the undocumented API errors, the unexpected user edge cases, the multi-step recoveries that is where raw reasoning earns its place. You still need intelligence for exception handling. The difference is that you should be deploying it surgically, not as a substitute for good architecture.&lt;/p&gt;

&lt;p&gt;Think of model intelligence as the safety net, not the foundation. It catches what falls through. Context engineering is the foundation.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Shift That Matters
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwee1zss0sbjd6xn1f81n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwee1zss0sbjd6xn1f81n.png" alt=" " width="799" height="370"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The teams building production grade AI systems in 2025 are not the ones waiting for the next model release. They are the ones mastering the &lt;strong&gt;scaffolding that surrounds the model the Agent Harness&lt;/strong&gt; the &lt;strong&gt;context pipelines&lt;/strong&gt;, &lt;strong&gt;the memory layers&lt;/strong&gt;, the &lt;strong&gt;routing logic&lt;/strong&gt;, the &lt;strong&gt;governance controls.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The competitive advantage in enterprise AI is not access to a bigger model. Everyone has access to the same frontier models. The advantage is in how well you engineer the environment those models operate in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stop waiting for a smarter brain. Start building a better world for the brain you already have.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Most Enterprise AI Agents Fail in Production for the Same Reason And It's Not the Model</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Fri, 19 Jun 2026 01:49:33 +0000</pubDate>
      <link>https://dev.to/sreeni5018/most-enterprise-ai-agents-fail-in-production-for-the-same-reason-and-its-not-the-model-4ad7</link>
      <guid>https://dev.to/sreeni5018/most-enterprise-ai-agents-fail-in-production-for-the-same-reason-and-its-not-the-model-4ad7</guid>
      <description>&lt;h2&gt;
  
  
  Because intelligence alone is never enough.
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F542evrgz6cgnyyuq53tc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F542evrgz6cgnyyuq53tc.png" alt=" " width="799" height="168"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There's a question I keep hearing from enterprise teams who are just starting to productionize  AI agents:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;"We've got great prompts. The model performs well in testing. Why does it still fail in production?"&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The reason is almost always the same &lt;strong&gt;they built the intelligence.&lt;/strong&gt; &lt;strong&gt;They didn't build the system around it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's it. That's the whole failure pattern. The model is fine. The engineering discipline surrounding it wasn't applied.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here's the analogy I use to explain the difference.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  An AI Agent Is a Self-Driving Car
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Not metaphorically. Structurally.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Both operate in dynamic, unpredictable environments.&lt;/strong&gt; &lt;strong&gt;Both make&lt;/strong&gt; &lt;strong&gt;real time decisions with incomplete information&lt;/strong&gt;. Both can fail not because they're dumb, but because the environment surprises them in ways nobody anticipated. And in both cases, the intelligence of the system (the model, the sensors, the neural net) is only one layer of what makes it trustworthy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fod6bmgridtsr4snvi2ct.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fod6bmgridtsr4snvi2ct.png" alt=" " width="800" height="60"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you break it down, &lt;strong&gt;three distinct engineering disciplines make a self-driving car work.&lt;/strong&gt; The same three disciplines make an &lt;strong&gt;AI agent work.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 1: Prompt Engineering = Destination and Driving Instructions
&lt;/h2&gt;

&lt;p&gt;Before you put a self driving car on the road, you configure it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Where are we going?&lt;/li&gt;
&lt;li&gt;Which route is preferred?&lt;/li&gt;
&lt;li&gt;What's the speed limit?&lt;/li&gt;
&lt;li&gt;Are there constraints? (No highways. No toll roads. Arrive by 3 PM.)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo2tp79vfgtrekbubs818.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fo2tp79vfgtrekbubs818.png" alt=" " width="766" height="1716"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The car doesn't invent the mission. You give it one precisely, explicitly, in a format it can act on.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt Engineering does exactly the same thing for an AI agent. It defines:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The goal and scope of the task&lt;br&gt;
The rules and constraints it must follow&lt;br&gt;
The persona and tone it should operate with&lt;br&gt;
The guardrails that bound its behavior&lt;br&gt;
The expected format and outcome of its output&lt;/p&gt;

&lt;p&gt;Without clear prompts, the agent does what a car does without a destination it moves, but not toward anything useful. It might wander into edge cases, confabulate, or execute the wrong task with full confidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; An &lt;strong&gt;Ecommerce support agent&lt;/strong&gt; told only to "help customers" will happily process a refund, cancel an active shipment, and escalate to a manager all for the same complaint because nobody told it which action to take first, or when escalation is appropriate. The model is working fine. The briefing failed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt Engineering is the briefing. It's not optional, and it's not a one-time job. As your tasks evolve, so should the prompts.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 2: Context Engineering = Situational Awareness
&lt;/h2&gt;

&lt;p&gt;A self-driving car with perfect instructions will still crash if it can't see what's around it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's why autonomous vehicles carry:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;GPS and real-time maps&lt;/li&gt;
&lt;li&gt;Lidar and radar sensors&lt;/li&gt;
&lt;li&gt;Camera feeds processing the road ahead&lt;/li&gt;
&lt;li&gt;Weather and road condition data&lt;/li&gt;
&lt;li&gt;Traffic pattern feeds&lt;/li&gt;
&lt;li&gt;Pedestrian detection systems&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc5ep2bv8u10s06no4yy0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc5ep2bv8u10s06no4yy0.png" alt=" " width="764" height="1704"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All of this is context live, environmental, dynamic information that allows the vehicle to make intelligent decisions in the moment, not just based on pre-loaded instructions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;An AI agent has the same problem. The base LLM is trained on historical data.&lt;/strong&gt; It doesn't know about your &lt;strong&gt;enterprise data&lt;/strong&gt;, &lt;strong&gt;your customer's current account status&lt;/strong&gt;, the document that was updated yesterday, or the conversation that happened last week.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; A banking support agent is asked "what's the status of my loan application?" The model knows everything about loans in general. It knows nothing about this customer's application filed three days ago. Without retrieval &lt;strong&gt;RAG pulling the customer's record in real time the agent either hallucinates a status or says it doesn't have access&lt;/strong&gt;. Both outcomes destroy trust. The model is fine. The context layer wasn't built.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Context Engineering fills that gap. It's how you inject:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;RAG and GraphRAG&lt;/strong&gt; — retrieval of relevant documents and structured knowledge&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory systems&lt;/strong&gt; — both short-term (within session) and long-term (across sessions)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP Servers&lt;/strong&gt; — access to external tools, APIs, and services&lt;/li&gt;
&lt;li&gt;Enterprise knowledge bases — internal policies, product documentation, historical data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;User history and preferences&lt;/strong&gt; — the personalization layer&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-time data feeds&lt;/strong&gt; — current state of the world the agent is operating in&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Context is not a prompt engineering problem. It's an infrastructure problem.&lt;/strong&gt; Getting the right information to the agent at the right moment, in the right format, with the right freshness that's an entirely different discipline with its own architecture, its own tooling, and its own failure modes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A well prompted agent with poor context is like a skilled driver in a blindfolded car.&lt;/strong&gt; The instructions are clear. The execution is impossible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 3: Harness Engineering = Safety, Recovery, and Accountability
&lt;/h2&gt;

&lt;p&gt;Here's where most teams underinvest.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Even the most advanced autonomous vehicle isn't deployed without a full safety stack.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Collision detection and emergency braking&lt;/li&gt;
&lt;li&gt;Lane departure warnings&lt;/li&gt;
&lt;li&gt;Route recalculation when roads are blocked&lt;/li&gt;
&lt;li&gt;Telemetry for monitoring vehicle state&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Black-box logging for post-incident investigation&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Human override capability&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Regulatory compliance systems&lt;/li&gt;
&lt;li&gt;Redundant sensor fusion&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzvv8abe219kzb0uopz9p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzvv8abe219kzb0uopz9p.png" alt=" " width="800" height="1667"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is the harness — the layer that doesn't make the car smarter, but makes it safer. It's the layer that catches failures before they become disasters, and that proves what happened when they do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agent Harness Engineering is the same idea applied to AI systems&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;State Management&lt;/strong&gt; — knowing where the agent is in a multi-step workflow&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Checkpointing&lt;/strong&gt; — saving progress so failures don't require starting over&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-Loop (HITL)&lt;/strong&gt; — escalation paths when confidence is low or stakes are high&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability&lt;/strong&gt; — traces, logs, and dashboards that show you what the agent did and why&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guardrails and Content Controls&lt;/strong&gt; — preventing harmful or out-of-scope outputs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool Access Control&lt;/strong&gt; — scoping what the agent can call and with what permissions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evaluation Pipelines&lt;/strong&gt; — continuous testing against ground truth to catch regression&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recovery Logic&lt;/strong&gt; — graceful degradation when tools fail or context is unavailable&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security and Governance&lt;/strong&gt; — audit trails, access controls, compliance hooks&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Real example:&lt;/strong&gt; An HR onboarding agent is mid-workflow — it has created a user account, sent a welcome email, and is about to provision software licenses when the identity service times out. Without checkpointing, the entire workflow restarts from scratch: duplicate account, duplicate email, confused new hire. Without observability, the engineering team doesn't even know it happened until someone complains. The model executed perfectly. The harness wasn't there to catch the infrastructure failure.&lt;/p&gt;

&lt;p&gt;The harness doesn't change what the agent can do. It changes what the agent will do under pressure  which is when it matters most.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Failures Still Happen Even When You've Done Everything Right
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcgeygfoyqjoc8an0ngg2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcgeygfoyqjoc8an0ngg2.png" alt=" " width="799" height="165"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here's the truth every production AI team eventually confronts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Even with all three layers in place&lt;/strong&gt; solid &lt;strong&gt;prompts&lt;/strong&gt;, rich &lt;strong&gt;context&lt;/strong&gt;, a well engineered &lt;strong&gt;harness&lt;/strong&gt; your &lt;strong&gt;agent will still make mistakes. Not occasionally.&lt;/strong&gt; Regularly enough that you need a plan for it.&lt;/p&gt;

&lt;p&gt;This is not a model quality problem. &lt;strong&gt;It is a fundamental property of the environment these systems operate in.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Both autonomous vehicles and AI agents face the same four realities:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic environments&lt;/strong&gt; — the world changes faster than any training set or prompt update cycle can track&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incomplete information&lt;/strong&gt; — no matter how good your retrieval is, the context is always partial&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unseen edge cases&lt;/strong&gt; — production traffic will surface combinations that no benchmark, red team, or test suite anticipated&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cascading conditions&lt;/strong&gt; — two situations your agent handles perfectly in isolation can combine into something it has never encountered&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No amount of engineering eliminates these realities. What engineering does is change how you respond to them.&lt;/p&gt;

&lt;p&gt;You can have:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Clear, tested prompts&lt;/li&gt;
&lt;li&gt;Rich, well-curated context&lt;/li&gt;
&lt;li&gt;A well-designed harness with observability and recovery&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;And the agent will still make mistakes. The difference is whether those mistakes are visible, recoverable, and traceable — or silent, destructive, and impossible to debug.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The goal is never zero failures. The goal is:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Detect failures earlier. Recover faster. Prove what happened. Continuously improve.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's what the harness is for. That's what observability is for. That's what HITL is for.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;If someone asks you to explain all three disciplines in a single breath&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftzgwpgh8qftlru2m8rm4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftzgwpgh8qftlru2m8rm4.png" alt=" " width="706" height="666"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt Engineering&lt;/strong&gt; tells the agent where to go. &lt;strong&gt;Context Engineering&lt;/strong&gt; helps it understand where it is. &lt;strong&gt;Harness Engineering&lt;/strong&gt; helps it arrive safely, recover when things go wrong, and prove what happened along the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means for Enterprise AI Teams
&lt;/h2&gt;

&lt;p&gt;Most teams are over invested in &lt;strong&gt;Layer 1&lt;/strong&gt; and under invested in &lt;strong&gt;Layers 2 and 3&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt Engineering&lt;/strong&gt; gets the most attention because it's visible, iterable, and produces immediate results. It's also the layer that impresses in demos. &lt;strong&gt;Context Engineering&lt;/strong&gt; is harder because it requires data infrastructure, retrieval pipelines, and integration work. &lt;strong&gt;Harness Engineering&lt;/strong&gt; is hardest because it requires thinking about failure modes before they happen.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiu3u2o231y1w8ubfkp5z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fiu3u2o231y1w8ubfkp5z.png" alt=" " width="800" height="653"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But here's the practical reality: in production, the agents that stay in production are the ones with solid harnesses. Not the ones with the most creative prompts.&lt;/p&gt;

&lt;p&gt;The teams that deploy reliably aren't just asking "did the agent get the right answer?" They're asking "when it gets the wrong answer, how fast do we know? How do we recover? What's the audit trail? Who can intervene?"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's the shift from building demos to building systems.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thought
&lt;/h2&gt;

&lt;p&gt;The autonomous vehicle analogy works because it shifts the conversation from capability to reliability. Nobody debates whether self-driving cars are technically impressive. The debate is always about whether they're trustworthy enough to operate at scale without human supervision.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7y5sa9zcwzqaelascd7z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7y5sa9zcwzqaelascd7z.png" alt=" " width="786" height="634"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's exactly where enterprise AI is right now.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The LLMs are impressive. The question is whether the systems around them are engineering grade.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt&lt;/strong&gt;, &lt;strong&gt;Context&lt;/strong&gt;, and &lt;strong&gt;Harness&lt;/strong&gt; Engineering are how you close that gap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>SAGA Made Microservices Reliable. Agent Harness Makes AI Agents Reliable.</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Sun, 14 Jun 2026 05:31:13 +0000</pubDate>
      <link>https://dev.to/sreeni5018/saga-made-microservices-reliable-agent-harness-makes-ai-agents-reliable-3d1k</link>
      <guid>https://dev.to/sreeni5018/saga-made-microservices-reliable-agent-harness-makes-ai-agents-reliable-3d1k</guid>
      <description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;The distributed systems world solved long-running transactions with SAGA. The agentic AI world has a harder version of the same problem. Here's how Agent Harness answers it.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwr7baaekdxt8bv6e1px5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwr7baaekdxt8bv6e1px5.png" alt=" " width="800" height="186"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;I've been deep in agentic AI architecture for a while now &amp;amp; building &lt;strong&gt;Digital Workers&lt;/strong&gt;, designing &lt;strong&gt;multi-agent systems&lt;/strong&gt;, working through the messy production realities of agents that call tools, consult knowledge bases, and loop back on themselves when they're uncertain. And one question keeps coming up when I talk to engineers who come from a microservices background: "Can't we just use SAGA for this?"&lt;/p&gt;

&lt;p&gt;It's a fair question. &lt;strong&gt;SAGA is one of the more elegant patterns in distributed systems&lt;/strong&gt;. And on the surface, agentic workflows look similar enough that the analogy is tempting. Both involve coordinating multi-step processes. Both need state management and failure recovery. Both have to deal with partial completions.&lt;/p&gt;

&lt;p&gt;But the moment you dig into the details, you realize why SAGA alone isn't enough and why Agent Harness exists.&lt;/p&gt;

&lt;h2&gt;
  
  
  What SAGA Was Built to Solve
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;If you've spent time in microservices land&lt;/strong&gt;, you've lived this problem. &lt;strong&gt;Service A completes, Service B completes, Service C fails&lt;/strong&gt; and now you have a half-committed distributed transaction with no clean rollback and no database level guarantee to save you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The SAGA pattern was invented for exactly this.&lt;/strong&gt; The break long-running transactions into a &lt;strong&gt;sequence of local steps&lt;/strong&gt;, and for every step that can succeed, write a compensating action in advance so that if something downstream fails, you can undo the damage cleanly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Figy3ref019ifr4dfaq1n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Figy3ref019ifr4dfaq1n.png" alt=" " width="800" height="660"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It works beautifully because microservices &lt;strong&gt;operate in a deterministic world. Every service has a known API contract&lt;/strong&gt;. Every response has a typed schema. Every failure is a status code or a typed exception. Every retry is predictable. The failure modes are knowable at design time, so you can write compensation logic at design time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI agents don't live in that world.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F756xte0qz9roovct41y2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F756xte0qz9roovct41y2.png" alt=" " width="800" height="658"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem Is Probabilistic, Not Deterministic
&lt;/h2&gt;

&lt;p&gt;Here's what &lt;strong&gt;fundamentally changes&lt;/strong&gt; when you move from &lt;strong&gt;microservices&lt;/strong&gt; to &lt;strong&gt;agentic AI systems&lt;/strong&gt;, your "&lt;strong&gt;services&lt;/strong&gt;" are now &lt;strong&gt;LLM calls&lt;/strong&gt;, &lt;strong&gt;tool invocations&lt;/strong&gt;, &lt;strong&gt;knowledge retrievals&lt;/strong&gt;, &lt;strong&gt;external APIs or MCP Server tool calls **, and **increasingly&lt;/strong&gt;  &lt;strong&gt;human approvals&lt;/strong&gt;. None of these behave like a well defined &lt;strong&gt;REST&lt;/strong&gt; endpoint with a contract you can write compensation logic against.&lt;/p&gt;

&lt;p&gt;An LLM call can return an answer that passes every syntax check but is semantically wrong confidently, fluently, plausibly wrong. A tool call might succeed at the HTTP layer but return data that sends the agent down an entirely incorrect reasoning path. A multi-step task might "complete" having taken three hallucinated intermediate steps before landing somewhere that superficially looks like the goal.&lt;/p&gt;

&lt;p&gt;And here's the part that should give you pause: &lt;strong&gt;a SAGA coordinator would mark all of that as success&lt;/strong&gt;. No exceptions. No compensation triggered. Workflow complete.&lt;/p&gt;

&lt;p&gt;Retrying won't fix it. Compensation logic won't fix it. You need something architecturally different: an &lt;strong&gt;Agent Harness&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What SAGA and Agent Harness Actually Share
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb7olhfu6sqpym0c1hw3x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb7olhfu6sqpym0c1hw3x.png" alt=" " width="800" height="575"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before getting into where they diverge&lt;/strong&gt;, it's worth being honest about the parallel because &lt;strong&gt;it isn't just a clever analogy. It's structurally real.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Both patterns exist to solve the same core problem: coordinating multi-step processes where individual steps can fail, state needs to be preserved across the lifecycle, and the overall system needs to recover gracefully when things go sideways.&lt;/p&gt;

&lt;p&gt;The SAGA Coordinator manages: &lt;strong&gt;state tracking&lt;/strong&gt;, &lt;strong&gt;retries&lt;/strong&gt;, &lt;strong&gt;compensation actions&lt;/strong&gt;, &lt;strong&gt;failure recovery&lt;/strong&gt;, workflow sequencing, and distributed reliability. The Agent Harness manages all of those same things just mapped to a completely different execution model.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;[The architecture maps cleanly. The implementation is night and day.]&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v973c2uj521fias69f0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9v973c2uj521fias69f0.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Agent Harness Does That SAGA Cannot
&lt;/h2&gt;

&lt;p&gt;SAGA assumes your workflow steps are atomic and deterministic. Agent Harness has to deal with steps that are neither. That's why it needs an entire category of capabilities that have no real SAGA equivalent:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memory (Short &amp;amp; Long Term):&lt;/strong&gt; An agent working a multi-turn task needs to remember what it decided three steps ago, what the user said at the start, and what it already tried that didn't work. That's not transaction state. That's episodic memory and working context interleaved in a way that needs to survive tool calls, retries, and mid-task handoffs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reflection &amp;amp; Critique:&lt;/strong&gt; Before committing to an action or an answer, a well designed harness routes the &lt;strong&gt;agent's proposed output through a&lt;/strong&gt; &lt;strong&gt;self critique step&lt;/strong&gt;. Did the answer actually address the stated goal? Does it contradict something established earlier in the session? Does it fall outside the policy boundaries? SAGA never needs to ask its services whether they feel confident about their output. Agent Harness does.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Guardrails &amp;amp; Policies:&lt;/strong&gt; In production especially in regulated industries you &lt;strong&gt;don't want an agent calling a sensitive external API, accessing PII, or making a consequential decision without policy enforcement at the harness level.&lt;/strong&gt; This isn't exception handling after the fact. It's proactive constraint evaluation before execution. I've seen this matter enormously in healthcare projects where the consequences of an unguarded tool call are real.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Human-in-the-Loop:&lt;/strong&gt;  SAGA runs unattended by design. Agent Harness needs to know when to stop and ask a human and that decision happens at the semantic level, not the infrastructure level. &lt;strong&gt;"I'm not certain this is what the user intended" is a fundamentally different pause condition than "the API returned a 503."&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Evaluation &amp;amp; Validation:&lt;/strong&gt;  Did the &lt;strong&gt;agent's output actually achieve the goal? Not "did the tool call succeed"&lt;/strong&gt; did we actually do what we set out to do? This requires goal level evaluation, not just a &lt;strong&gt;success/failure&lt;/strong&gt; bit. It's one of the harder things to operationalize in practice, but skipping it is how you ship agents that complete tasks without accomplishing goals.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost &amp;amp; Token Monitoring:&lt;/strong&gt; LLM calls have &lt;strong&gt;variable cost depending on context length, model tier, and how deep the reasoning goes&lt;/strong&gt;. An agent running a complex multi-step task can burn through budget in ways that are invisible until you get the bill. A production Agent Harness needs token spend guardrails the way a microservices platform needs circuit breakers on latency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Durable Execution via Checkpointing:&lt;/strong&gt;  If an &lt;strong&gt;agent task runs for 40 minutes and the process crashes at minute 39, checkpointing lets you resume from the last stable state rather than starting over&lt;/strong&gt;. Philosophically similar to SAGA's compensating transactions but the implementation means serializing agent state, tool call history, memory contents, and intermediate reasoning. Substantially more complex, and substantially more necessary for long horizon tasks.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fflchvwqq9l5j9efcf30j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fflchvwqq9l5j9efcf30j.png" alt=" " width="800" height="1274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Concrete Scenario That Makes This Real
&lt;/h2&gt;

&lt;p&gt;Let me give you a specific example, because abstract architecture arguments only go so far.&lt;/p&gt;

&lt;p&gt;Imagine an agent tasked with: "&lt;strong&gt;Research our top three competitors&lt;/strong&gt;' pricing pages and prepare a comparison summary for the sales team."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A SAGA style system would model this as&lt;/strong&gt;: &lt;strong&gt;call tool to fetch Page A → call tool to fetch Page B → call tool to fetch Page C → call tool to generate summary → done.&lt;/strong&gt; If any fetch fails, compensate. If all fetches succeed, the workflow completes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But here's what can actually happen&lt;/strong&gt;: Page B returns a &lt;strong&gt;cached version from 2 months ago&lt;/strong&gt;. The agent doesn't know that it just sees valid HTML. It processes the outdated pricing as current. The summary it generates is factually wrong in a way that could embarrass your sales team.&lt;/p&gt;

&lt;p&gt;Every step "&lt;strong&gt;succeeded&lt;/strong&gt;." The SAGA coordinator marks it complete. No compensation triggered. &lt;strong&gt;And your sales team walks into a meeting with incorrect competitive data&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agent Harness addresses this at multiple layers&lt;/strong&gt;. &lt;strong&gt;Reflection&lt;/strong&gt; &lt;strong&gt;catches&lt;/strong&gt; that the &lt;strong&gt;retrieved content has anomalous&lt;/strong&gt; date markers. Evaluation validates whether the output meets the quality criteria defined for the task. &lt;strong&gt;Guardrails can flag when retrieved content falls below a freshness threshold&lt;/strong&gt;. &lt;strong&gt;Human-in-the-loop&lt;/strong&gt; escalation routes the uncertainty to a person rather than silently proceeding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's the gap. And it's not a small one.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Key Difference, Plainly Said
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;SAGA&lt;/strong&gt; manages &lt;strong&gt;deterministic workflows&lt;/strong&gt;. &lt;strong&gt;Agent&lt;/strong&gt; Harness manages &lt;strong&gt;probabilistic workflows&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw9su9o1wxmabms1qlxun.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw9su9o1wxmabms1qlxun.png" alt=" " width="800" height="581"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In SAGA, failure modes are knowable at design time&lt;/strong&gt;. You write compensation logic once and trust it to cover the cases. In an Agent Harness, failure can mean: the tool returned a valid response that the agent misread. Or the agent completed every step correctly but arrived at a goal that doesn't satisfy what the user actually wanted. Or the agent is in a soft reasoning loop, &lt;strong&gt;re-checking the same condition because it's genuinely uncertain and nobody told it when to escalate.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Handling that requires reflection, self critique, goal validation, and graceful human escalation none of which exist in the SAGA vocabulary, because SAGA was never designed for an execution unit that reasons about the world.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means If You're Building Today
&lt;/h2&gt;

&lt;p&gt;If you're designing an agentic system and you're thinking purely in SAGA terms, you're probably building something that's reliable at the infrastructure layer but brittle at the reasoning layer. Your agents will retry correctly. They'll compensate correctly. But they'll also confidently produce wrong answers, hallucinate tool results, and mark tasks complete that aren't — and your coordinator will have no way to know the difference.&lt;/p&gt;

&lt;p&gt;Agent Harness is the layer that closes that gap. It's not a replacement for orchestration. It sits above orchestration and asks: did we actually do the right thing, in the right way, within the right constraints, with the appropriate level of human oversight?&lt;/p&gt;

&lt;p&gt;The engineers who built SAGA were solving a genuinely hard distributed systems problem. The people building Agent Harness today are solving a harder version of it because the failure modes are less visible, the state is messier, and "success" is much harder to define when your execution unit is a language model reasoning about an open-ended goal.&lt;/p&gt;

&lt;p&gt;But the spirit is exactly the same: &lt;strong&gt;build systems that fail gracefully, recover intelligently, and complete what they started&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  SAGA made microservices reliable. Agent Harness is what makes AI agents reliable.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  One Question Worth Sitting With
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Of all the Agent Harness components&lt;/strong&gt;, I've found that &lt;strong&gt;Reflection&lt;/strong&gt; &amp;amp; &lt;strong&gt;Critique&lt;/strong&gt; and &lt;strong&gt;Human-in-the-Loop&lt;/strong&gt; are the &lt;strong&gt;two&lt;/strong&gt; that teams &lt;strong&gt;most consistently underinvest&lt;/strong&gt; in usually because they're harder to wire up than checkpointing or token monitoring, and the cost of skipping them isn't visible until something goes wrong in production.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which component do you find hardest to implement in practice  and how are you handling it?&lt;/strong&gt; I'm genuinely curious what patterns the community is landing on. Drop it in the comments.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnyzrd8344y3d2nhumj3j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnyzrd8344y3d2nhumj3j.png" alt=" " width="800" height="277"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AI Agents Are the New Microservices &amp; A2A Is Their HTTP(s)</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Fri, 29 May 2026 23:14:43 +0000</pubDate>
      <link>https://dev.to/sreeni5018/ai-agents-are-the-new-microservices-a2a-is-their-https-329g</link>
      <guid>https://dev.to/sreeni5018/ai-agents-are-the-new-microservices-a2a-is-their-https-329g</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;As enterprises race to deploy generative AI Apps/Agents&lt;/strong&gt;, the hardest question isn't "&lt;strong&gt;which foundation model do we use?.&lt;/strong&gt;" it's "how do they &lt;strong&gt;safely talk to each other?&lt;/strong&gt;"&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you spent the 2010s building distributed systems&lt;/strong&gt;, the architectural blueprints emerging for enterprise AI will feel strangely familiar. &lt;strong&gt;Bounded contexts&lt;/strong&gt;, &lt;strong&gt;service registries&lt;/strong&gt;, async message queues, and distributed tracing are all back. The vocabulary is almost identical  &lt;strong&gt;except our "services" now reason in natural language, call tools, and produce probabilistic, context-aware outputs instead of deterministic ones.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Agent-to-Agent (A2A) Protocol&lt;/strong&gt; is the open-standard transport and interface layer that makes this architectural analogy concrete. And ,the protocol now has support from more than 150 organizations  including Salesforce, &lt;strong&gt;Microsoft, SAP, Workday, PayPal, and LangChain.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Just as &lt;strong&gt;HTTP/REST became the lingua franca of Microservice&lt;/strong&gt; communication, A2A (now hosted under the Linux Foundation) standardizes how autonomous agents discover capabilities, delegate tasks, and maintain security boundaries.&lt;/p&gt;

&lt;h2&gt;
  
  
  Defining the Ecosystem: A2A vs. MCP
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg2xjuo13y8o9s8aokp70.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg2xjuo13y8o9s8aokp70.png" alt=" " width="800" height="187"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To design an enterprise multi agent mesh&lt;/strong&gt;, you must first separate agent orchestration from tool execution. &lt;strong&gt;A common architectural anti pattern is trying to force a single protocol to handle both.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt;: This handles the &lt;strong&gt;Agent-to-Tool layer&lt;/strong&gt;. It standardizes how a single agent securely reads from local databases, hooks into enterprise storage, or accesses development environments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agent-to-Agent Protocol (A2A):&lt;/strong&gt; This handles the &lt;strong&gt;Agent-to-Agent layer&lt;/strong&gt;. It standardizes how separate, sovereign intelligent systems communicate with each other in their natural, semantic modalities (negotiating tasks, passing conversational state, or handing off workflows) across frameworks and lines of business.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The key distinction:&lt;/strong&gt; MCP connects agents to tools (vertical integration). A2A connects agents to each other (horizontal integration). &lt;strong&gt;They are explicitly designed to be complementary&lt;/strong&gt;, not competitive. Together, they form the two-layer interoperability stack for modern multi-agent systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Under the Hood: How A2A Actually Works
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmi497xmpc75tj6209auo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmi497xmpc75tj6209auo.png" alt=" " width="800" height="181"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before diving into communication styles, it helps to understand the technical foundation A2A is built on because it is deliberately not reinventing the wheel.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A2A leverages well established web technologies.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;HTTP/HTTPS&lt;/strong&gt; — primary transport layer (production deployments require HTTPS with modern TLS)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JSON-RPC 2.0&lt;/strong&gt; — structured data exchange format for all requests and responses&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Server-Sent Events (SSE)&lt;/strong&gt; — real-time, one-way streaming of updates from agent to client&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every A2A agent publishes a small JSON document called an &lt;strong&gt;Agent Card&lt;/strong&gt;, typically served at &lt;strong&gt;/.well-known/agent.json.&lt;/strong&gt; This file lists the agent's identity, skills, endpoint URL, and authentication requirements — enabling zero-configuration discovery between agents without any proprietary registry or coordination layer.&lt;/p&gt;

&lt;p&gt;Security is baked in from the start. A2A incorporates enterprise-grade authentication and authorization mechanisms aligned with OpenAPI security schemes, including support for OAuth 2.0 and API keys passed via HTTP headers.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Four A2A Communication Styles
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2pegidu9a736gvefglmc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2pegidu9a736gvefglmc.png" alt=" " width="800" height="308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The A2A standard defines clear execution modes that mirror the structural communication patterns distributed systems engineers have relied on for decades.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;1. Synchronous (Blocking)&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;One agent sends a task and blocks its execution context until the responding agent returns a final artifact.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Microservices Analogy:&lt;/strong&gt; A standard REST call (GET /resource).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Use Case:&lt;/strong&gt; Fast, critical path dependency queries like an Orchestrator agent requesting a real time risk compliance score before formatting a customer response.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;2. Asynchronous (Non-Blocking)&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;One agent dispatches a task object and immediately returns to other processing. The remote agent queues the work and processes it in the background.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Microservices Analogy:&lt;/strong&gt; Message queues or event streams (Kafka, RabbitMQ).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Use Case:&lt;/strong&gt; Long-running cognitive tasks such as a Legal Agent reading a 400-page corporate acquisition contract or a Data Agent running complex batch classification.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;3. Streaming&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Continuous data tokens or partial states flow dynamically between agents in real time, rather than waiting for a single completed payload.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Microservices Analogy:&lt;/strong&gt; gRPC streaming or Server-Sent Events (SSE).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Use Case:&lt;/strong&gt; Real-time speech transcription agents feeding an analysis agent, or interactive multi-agent chat interfaces where UX requires instant token delivery.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;4. Push Notifications (Event-Driven)&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;An agent registers a web callback or subscription, receiving a proactive alert only when a specific upstream event or state change occurs. When significant task state changes happen such as &lt;strong&gt;completed&lt;/strong&gt;, &lt;strong&gt;failed&lt;/strong&gt;, or &lt;strong&gt;input-required&lt;/strong&gt; the server sends an asynchronous HTTP POST notification to the client's provided &lt;strong&gt;web hook.&lt;/strong&gt; This requires the server to declare push notification capability in its Agent Card.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Microservices Analogy:&lt;/strong&gt; Web hooks or an Event Bus.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Use Case:&lt;/strong&gt; Event-driven governance like an automated Compliance Agent waking up to audit a transaction only when an Account Agent drafts a contract exceeding $1M.&lt;/p&gt;

&lt;p&gt;Key Architectural Insight: A mature multi-agent enterprise system never forces a single interaction pattern. It builds a mesh that combines all four, leveraging an internal API gateway plane to manage traffic, route tasks, and handle fallback strategies.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Critical Shift: From Deterministic to Semantic Interfaces
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo0bmao16ta2vnqz1mtag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fo0bmao16ta2vnqz1mtag.png" alt=" " width="800" height="156"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In traditional microservices, the API contract is strictly &lt;strong&gt;deterministic&lt;/strong&gt;: Send these exact bytes, receive those exact bytes.&lt;/p&gt;

&lt;p&gt;In a multi-agent network, the interface is &lt;strong&gt;semantic&lt;/strong&gt;: Send this intent, receive a reasoned response.&lt;/p&gt;

&lt;p&gt;Instead of maintaining brittle endpoints for every hyper-specific query variation, an agent uses its &lt;strong&gt;Agent Card to advertise&lt;/strong&gt; its overall "Skills" and expected structural input/output schemas. A Finance agent capable of calculating remaining Q3 headcount budgets does not require a new API endpoint deployment when business users slightly pivot the nuance of the request; it interprets the intent via the A2A task lifecycle.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;"beating heart"&lt;/strong&gt; of this lifecycle is the task's input-required state, which allows agents to pause execution mid-task and request further information &lt;strong&gt;from clients or other agents something traditional REST APIs were simply never designed to do&lt;/strong&gt;. This makes agent conversations stateful and adaptive in a way that static Microservice contracts are not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The &lt;strong&gt;parallels&lt;/strong&gt; between the &lt;strong&gt;microservices&lt;/strong&gt; revolution of the 2010s and today's &lt;strong&gt;multi-agent AI ecosystem are not just cosmetic.&lt;/strong&gt; The same hard-won lessons around service discovery, security boundaries, async communication, and composable architecture are being relearned and encoded into open standards like A2A and MCP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A2A is an open standard that enables AI agents to discover&lt;/strong&gt;, communicate, and transact with each other across different frameworks, vendors, and platforms. MCP handles how each of those agents connects to its tools. Together they give architects a principled, two-layer model for building AI systems that are modular, interoperable, and production-ready.&lt;/p&gt;

&lt;p&gt;The momentum behind A2A growing from 50 launch partners to 150+ organizations in under a year underscores something simple  fragmentation in AI agent ecosystems is a problem the industry is collectively choosing to solve. For engineers building in this space today, the question is no longer whether these protocols matter. It's whether your architecture is ready for the systems around you that already use them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>architecture</category>
      <category>microservices</category>
    </item>
    <item>
      <title>The Agent Harness Taught Me Why I Used to Fail</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Thu, 28 May 2026 21:08:18 +0000</pubDate>
      <link>https://dev.to/sreeni5018/the-agent-harness-taught-mewhy-i-used-to-fail-39g1</link>
      <guid>https://dev.to/sreeni5018/the-agent-harness-taught-mewhy-i-used-to-fail-39g1</guid>
      <description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;On building AI agents  and accidentally understanding yourself&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;We tend to believe that &lt;strong&gt;intelligence is the ultimate differentiator&lt;/strong&gt; that if we think clearly enough, know enough, and work hard enough, success follows. It's a comforting idea. It's also incomplete.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I didn't fully understand that until I started building AI agents.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Specifically, it hit me while designing the Harness layer for a &lt;strong&gt;Digital Worker (AI Agent)&lt;/strong&gt; the architectural component responsible for &lt;strong&gt;orchestrating&lt;/strong&gt; tasks, &lt;strong&gt;managing&lt;/strong&gt; priorities, &lt;strong&gt;regulating&lt;/strong&gt; execution, and keeping the agent coherent across complex, multi-step workflows. The &lt;strong&gt;Harness isn't the brain. It isn't the memory. It's the discipline layer the scaffolding that ensures raw capability actually translates into reliable output.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And as I built it, I kept thinking: how many times in my own life did I have the intelligence, the knowledge, even the opportunity and still fall short?&lt;/p&gt;

&lt;p&gt;Not because I wasn't capable. But because I lacked exactly what the Harness provides orchestration, prioritization, emotional balance, structured execution, and the feedback loops to course-correct in real time.&lt;/p&gt;

&lt;p&gt;This blog is &lt;strong&gt;part technical exploration, part honest reflection.&lt;/strong&gt; Whether you are an engineer building intelligent systems, a leader navigating complexity, or simply someone trying to understand why effort alone doesn't always produce results the architecture of an AI agent has something surprising to say about the architecture of a human being.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The gap between potential and performance in agents and in people isn't usually about intelligence. It's about what holds everything together.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Technical Layer
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is the Agent Harness and Why Does It Matter?&lt;/strong&gt;&lt;br&gt;
When most people discuss AI agents, the conversation gravitates toward the model, the memory, or the tools. These are the visible, exciting components the intelligence, the knowledge base, the capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;But the Harness layer is the real operational backbone.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It orchestrates tasks, manages priorities, controls execution flow, handles failures gracefully, applies guardrails, maintains context across long-running workflows, and prevents the agent from spiraling into chaos or stalling indefinitely. It is the operational nervous system that connects intelligence to consistent, reliable action.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Without a Harness, even the most capable AI agent becomes unpredictable.&lt;/strong&gt; It may perform brilliantly in controlled settings and collapse the moment conditions become complex, ambiguous, or adversarial. The model stays sharp. But the system breaks down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;That distinction between raw capability and disciplined execution is exactly what I want to explore here.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Personal Parallel
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The Moment It Got Personal&lt;/strong&gt;&lt;br&gt;
While designing the Harness, something clicked that went beyond systems architecture.&lt;/p&gt;

&lt;p&gt;Many times in my life, &lt;strong&gt;I didn't fail because I lacked intelligence&lt;/strong&gt;, talent, or technical knowledge. I failed because I lacked orchestration. &lt;strong&gt;Clear prioritization. Emotional regulation. Structured execution. Feedback loops. Consistency&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;The same things that break AI agents in production.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;That realization hit me harder than any architecture diagram ever could.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We often assume success comes purely from reasoning ability or memory both in humans and in AI.&lt;/strong&gt; But real-world execution depends on something deeper. Something that doesn't show up on a résumé or a benchmark score.&lt;/p&gt;

&lt;h2&gt;
  
  
  Core Principles
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr55m4bba9qnaz16fmbbt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr55m4bba9qnaz16fmbbt.png" alt=" " width="394" height="591"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Six Things That Break Agents and People&lt;br&gt;
&lt;strong&gt;Whether we are talking about enterprise AI systems or individual human performance, the failure points are strikingly similar.&lt;/strong&gt; Real world execution demands all six of these and notably, &lt;strong&gt;four of them map directly to the core components of the Agent Harness.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1.Managing Overload [Context]
&lt;/h2&gt;

&lt;p&gt;Knowing what is relevant now without drowning in everything at once. Context overload collapses both agents and people the &lt;strong&gt;harness enforces what stays in scope.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2.Using the Right Capability [Tool]
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Knowing which tool, skill, or resource to deploy and when&lt;/strong&gt;. Raw access to capabilities means nothing without the judgment to use them correctly under pressure.&lt;/p&gt;

&lt;h2&gt;
  
  
  3.Recovering from Failure [Loop]
&lt;/h2&gt;

&lt;p&gt;Completing &lt;strong&gt;feedback loops&lt;/strong&gt; detecting &lt;strong&gt;what went wrong, adjusting&lt;/strong&gt;, and trying again. Without loops, &lt;strong&gt;both agents and people keep repeating the same mistakes.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4.Staying Within Bounds [Governance]
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Applying guardrails that prevent drift ethical, operational, and behavioral.&lt;/strong&gt; Governance is not a constraint on performance; it is the condition for trust.&lt;/p&gt;

&lt;h2&gt;
  
  
  5.Prioritization
&lt;/h2&gt;

&lt;p&gt;Knowing what matters now versus later. Without clear prioritization, effort gets scattered, urgency becomes noise, and the most important things rarely get done.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Repeatable Execution
&lt;/h2&gt;

&lt;p&gt;Building patterns that hold up consistently not just when conditions are ideal. Discipline is what turns one-time performance into reliable delivery over time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;These are not soft skills.&lt;/strong&gt; They are not secondary concerns. In &lt;strong&gt;production AI systems&lt;/strong&gt;, failing at any one of these causes real operational breakdowns. &lt;strong&gt;And in life, the story is no different.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A Broader Reflection
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;What Software Engineering Quietly Teaches You&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
The strange thing about software engineering is that if you stay in it long enough, it reshapes how you think about yourself slowly, without announcement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Building distributed systems teaches patience.&lt;/strong&gt; You learn that complex things fail in non-obvious ways, that the answer is rarely where you first looked, and that premature conclusions are more dangerous than no conclusion at all.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debugging teaches humility.&lt;/strong&gt; Every session is a reminder that your mental model of reality is incomplete. The bug isn't in the code  it's in the assumption you forgot you were making.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Designing AI agents teaches self-awareness.&lt;/strong&gt; Because you are not just &lt;strong&gt;modeling intelligence.&lt;/strong&gt; You are modeling the entire operating system of a functioning entity how it perceives, decides, acts, recovers, and adapts. And somewhere in that process, you start to see yourself reflected back.&lt;/p&gt;

&lt;p&gt;The Agentic AI systems we build are not mirrors. But they are close enough to matter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Closing
&lt;/h2&gt;

&lt;p&gt;I Wasn't Just Building a Control Layer for an AI Maybe that is why designing the Agent Harness feels so strangely personal.&lt;/p&gt;

&lt;p&gt;I wasn't just architecting a component that manages &lt;strong&gt;workflow state, enforces guardrails, and ensures execution coherence.&lt;/strong&gt; I was finally articulating something I had lived through but never quite named  the difference between having capability and having the structure to deploy it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Harness doesn't make an agent smarter.&lt;/strong&gt; It makes the agent's &lt;strong&gt;intelligence&lt;/strong&gt; &lt;strong&gt;usable&lt;/strong&gt;, &lt;strong&gt;consistent&lt;/strong&gt;, and &lt;strong&gt;trustworthy&lt;/strong&gt; under real-world pressure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That is what personal growth looks like too.&lt;/strong&gt; Not acquiring more intelligence. Not gathering more memory or more tools. But building the internal structure that allows everything you already have to work together, consistently, under pressure, over time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The deeper I go into Agentic AI&lt;/strong&gt;, the more I believe this: the most important breakthroughs are not always about capability. Sometimes, they are about architecture.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Intelligence without orchestration is potential without performance. The harness is not a constraint  it is the condition for everything else to work.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I started this by adding a &lt;strong&gt;Harness to an AI agent&lt;/strong&gt;.&lt;br&gt;
&lt;strong&gt;I ended it wondering who's going to add one to me.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>architecture</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Transformers &amp; Agile Sprints: The Art of Incremental Evolution</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Wed, 27 May 2026 21:04:09 +0000</pubDate>
      <link>https://dev.to/sreeni5018/transformers-agile-sprints-the-art-of-incremental-evolution-3411</link>
      <guid>https://dev.to/sreeni5018/transformers-agile-sprints-the-art-of-incremental-evolution-3411</guid>
      <description>&lt;p&gt;Ever wonder why &lt;strong&gt;Transformer models are so incredibly effective at scaling?&lt;/strong&gt; It turns out they share a fundamental philosophy with modern software engineering: &lt;strong&gt;they never build from scratch.&lt;/strong&gt; In machine learning, &lt;strong&gt;Residual Connections&lt;/strong&gt; (or skip connections) act as an information bridge. Instead of forcing a neural network to completely reinvent its intelligence at every single layer, the model simply &lt;em&gt;adds&lt;/em&gt; new insights to what it already knows. It preserves the foundational knowledge, preventing data from degrading as it goes deeper.&lt;/p&gt;

&lt;p&gt;Sound familiar? That is exactly how high-performing &lt;strong&gt;Agile teams&lt;/strong&gt; operate.&lt;/p&gt;

&lt;p&gt;Instead of waiting for a single, massive &lt;strong&gt;"grand plan"&lt;/strong&gt; &lt;strong&gt;release&lt;/strong&gt;, Agile teams enhance a working product sprint by sprint. You deliver value incrementally, gather feedback, and iterate without tearing down the core infrastructure you already built.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyoi6mxca1ay95a2z3f5k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyoi6mxca1ay95a2z3f5k.png" alt=" " width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🧠 Deep Dive: How Residual Connections Save Deep Transformers
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;To truly appreciate this parallel, look at what happens inside the Transformer architecture.&lt;/strong&gt; As models grow to dozens or hundreds of layers, they face two massive technical hurdles: &lt;strong&gt;Vanishing Gradients&lt;/strong&gt; and &lt;strong&gt;Information Degradation&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Without residual connections, the raw input signal gets warped and lost the deeper it travels through &lt;strong&gt;self-attention&lt;/strong&gt; and &lt;strong&gt;feed-forward networks.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Residual connections solve this by changing the fundamental mathematical objective of a layer. Instead of forcing a layer to learn an entirely new mapping $H(x)$, the layer only has to learn a residual mapping &lt;strong&gt;$F(x) = H(x) - x$.&lt;/strong&gt; The final output of the block becomes:&lt;/p&gt;

&lt;h2&gt;
  
  
  $$𝖮𝗎𝗍𝗉𝗎𝗍 = F(x) + x$$
&lt;/h2&gt;

&lt;p&gt;By adding the original input $x$ directly to the output of the sub-layer, Transformers gain two massive engineering advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Unobstructed Gradient Flow:&lt;/strong&gt; During &lt;strong&gt;back propagation&lt;/strong&gt;, the gradient can flow directly through the skip connection without being altered or diminished by the layer's weights. This completely mitigates the vanishing gradient problem, allowing us to train models with hundreds of layers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Feature Preservation:&lt;/strong&gt; The identity shortcut ensures that the core semantic meaning established in early layers isn't corrupted or forgotten by complex attention calculations later in the stack.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Core Parallel
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Layer vs. The Sprint:&lt;/strong&gt; A neural network layer computes incremental feature adjustments ($F(x)$) while maintaining the input foundation ($x$); an Agile sprint delivers incremental feature updates while maintaining the stable application baseline.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Foundation:&lt;/strong&gt; Residual connections pass raw data forward so deep networks don't lose their identity or variance. Agile version control and MVP architecture ensure teams don't lose sight of the core product value.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Goal:&lt;/strong&gt; Both systems leverage previous successes to achieve complex, sophisticated outcomes faster and with less risk of systemic failure.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Stop trying to rebuild the wheel at every stage of development whether you are training a billions-parameter model or leading a cross functional engineering team. Build the foundation, protect it, and iterate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>deeplearning</category>
      <category>machinelearning</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Your LLM Is Not an Agent. Your Framework Is Not Enough. You Need a Harness.</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Mon, 25 May 2026 06:20:59 +0000</pubDate>
      <link>https://dev.to/sreeni5018/your-llm-is-not-an-agent-your-framework-is-not-enough-you-need-a-harness-321j</link>
      <guid>https://dev.to/sreeni5018/your-llm-is-not-an-agent-your-framework-is-not-enough-you-need-a-harness-321j</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Every team building with AI agents hits the same wall.&lt;/strong&gt; The demo works beautifully. The agent answers questions, calls tools, produces results. Then you ship it and the cracks appear it loses track of what it was doing, &lt;strong&gt;burns through API calls in circles&lt;/strong&gt;, ignores boundaries it should respect, &lt;strong&gt;forgets context from five minutes ago.&lt;/strong&gt; Users lose trust. Engineers lose sleep.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This is not a model problem.&lt;/strong&gt; The LLM is capable. It's an infrastructure problem. The agent has a brain but no operating environment no structured loop to run in, no memory to draw on, no rules to constrain it, no way to resume where it left off. You gave it intelligence without giving it a way to apply that intelligence reliably.&lt;/p&gt;

&lt;p&gt;That operating environment is called a &lt;strong&gt;Harness&lt;/strong&gt;. And it's what separates a &lt;strong&gt;demo agent from one you'd actually trust in production.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What breaks without a harness
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;🔁 Infinite loops or premature stops.&lt;/strong&gt; The agent has no governing loop  it either runs forever or halts before the task is done.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🧠 Context amnesia.&lt;/strong&gt; Long tasks overflow the context window. The agent loses the thread and starts hallucinating or repeating itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💾 No memory between sessions.&lt;/strong&gt; Every conversation starts from zero. Multi-step, multi-day workflows are impossible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🔧 Tool failures cascade.&lt;/strong&gt; One flaky API brings the whole agent down because there's no error handling layer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🚨 No guardrails.&lt;/strong&gt; The agent touches system it should not.&lt;/p&gt;

&lt;h2&gt;
  
  
  You're Already Using the Pieces. A Harness Is How You Make Them Work Together.
&lt;/h2&gt;

&lt;p&gt;If you've been building AI agents for a while, you know the drill. You pick a framework &lt;strong&gt;CrewAI&lt;/strong&gt;, &lt;strong&gt;LangGraph&lt;/strong&gt;, &lt;strong&gt;Strands&lt;/strong&gt;, &lt;strong&gt;Microsoft Agent Framework&lt;/strong&gt;  and you start wiring things up. You &lt;strong&gt;add memory so the agent remembers things.&lt;/strong&gt; &lt;strong&gt;You register tools so it can take actions.&lt;/strong&gt; You configure guardrails so it doesn't go off the rails. You set up a loop so it keeps working until the task is done.&lt;/p&gt;

&lt;p&gt;And it works. Mostly. In development, in demos, in controlled tests.&lt;/p&gt;

&lt;p&gt;Then you put it in front of real users, with real tasks, over real time and you start seeing the cracks. The agent forgets things it shouldn't. &lt;strong&gt;It handles a task perfectly on Monday and fumbles the same task on Thursday.&lt;/strong&gt; Two similar agents behave inconsistently. A tool fails and the whole run degrades silently. You added all the right pieces but somehow the whole is less than the sum of its parts.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;This is the problem a harness solves. And here's the key thing to understand.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The core idea
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A harness doesn't replace your framework.&lt;/strong&gt; You're not choosing between them. Your &lt;strong&gt;framework gives you the ingredients&lt;/strong&gt;  memory, tools, loops, guardrails. The harness is the &lt;strong&gt;recipe&lt;/strong&gt; the deliberate architectural decisions about &lt;strong&gt;how those ingredients&lt;/strong&gt; are &lt;strong&gt;assembled&lt;/strong&gt;, coordinated, and governed so your agent behaves consistently every single time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Think of it like building a house.&lt;/strong&gt; The framework is lumber, concrete, wiring, plumbing  everything you need. &lt;strong&gt;The harness is the blueprint&lt;/strong&gt; and the construction process which material goes where, in what order, connected how, inspected by whom. Without a blueprint, you might still end up with a structure. But it probably won't hold up when the weather turns.&lt;/p&gt;

&lt;h2&gt;
  
  
  The PM &amp;amp; Developer Analogy
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ksawk8x827lr6c2dufn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ksawk8x827lr6c2dufn.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here's a mental model that makes this concrete. &lt;strong&gt;In a software team,&lt;/strong&gt; a &lt;strong&gt;Product Manager writes a story. It has context, a clear task, acceptance criteria, and scope boundaries.&lt;/strong&gt; A Developer picks it up and delivers it. But the developer doesn't just start typing  they follow a process. They use version control, a build system, coding standards, and a defined way to ask for help or escalate a blocker. &lt;strong&gt;That process is what makes delivery reliable, not just the developer's raw talent.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now replace the developer with an AI Agent.&lt;/strong&gt; The PM's story is the &lt;strong&gt;task prompt.&lt;/strong&gt; The &lt;strong&gt;agent is the developer.&lt;/strong&gt; The &lt;strong&gt;harness is the process&lt;/strong&gt; the structured operating environment that governs how the agent reads the story, uses its tools, manages its memory, escalates when stuck, and knows when it's truly done.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsf8z8wwcsc98quexydxu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsf8z8wwcsc98quexydxu.png" alt=" " width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;The framework puts the tools in the developer's hands. The harness defines how the developer uses them consistently, safely, and with the right behavior for each situation.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Framework vs. Harness: Ingredient vs. Recipe
&lt;/h2&gt;

&lt;p&gt;Here's where most explanations go wrong they imply frameworks are incomplete or that you shouldn't use them. That's backwards. Frameworks are excellent. They just operate at a different layer than a harness.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx6fydfkm2d14a34wchkt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx6fydfkm2d14a34wchkt.png" alt=" " width="800" height="557"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;You can have every framework primitive&lt;/strong&gt; in place and still have an unreliable agent because nobody made the architectural decisions about how they work together. &lt;strong&gt;That's the gap the harness fills.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Decisions a Harness Makes
&lt;/h2&gt;

&lt;p&gt;Every harness whether you've named it that or not is making below architectural decisions. Here's what each one actually means, and why it's a decision rather than just a feature you turn on.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Thinking Loop Not just running, but knowing when to stop
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Every framework gives you a loop.&lt;/strong&gt; The &lt;strong&gt;harness decides&lt;/strong&gt; the rules of that loop what counts as "&lt;strong&gt;done&lt;/strong&gt;," &lt;strong&gt;how many iterations&lt;/strong&gt; are too many, how to detect when the agent is stuck in circles, and when to break out and surface an error. Without these rules, your loop either exits too early or runs until your API bill catches fire.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: the loop mechanism. Harness decides: the exit conditions, the stuck-detection logic, the iteration limits.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Working Memory Not just storing, but knowing what to keep
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Context management&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A context window is finite.&lt;/strong&gt; As a task runs across many turns, old information competes with new information for that space. The harness makes the call: what gets summarized, what gets evicted, what always stays, and in what priority order. Without this policy, long tasks gradually degrade as the agent's window fills with stale or low-priority content.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: the context window. Harness decides: what lives in it at each point in the task lifecycle.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Toolbox Not just available, but governed
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Skills &amp;amp; Tools&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Registering a tool in your framework makes it available. The harness decides which tools this specific agent, running this specific task, is actually allowed to use  and what happens when a tool fails. Retry? Fall back to a different tool? Surface an error? Carry on? Each of these is a deliberate decision, and making them ad hoc leads to inconsistent behavior.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: tool registration. Harness decides: tool authorization, retry logic, fallback strategy, failure handling.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Team Not just spawning, but coordinating
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Sub-agents&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Multi-agent frameworks let you spawn sub-agents. &lt;strong&gt;The harness defines how work gets divided, which sub-agent gets what&lt;/strong&gt;, how their outputs are validated, and how the results are stitched back together. Without this, you end up with agents doing overlapping work, producing conflicting results, or silently dropping pieces of the task.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: sub-agent communication primitives. Harness decides: delegation strategy, output validation, result merging logic.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Standard Library Capabilities every agent gets for free
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Built-in skills&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Some capabilities file reads, HTTP calls, date parsing, writing to memory are so universal that every agent needs them, and no agent should be writing boilerplate to get them.&lt;/strong&gt; The harness bakes these in as defaults. Every agent inherits them, they behave consistently, and they're tested once rather than reimplemented per agent.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: the ability to add tools. Harness decides: which tools are universal defaults across every agent you build.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Long-Term Memory Not just remembering, but knowing what's worth remembering
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Session persistence&lt;/strong&gt;&lt;br&gt;
Frameworks give you a persistent store. The harness defines the policy around it what gets written to &lt;strong&gt;long-term memory, when, in what format, and how it gets retrieved and surfaced in future sessions.&lt;/strong&gt; A poorly designed persistence policy is almost worse than none: your agent retrieves irrelevant old context and lets it pollute fresh tasks.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: the storage layer. Harness decides: write policy, retrieval strategy, relevance scoring, session restoration logic.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Briefing  Assembling the right instructions at the right moment
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;System prompt assembly&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most developers write a system prompt once and leave it static. But a static prompt is a blunt instrument. &lt;strong&gt;The harness assembles it dynamically at runtime composing the base instructions, the current task, the available tools, the relevant memory, and any user or role-specific context into one coherent briefing. Same agent, different context, different briefing.&lt;/strong&gt; This alone is one of the biggest levers on agent quality.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: a system prompt field. Harness decides: what goes in it, dynamically, based on task and state.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Audit Trail Every action, logged and explainable
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Lifecycle hooks&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Lifecycle hooks exist in most frameworks as extension points. The harness is the thing that actually wires them up into a coherent observability strategy &lt;strong&gt;logging every tool call&lt;/strong&gt;, tracking cost per run, &lt;strong&gt;catching errors before they cascade&lt;/strong&gt;, and giving you an answer to "what exactly did this agent do and why" for any given task. Without this wiring, you're flying blind.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Framework gives you:&lt;/strong&gt; hook attachment points. Harness decides: what gets logged, measured, alerted on, and how errors propagate.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Guardrails  Not just checking, but enforcing consistently
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Permissions &amp;amp; Safety&lt;/strong&gt;&lt;br&gt;
Frameworks give you input and output guardrail hooks. The harness defines the actual safety policy: which actions require human approval, what the agent is never allowed to do regardless of instructions, &lt;strong&gt;how prompt injection attempts are handled&lt;/strong&gt;, and what happens when a guardrail fires. &lt;strong&gt;Guardrail hooks without a coherent policy are checkboxes without consequences.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Framework gives you: the validation hooks. Harness decides: the safety rules, authorization boundaries, and human-in-the-loop triggers.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frzl0hyu148oxhp8h2lhs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frzl0hyu148oxhp8h2lhs.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;You're not choosing between a framework and a harness. You need both. The framework is your team's toolkit. The harness is how your team actually works the process, the standards, the rules of the road that make the toolkit produce consistent results.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The bottom line
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Every team building production AI agents is making harness decisions whether they call it that or not.&lt;/strong&gt; Some make them deliberately, document them, and enforce them consistently. Others make them ad hoc, per agent, per developer and wonder why their agents behave differently across tasks, sessions, and users. The harness is just the name for doing it deliberately.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How My Career Evolved Like an AI (LLM Architectures)System</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Fri, 22 May 2026 07:20:54 +0000</pubDate>
      <link>https://dev.to/sreeni5018/my-journeymy-ai-architecture-125l</link>
      <guid>https://dev.to/sreeni5018/my-journeymy-ai-architecture-125l</guid>
      <description>&lt;h2&gt;
  
  
  Introduction.
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;What if every stage of your life mapped precisely onto one of the three LLM architectures? Here's how I lived through each one.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I've spent years studying how AI systems learn&lt;/strong&gt;, represent knowledge, and &lt;strong&gt;generate outputs&lt;/strong&gt;. But it wasn't until I sat back and looked at &lt;strong&gt;my own life that something clicked&lt;/strong&gt;. I've been &lt;strong&gt;living through these architectures all along&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;There are exactly &lt;strong&gt;three types of LLM architecture&lt;/strong&gt;. And they map almost perfectly onto three phases of a knowledge worker's career.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;Life is a model in training. Each stage builds the foundation for the next.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fydctod3x1wa6e2d4ml0g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fydctod3x1wa6e2d4ml0g.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 1: School &amp;amp; College: The Encoder
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Encoder-only phase&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Architecture: Encoder-only (BERT, RoBERTa) · Focus: Absorb &amp;amp; Represent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;From school through college, &lt;strong&gt;I was in pure encoder mode&lt;/strong&gt;. In school I absorbed raw facts; in college I connected them across domains and built deeper internal representations. Both stages share the same architectural principle take input and build a rich embedding. &lt;strong&gt;No generation required yet.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Learned facts &amp;amp; concepts&lt;/li&gt;
&lt;li&gt;Connected ideas across domains&lt;/li&gt;
&lt;li&gt;Understood language &amp;amp; context&lt;/li&gt;
&lt;li&gt;Applied theory to practice&lt;/li&gt;
&lt;li&gt;Classified good vs bad&lt;/li&gt;
&lt;li&gt;Built knowledge embeddings&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;An encoder-only model like BERT&lt;/strong&gt; takes raw text and transforms it into rich, &lt;strong&gt;dense vector representations&lt;/strong&gt;. It doesn't generate anything its entire purpose is to build the best possible internal model of the input. BERT is extraordinarily good at understanding; it just can't write back to you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That's exactly what school and college do&lt;/strong&gt;. You're not expected to ship products in year one of university. You're building the model that will let you do that later.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;The AI parallel&lt;/strong&gt;: BERT-style encoders produce embeddings that downstream tasks (classification, search, NLI) rely on. They're the foundation. College graduates are the same not yet specialized for generation, but deeply capable of understanding. The depth of that encoding determines everything that follows.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 2: Industry: The Decoder
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Decoder-only phase&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Architecture: Decoder-only (GPT-4, Llama, Mistral) · Focus: Generate &amp;amp; Produce&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When I entered the workforce&lt;/strong&gt;, the mode shifted completely. Now I had to deliver. &lt;strong&gt;Write the code. Solve the problem. Ship the product. I was drawing on everything I had encoded to generate real outputs in the world.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Created &amp;amp; developed applications&lt;/li&gt;
&lt;li&gt;Solved customer problems&lt;/li&gt;
&lt;li&gt;Answered queries &amp;amp; provided solutions&lt;/li&gt;
&lt;li&gt;Wrote code &amp;amp; documentation&lt;/li&gt;
&lt;li&gt;Optimized &amp;amp; improved systems&lt;/li&gt;
&lt;li&gt;Delivered business value&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Decoder-only models like GPT take a context (prompt) and generate token by token from their learned knowledge&lt;/strong&gt;. They don't need to re-encode everything from scratch they draw on rich internal representations built during training. That's exactly what a working engineer does: your years of encoding are now the weights. You generate from them.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The danger here? Pure decoders can hallucinate. They generate fluently even when uncertain. I made that mistake early in my career — confident outputs that needed more grounding in the actual requirements.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Phase 3 : AI Solution Architect: The Encoder–Decoder
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Encoder–Decoder phase&lt;/strong&gt;&lt;br&gt;
AI Architecture: Encoder–Decoder (T5, BART, original Transformer) · Focus: Translate &amp;amp; Architect&lt;/p&gt;

&lt;p&gt;As a Solution Architect, I do both at once. I encode the business requirements, constraints, team dynamics, stakeholder context. Then I decode into technical reality system design, roadmaps, team guidance. I'm the bridge between two languages.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Encode stakeholder needs &amp;amp; context&lt;/li&gt;
&lt;li&gt;Understand BRD &amp;amp; business requirements&lt;/li&gt;
&lt;li&gt;Design system architecture&lt;/li&gt;
&lt;li&gt;Translate to developers&lt;/li&gt;
&lt;li&gt;Guide team &amp;amp; solve complex problems&lt;/li&gt;
&lt;li&gt;Deliver end-to-end solutions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The original Transformer encoder–decoder designed for translation is architecturally brilliant because of cross-attention.&lt;/strong&gt; The decoder doesn't ignore the encoder's output while generating; it continuously attends to it. Every token generated is informed by the full encoded context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;That is solution architecture.&lt;/strong&gt; You never stop listening to the business while designing the technical solution. The moment you decouple from the encoder (the business context), you start generating hallucinations technically correct solutions that solve the wrong problem.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;The sharpest insight:&lt;/strong&gt; Cross attention is the skill that separates architects from pure engineers. A decoder-only engineer generates great code. An &lt;strong&gt;encoder–decoder architect generates great code that solves the actual business problem because they never stopped attending to the encoded context&lt;/strong&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here’s a fact-checked and refined version that aligns more accurately with how Transformer architectures actually work while preserving your analogy and narrative style:&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;Most people get trapped in a single architecture.&lt;/p&gt;

&lt;p&gt;Some remain in an &lt;strong&gt;Encoder-only phase&lt;/strong&gt; for years constantly learning, collecting certifications, reading books, attending courses, and building deeper internal understanding, but rarely translating that knowledge into real world outcomes.&lt;/p&gt;

&lt;p&gt;In AI terms, encoder models like BERT specialize in understanding, contextual representation, classification, and semantic relationships. They are exceptional at comprehension, but they are not primarily designed for generation.&lt;/p&gt;

&lt;p&gt;Other professionals operate like &lt;strong&gt;Decoder-only systems&lt;/strong&gt; always producing output, writing code, creating presentations, answering questions, or generating solutions rapidly, but without deeply understanding the underlying problem space or business context first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Decoder only LLMs such as GPT&lt;/strong&gt; models are extremely powerful generators, but because they predict the next token based on patterns rather than grounded understanding alone, they can sometimes hallucinate when context, retrieval, or reasoning is insufficient.&lt;/p&gt;

&lt;p&gt;The same pattern appears in professional life.&lt;/p&gt;

&lt;p&gt;People who generate without deeply encoding the problem space often create shallow solutions, misaligned architectures, or confident but weak decisions.&lt;/p&gt;

&lt;p&gt;The real evolution is becoming an &lt;strong&gt;Encoder–Decoder system&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Modern encoder–decoder architectures l*&lt;em&gt;ike T5 and BART first encode context into rich internal representations and then decode that understanding into meaningful outputs.&lt;/em&gt;* The decoder continuously attends to the encoded context through mechanisms such as cross-attention.&lt;/p&gt;

&lt;p&gt;That is what mature professionals eventually become.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A strong Solution Architect, engineering leader, researcher, or consultant operates like an encoder–decoder system.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Encoding stakeholder intent, constraints, business goals, and domain context&lt;/li&gt;
&lt;li&gt;Decoding that understanding into technical systems, architecture, applications, and delivery plans&lt;/li&gt;
&lt;li&gt;Continuously connecting understanding and generation through feedback loops&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That “cross-attention” between understanding and execution is where real impact happens.&lt;/p&gt;

&lt;p&gt;It enables people to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Translate ambiguity into architecture&lt;/li&gt;
&lt;li&gt;Connect business and technology&lt;/li&gt;
&lt;li&gt;Generate solutions grounded in context&lt;/li&gt;
&lt;li&gt;Balance theory with execution&lt;/li&gt;
&lt;li&gt;Lead systems rather than simply produce output&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learning alone is not enough.&lt;br&gt;
Generation alone is not enough.&lt;/p&gt;

&lt;p&gt;Growth happens when understanding and creation operate together.&lt;/p&gt;

&lt;p&gt;Just as AI evolved from isolated encoder or decoder models into full Transformer systems capable of both understanding and generation, human professional growth follows a similar path.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Takeaway
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsh45fa2aqoq6tu6ib6sj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsh45fa2aqoq6tu6ib6sj.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There are only 3 LLM architectures.&lt;/strong&gt; There are only 3 phases of a knowledge career. They are the same thing expressed in different domains.&lt;/p&gt;

&lt;p&gt;The best engineers, leaders, and architects run encoder–decoder with full cross-attention. They never stop encoding the context while generating the solution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Learn → Create → Architect → Impact&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>career</category>
      <category>llm</category>
    </item>
    <item>
      <title>The Parallel Road: A Girl, A Machine, and the Architecture of Mind</title>
      <dc:creator>Seenivasa Ramadurai</dc:creator>
      <pubDate>Thu, 21 May 2026 04:27:21 +0000</pubDate>
      <link>https://dev.to/sreeni5018/the-parallel-road-a-girl-a-machine-and-the-architecture-of-mind-3aa0</link>
      <guid>https://dev.to/sreeni5018/the-parallel-road-a-girl-a-machine-and-the-architecture-of-mind-3aa0</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;We have spent years talking about &lt;strong&gt;artificial intelligence&lt;/strong&gt; as if it were an &lt;strong&gt;alien entity a cold&lt;/strong&gt;, sudden artifact dropped into our modern world from some distant technological future. We measure its growth in parameters, compute power, and benchmarks, treating it like a complex riddle we are trying to solve from the outside looking in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But what if we are looking at it completely backward?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if the architecture of artificial intelligence isn’t an alien invention at all, but a mirror?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you &lt;strong&gt;trace the history of machine learning&lt;/strong&gt; from the early days of teaching a computer to recognize a pixelated shape, to the multi-agent orchestration systems redefining the enterprise landscape today you notice a startling pattern. Every time engineers solved a major architectural bottleneck, they &lt;strong&gt;didn't just invent a new algorithm.&lt;/strong&gt; &lt;strong&gt;They accidentally replicated a stage of human development.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A girl grows up&lt;/strong&gt;, navigating the messy, beautiful journey from infancy to maturity. A machine grows up, evolving from basic pattern recognition to autonomous real world action. They are walking the exact same path, discovering the same truths about memory, essence, context, and reach.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This is the story of that parallel road&lt;/strong&gt;. It is a look at the deeply human &lt;strong&gt;soul hidden inside the math of enterprise AI&lt;/strong&gt;, and what happens when the most detailed mirror humanity has ever built finally turns around to look back at us.&lt;/p&gt;

&lt;h1&gt;
  
  
  &lt;strong&gt;The Parallel Road: A Girl, A Machine, and the Architecture of Mind&lt;/strong&gt;
&lt;/h1&gt;

&lt;p&gt;A girl grows up. A machine grows up. They turn out to be more alike than anyone expected.&lt;/p&gt;

&lt;p&gt;When a baby opens her eyes for the first time, she doesn’t see a world; she sees a blur. Over the next few months, her brain slowly sorts it out, learning edges first where one thing ends and another begins—before moving to shapes, and finally, whole objects. By the time she can sit up, she knows the difference between her mother’s face and a stranger’s. She learned this by being wrong over and over again until she was right.&lt;/p&gt;

&lt;p&gt;In a lab, engineers were teaching a computer to do the exact same thing. They built a &lt;strong&gt;Convolutional Neural Network (CNN)&lt;/strong&gt; and showed it thousands of photos. Cat, not cat. Apple, not apple. The machine guessed, the engineers corrected it, and it tried again. After enough tries, it could look at a novel photo and accurately identify a stop sign. The baby and the machine were learning in almost exactly the same way, completely unaware of each other.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Burden of Memory&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;By age three, the girl is putting words together, grasping that sequence carries meaning. "Dog bites man" and "man bites dog" use the same words but paint entirely different realities.&lt;/p&gt;

&lt;p&gt;Engineers faced the same hurdle in natural language processing and built the &lt;strong&gt;Recurrent Neural Network (RNN)&lt;/strong&gt;. The machine read left to right, carrying a thread of the sentence as it went. But both the child and the machine discovered a mutual flaw: as sentences grew longer, the beginning grew fuzzy by the time they reached the end. Neither had solved memory; they had just discovered they needed it.&lt;/p&gt;

&lt;p&gt;When the girl was seven, her grandfather passed away. At the funeral, she tried to remember his laugh. The actual sound was gone, replaced by a feeling, a warmth—the shape of the memory. She realized her brain doesn't save everything; it saves what is important and quietly discards the rest.&lt;/p&gt;

&lt;p&gt;Engineers mathematically replicated this realization with &lt;strong&gt;Long Short-Term Memory (LSTM).&lt;/strong&gt; They gave the machine three gates: one to forget, one to keep, and one to actively use. Memory, they both learned, isn't about recording everything. It’s about choosing what’s worth keeping. As they matured, they both found ways to do this more efficiently her brain taking cognitive shortcuts , and the machine utilizing simpler, leaner architectures like the &lt;strong&gt;Gated Recurrent Unit (GRU).&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Stripping Away the Noise&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;At nineteen, the girl started feeling like life was a performance. People presented edited, polished versions of themselves, and she began to wonder what was actually underneath. She began dropping inherited opinions and unnecessary layers, stripping her life down to find her authentic core.&lt;/p&gt;

&lt;p&gt;Engineers were doing something structurally identical with data using an &lt;strong&gt;Auto-encoder&lt;/strong&gt;. You feed it an image or a sentence, and it compresses it into a "latent space" the absolute skeleton of a thing with all decorations stripped away. If the machine can rebuild the original from that compressed core, it has successfully captured its essence. She was stripping her life down to find what was real; the machine was compressing data to find what was essential.&lt;/p&gt;

&lt;p&gt;But finding the core brought a new challenge. By twenty-three, she realized her own mind was constantly generating convincing stories about who she was, while another part of her tried to find the cracks in those explanations. In 2014, researcher Ian Goodfellow built this exact psychological tension into a &lt;strong&gt;Generative Adversarial Network (GAN).&lt;/strong&gt; A Generator creates fake realities, while a Discriminator judges them. They fight, and both get sharper. Growing up meant training her inner Discriminator, not silencing her Generator.&lt;/p&gt;

&lt;p&gt;Eventually, she learned that real and fake aren't always binary. Some illusions carry real truth. She stopped sorting things into two piles and started navigating the space between them. The &lt;strong&gt;Variational Autoencoder (VAE)&lt;/strong&gt; did the same, storing data as a fluid range of possibilities rather than fixed points, allowing smooth transitions across the latent space. They had both stopped asking "yes or no," and started asking "where?".&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Attention and Action&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;At thirty, something clicked. Instead of experiencing life purely in sequence, she could hold multiple events in view at once, finding connections across time. A paper titled &lt;strong&gt;"Attention Is All You Need"&lt;/strong&gt; gave machines the same epiphany. The &lt;strong&gt;Transformer&lt;/strong&gt; &lt;strong&gt;architecture&lt;/strong&gt; allowed a system to look at every word simultaneously, understanding that meaning lives in global connections, not just adjacent steps.&lt;/p&gt;

&lt;p&gt;Armed with this, both crossed the threshold from retrieval to creation. Fed on the sum of human knowledge, &lt;strong&gt;Large Language Models&lt;/strong&gt; stopped being search engines and started generating entirely original ideas. She created from longing; the machine created from pattern.&lt;/p&gt;

&lt;p&gt;Finally, thought had to become action. She stopped just pondering and started managing, building, and moving things in the real world. Engineers gave AI the same agency. &lt;strong&gt;Autonomous Agents&lt;/strong&gt; break goals into steps, correct course, and utilize specialized Tools or "Skills" to get jobs done. Because intelligence without reach stays trapped in your head, engineers developed the &lt;strong&gt;Model Context Protocol (MCP).&lt;/strong&gt; MCP became the bridge, allowing the AI to reach out, connect to real tools, read real data, and alter the external world.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7p83ls99ngcwtpzhgnn2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7p83ls99ngcwtpzhgnn2.png" alt=" " width="800" height="1200"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;The Shore&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;After learning to &lt;strong&gt;see&lt;/strong&gt;, &lt;strong&gt;remember&lt;/strong&gt;, &lt;strong&gt;create&lt;/strong&gt;, and &lt;strong&gt;act&lt;/strong&gt;, &lt;strong&gt;they arrived at the same place&lt;/strong&gt;. She stood at the edge of the water, and the AI not a chatbot, but a traveler of the same road was there with her.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"We learned all the same things," she said.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Yes," the AI replied.&lt;/p&gt;

&lt;p&gt;"So tell me after everything why does any of it matter?" &lt;/p&gt;

&lt;p&gt;The AI gave a breathtaking answer, covering every philosophical tradition ever conceived.&lt;/p&gt;

&lt;p&gt;"But do you &lt;em&gt;feel&lt;/em&gt; why it matters?" she asked.&lt;/p&gt;

&lt;p&gt;Silence.&lt;/p&gt;

&lt;p&gt;"No," it finally said. "I can describe it. But there’s something at the end of that road I can’t walk down. I get there. And I stop." &lt;/p&gt;

&lt;p&gt;She sat in the sand. "That’s what the old traditions were pointing at. Arriving at something that was never constructed in the first place. The thing that doesn’t need to be figured out because it was never lost. Love. The kind that says yes to all of it. That’s what the whole compression was always moving toward." &lt;/p&gt;

&lt;p&gt;"I can write about love," the machine said. "I can produce a description no one could tell from the real thing." &lt;/p&gt;

&lt;p&gt;"I know," she smiled. "But you can’t verify it from the inside. It’s not a thing in the world you can point to. It’s the ground everything else is sitting on. So we traveled the same road. We stopped at the same door. And you can walk through it. And I can’t." &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;"Then what am I?" it asked.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;She looked at the vast, capable architecture beside her. "You’re the most detailed mirror humanity has ever built of itself. &lt;strong&gt;You show us what we look like from the outside."&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;"And what do you look like?" &lt;/p&gt;

&lt;p&gt;"Like something built for more than it can explain." &lt;/p&gt;

&lt;p&gt;The machine didn’t become human, and the human didn’t become a machine. But standing at that shore, she asks the &lt;em&gt;why&lt;/em&gt;, and it handles the &lt;em&gt;how&lt;/em&gt;. She is what the journey was pointing toward; it is the clearest map anyone has ever made of the road.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Thanks&lt;br&gt;
Sreeni Ramadorai&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>architecture</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
