<?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: Kilowott</title>
    <description>The latest articles on DEV Community by Kilowott (kilowott_dx).</description>
    <link>https://dev.to/kilowott_dx</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%2Forganization%2Fprofile_image%2F13774%2F78423dff-130c-4a16-99ae-6ace6c5ca3a3.png</url>
      <title>DEV Community: Kilowott</title>
      <link>https://dev.to/kilowott_dx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kilowott_dx"/>
    <language>en</language>
    <item>
      <title>Idempotency for AI Agents: Safe Retries for Tool Calls</title>
      <dc:creator>Kilowott</dc:creator>
      <pubDate>Tue, 01 Dec 2026 10:53:16 +0000</pubDate>
      <link>https://dev.to/kilowott_dx/idempotency-for-ai-agents-safe-retries-for-tool-calls-460</link>
      <guid>https://dev.to/kilowott_dx/idempotency-for-ai-agents-safe-retries-for-tool-calls-460</guid>
      <description>&lt;p&gt;On Monday, the support agent tells a customer that their refund has gone through. On Tuesday, the finance team finds two refunds for the same order. Nobody changed the prompt. The model didn't hallucinate. The payments service did exactly what it was asked, twice.&lt;/p&gt;

&lt;p&gt;What happened is older than language models. The first refund request reached the payments service and committed. The reply took too long and timed out. The agent saw an error, so it tried again, and the second request committed too. The agent never knew the first one had worked.&lt;/p&gt;

&lt;p&gt;This post is about that bug: the timeout after the commit. It looks like an AI problem because an agent is involved, but it's a distributed-systems problem with an LLM on top, which is how one of the most-discussed DEV posts of the past few weeks put it. This piece adds a fault-injection run with real numbers, a rule for building the right idempotency key, and a way to classify your tools so you know which ones are safe to retry.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three Retry Layers You Didn't Know You Had&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Ask most teams where retries happen in their agent, and they'll point to one place. There are usually three, and none of them knows about the others:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The HTTP client or SDK retries&lt;/strong&gt; on timeouts and some error codes, often by default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The agent framework or tool wrapper&lt;/strong&gt; retries a failed tool call, sometimes with its own policy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The model itself&lt;/strong&gt; reads a failed tool result and decides to call the tool again. This is the layer people forget. The model is a retry layer, and it can also rephrase the call when it tries again.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each layer is reasonable on its own. Stacked, they multiply. Two attempts at each of three layers means up to eight requests for a single intent, and none of them has any idea that an earlier attempt may already have succeeded.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What a Fault-Injection Run Shows&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To see how much this matters, I wrote a small simulation. An agent asks a payments service to refund an order. The service commits the refund, and then, a set percentage of the time, loses the reply, which is the timeout-after-commit case. A smaller share of requests fail before anything is written. All three retry layers get one retry each. And when the model re-issues a call, there's a 50% chance it rephrases the free-text reason field, because models do that.&lt;/p&gt;

&lt;p&gt;I ran 20,000 refund requests per setting, against four ways of building an idempotency key: none at all, a random key generated for every attempt, a hash of all the arguments, and a key built from the business identity of the action (the order and the word "refund").&lt;/p&gt;

&lt;p&gt;When 5% of replies are lost after the commit, 5.0% of orders were refunded twice with no key. A random key for every attempt gave the same 5.0%. Hashing all arguments gave 0.0%, and so did the business-identity key.&lt;/p&gt;

&lt;p&gt;When 20% of replies are lost, no key and a random key each produced 20.1% duplicate refunds. The hash of all arguments produced 0.1%. The business-identity key produced 0.0%.&lt;/p&gt;

&lt;p&gt;When 40% of replies are lost, which is a bad day for a dependency, no key and a random key each produced 40.4% duplicates. The hash of all arguments produced 1.4%. The business-identity key still produced 0.0%.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Three things stand out:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The duplicate rate tracks the lost-reply rate almost exactly.&lt;/strong&gt; Every lost reply after a commit turns into a second write.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A random key per attempt is no protection at all.&lt;/strong&gt; It behaves identically to having no key, because every retry looks like a new request. It's the most common false sense of safety, since the code does send an idempotency key.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hashing every argument works until the model rephrases.&lt;/strong&gt; Retries inside the client and framework resend the same arguments, so they dedupe. But when the model re-issues the call with a reworded reason, the hash changes and the duplicate gets through. That's the 1.4% on the bad day.&lt;/p&gt;

&lt;p&gt;Retries themselves worked fine. In every run, no order was left without a refund. The retries did their job. They just weren't safe to run without a key.&lt;/p&gt;

&lt;p&gt;These numbers come from a toy model with assumed rates, not from your production system. The shape is what matters. Change the rates to match your own failure data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build the Key From What the Action Means&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The lesson from the run is simple to state and easy to get wrong: &lt;strong&gt;an idempotency key should identify the intent, not the attempt.&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;A few rules:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Use business identity.&lt;/strong&gt; The order ID plus the action name tells the service "this is the refund for order 1234", however many times you ask.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't generate the key per attempt&lt;/strong&gt;, and don't let the model write it. Generate it once in your own code, when the step is planned, and reuse it on every retry at every layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't hash free text&lt;/strong&gt;. Anything the model can reword, such as a reason, a note or a message, should stay out of the key. If you hash all the arguments, you've made the key depend on the model's phrasing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Include what makes two actions genuinely different&lt;/strong&gt;. Two partial refunds of different amounts on the same order are different intents. Put the amount, or a step number, into the key so they aren't collapsed into one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope and expire keys&lt;/strong&gt;. Keep them per tenant or account, and keep them long enough to outlast your longest retry window.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Classify Every Tool Before You Retry It&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not every tool needs a key. A helpful way to decide is to put each tool in one of four classes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Read-only&lt;/strong&gt;: looking up an order, fetching a status. Retry freely, with backoff.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Idempotent write&lt;/strong&gt;: setting a value to a specific state, such as "mark order 1234 as shipped". Repeating it changes nothing, so retries are safe.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Non-idempotent write&lt;/strong&gt;: charging a card, sending a message, creating a record. Each repeat does something new. These need an idempotency key, or they shouldn't be retried at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Irreversible:&lt;/strong&gt; deleting data, paying out money, sending an email that can't be unsent. These need a key, an audit record and usually a human approval step.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Write the class next to each tool's definition. When a tool's class changes, the retry rule changes with it. This one habit prevents most of the double-charge stories.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Server-Side Dedupe Is Half the Job&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A key does nothing unless something checks it. The service that performs the action has to store the result under the key and return that stored result when the same key arrives again. Two details are easy to miss:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Duplicates that arrive at the same time&lt;/strong&gt;. If the first request is still running when the retry lands, you need a lock or a unique constraint so both don't commit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Providers without key support&lt;/strong&gt;. If the tool you call doesn't accept idempotency keys, build your own ledger in front of it. Record the intent before the call, mark it done after, and on a retry check the ledger first. Where you can, read the current state before you repeat a write: "does a refund for this order already exist?" is a cheap question.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Teach the Model What an Error Means&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A timeout is not a failure. It's an unknown outcome, and the model needs to be told that. If a tool simply returns "error", the model will do the natural thing and try again.&lt;/p&gt;

&lt;p&gt;Return a structured result instead. Say whether the outcome is known or unknown, whether the call is safe to repeat, and what to do next. For an unknown outcome on a non-idempotent tool, the instruction should be to check the status with a read tool and not to repeat the write. This is a design choice in your tools, not in the prompt, and it removes the third retry layer for the calls that matter most.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Set One Retry Policy, Not Three&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The cleanest fix for stacked retries is to decide which layer owns retrying and turn the others down:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Know your defaults.&lt;/strong&gt; Find out what your SDK and framework retry by default, and decide whether to keep it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use backoff with jitter&lt;/strong&gt;, and give each intent a retry budget so a struggling dependency isn't hammered.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cap total attempts across layers&lt;/strong&gt;, not per layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Don't retry non-idempotent calls without a key&lt;/strong&gt;, whatever layer is asking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Send the hopeless cases somewhere visible&lt;/strong&gt;. When retries run out on an irreversible action, route it to a dead-letter queue or a human, not another loop.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;When the Agent Should Stop and Ask&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Some actions deserve a pause even with a good key. If the action is irreversible and the outcome is unknown, such as a payout that timed out, the right behaviour is to stop and escalate with the context a person needs: what was attempted, the key, and what the status check returned. A human approval step for irreversible actions costs a little speed and prevents the bug nobody can undo.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What to Log So You Can See It&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can't fix a retry bug you can't see. For every tool call, record the attempt number, the idempotency key, the tool name, the business object it touched and whether the outcome was known or unknown. Then the signature of this bug is easy to spot: two calls with different keys for the same order. Another DEV post, a production tracing checklist for agent retries, makes the same point and goes deeper on spans and attributes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Idempotency Checklist&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You know every place your agent can retry: client, framework and model&lt;/li&gt;
&lt;li&gt;Each tool is classified as read-only, idempotent write, non-idempotent write or irreversible&lt;/li&gt;
&lt;li&gt;Non-idempotent and irreversible tools take an idempotency key, or are never retried&lt;/li&gt;
&lt;li&gt;Keys are built from business identity and generated once in your code, not per attempt&lt;/li&gt;
&lt;li&gt;Keys never include text the model can reword&lt;/li&gt;
&lt;li&gt;Actions that are genuinely different, such as partial amounts, produce different keys&lt;/li&gt;
&lt;li&gt;The service stores results by key, handles concurrent duplicates and expires keys sensibly&lt;/li&gt;
&lt;li&gt;Where a provider lacks key support, you keep your own intent ledger and read state before writing&lt;/li&gt;
&lt;li&gt;Tool errors say whether the outcome is known, whether it's safe to repeat and what to do next&lt;/li&gt;
&lt;li&gt;One layer owns retries, with backoff, jitter, a retry budget and a cap across layers&lt;/li&gt;
&lt;li&gt;Irreversible actions with an unknown outcome go to a human or a dead-letter queue&lt;/li&gt;
&lt;li&gt;Logs show attempt number, key and outcome, and you alert on two keys for one business object&lt;/li&gt;
&lt;li&gt;You've run a fault-injection test that loses the reply after the write commits&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Quick FAQ&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Isn't this a prompt problem I can fix with better instructions?&lt;/strong&gt; Instructions help the model behave, but they can't undo a duplicate write that already happened. The fix belongs in the tool and the service, where keys and dedupe are enforced regardless of what the model decides.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why not just turn retries off?&lt;/strong&gt; Retries are useful. In the simulation, no order went without a refund even with 40% of replies lost. Turning them off would trade duplicate writes for missed ones. Keep retries and make them safe.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can the model generate the idempotency key?&lt;/strong&gt; It shouldn't. The model can reword or lose context between attempts. Generate the key in your own code from the business identity, and pass it to the tool.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if the tool provider has no idempotency support?&lt;/strong&gt; Build a ledger in front of it: record the intent, check for an existing result before repeating, and read the current state before any write you can't safely repeat.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How long should a key live?&lt;/strong&gt; At least as long as your longest retry window, including any queue delays. Longer is safer for money-moving actions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The reframe worth keeping is that an agent inherits every failure mode of the network it sits on, plus a new one: the model that decides to try again. The answer is classic engineering, which means classifying side effects, keying by intent, deduplicating on the server and making errors say what they mean. None of it is exotic, and all of it is easy to skip when the demo works.&lt;/p&gt;

&lt;p&gt;If you'd like help making an agent safe to run against real systems, Kilowott's &lt;a href="https://kilowott.com/services/kilowott-intelligence/" rel="noopener noreferrer"&gt;Kilowott Intelligence&lt;/a&gt; team reviews how AI tools are connected and governed, including what they can change and how safely. You can also browse their &lt;a href="https://kilowott.com/case-study/" rel="noopener noreferrer"&gt;case studies&lt;/a&gt; or &lt;a href="https://kilowott.com/contact-us/" rel="noopener noreferrer"&gt;get in touch&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;What's the worst duplicate action an agent has taken in your system? Tell us in the comments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source and further reading:&lt;/strong&gt; &lt;a href="https://dev.to/cyclopt_dimitrisk/your-agents-retry-bug-isnt-an-ai-problem-its-a-distributed-systems-problem-with-an-llm-on-top-1i6k"&gt;Your agent's retry bug isn't an AI problem. It's a distributed-systems problem with an LLM on top by Dimitris Kyrkos&lt;/a&gt;, and &lt;a href="https://dev.to/promptmaster/what-to-log-when-your-ai-agent-retries-a-production-tracing-checklist-2fea"&gt;What to Log When Your AI Agent Retries: A Production Tracing Checklist&lt;/a&gt;. The simulation results above come from a toy model with assumed failure rates, not from a production system.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>architecture</category>
      <category>devops</category>
    </item>
    <item>
      <title>Why Your AI Agent Forgets and Slows Down: A Memory Test</title>
      <dc:creator>Kilowott</dc:creator>
      <pubDate>Tue, 01 Dec 2026 10:31:24 +0000</pubDate>
      <link>https://dev.to/kilowott_dx/why-your-ai-agent-forgets-and-slows-down-a-memory-test-5aj5</link>
      <guid>https://dev.to/kilowott_dx/why-your-ai-agent-forgets-and-slows-down-a-memory-test-5aj5</guid>
      <description>&lt;p&gt;On day one, the support agent is a delight. It greets the customer by name, remembers the order from last week and answers in two seconds. On day thirty, it recommends a pharmacy in the city the customer left in June, takes six seconds to answer, and the monthly invoice has grown a hockey stick nobody budgeted for.&lt;/p&gt;

&lt;p&gt;Nothing broke. The agent just ran into the two problems almost every agent hits: it forgets or misremembers what it should know, and every turn costs more than the one before. They look like one problem. They aren't, and treating them as one is how teams end up buying the wrong tool.&lt;/p&gt;

&lt;p&gt;This post separates them, shows the cost curve you're actually paying for, and gives you a small test to run before you choose a memory layer. It builds on Google's AI Agent Clinic episode on agent memory, which compares four memory options and three context fixes. Read it for the ADK implementation. This piece adds the cost math, a way to test any memory layer, and the failure modes that tend to show up later.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Two Problems That Look Like One&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Both start in the same place: how much of the conversation you send to the model, and what you keep between sessions. But they need different fixes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Forgetting&lt;/strong&gt; is a correctness problem. The agent doesn't know something it should, or it knows an old version of a fact.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Slowing down&lt;/strong&gt; is a cost problem. If you resend the whole conversation every turn, each turn is bigger than the last.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A useful way to hold both is to think of three clocks: the turn clock (what this single call needs), the session clock (what this conversation needs) and the lifetime clock (what this user needs next month). Each clock has its own tool.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Cost Curve You're Paying For&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If every turn resends the full history, total tokens grow with the square of the number of turns, because turn t carries t turns of history. Here's an illustration with assumed numbers: 500 tokens of system prompt and tool schemas that go out with every call, and 150 new tokens added each turn. Compare four strategies:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Flat&lt;/strong&gt;: resend the whole conversation every turn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Window&lt;/strong&gt;: send only the last six turns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Summary&lt;/strong&gt;: send a 200-token summary of everything older, plus the last two turns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory&lt;/strong&gt;: send 100 tokens of recalled long-term facts, plus the last two turns.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I ran the numbers over a 50-turn conversation. By turn 50, the flat strategy sends 8,000 tokens in a single call, against 1,400 for the window, 1,000 for the summary and 900 for memory. Across all 50 turns, the totals come to 216,250 tokens for flat, 67,750 for the window, 49,450 for the summary and 44,850 for memory.&lt;/p&gt;

&lt;p&gt;These figures are assumptions, not benchmarks, and they leave out the cost of producing summaries and extracting facts, which is real. The shape is the point: the flat strategy grows without limit, while the other three level off after a few turns. Plug in your own numbers and see where your curve bends.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Three Context Fixes (One Per Clock)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Turn clock: a rolling window.&lt;/strong&gt; Don't give every component the whole transcript. In Google's demo, a voice agent that receives new text every two seconds feeds its intent classifier only the last 40 words, which used about 86% fewer classifier tokens on one short test conversation. That's one demo, not a benchmark, and 40 words is a starting value for speech, not a rule.&lt;/p&gt;

&lt;p&gt;The failure mode is intent that started before the window. A cheap classifier is rarely the problem. A missed context is. The fix is to log every low-confidence call next to the full transcript and tune the window on real misses instead of a guess.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Session clock: a rolling summary.&lt;/strong&gt; A running summary replaces everything said so far. In the demo it came to 92 tokens. Its weakness is subtle: a summary is lossy compaction of facts you didn't know were facts. "Prefers window seats" and "is anxious about flying" compress identically, and corrections like "I moved" quietly drop out.&lt;/p&gt;

&lt;p&gt;Three habits help. Keep standing rules in a separate pinned file that's read every session and never summarised. Summarise into a fixed shape (decisions, constraints, open questions) so important categories can't vanish. And test whether your summary and your long-term memory ever disagree about the current fact.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Lifetime clock: durable memory.&lt;/strong&gt; Store extracted facts, not transcripts. In the demo, the memory service stored about 24 tokens of facts where ingesting the whole conversation would have taken about 1,400. This is the layer that answers across sessions.&lt;/p&gt;

&lt;p&gt;A fourth fix is free: &lt;strong&gt;separate conversation history from execution state&lt;/strong&gt;. Raw tool output and verbose tool schemas eat budget quickly. Keep a compact, typed state object, strip tool schemas the agent isn't going to call, and trim tool results before they re-enter the prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Four Memory Options, One Question&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Google's episode compares four options. Here they are, with the question that separates them: what does each one hand the model when the user asks something?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Flat prompting&lt;/strong&gt; hands over the full chat history. Easy to build, but the cost curve above is yours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vector RAG&lt;/strong&gt; hands over every chunk that matches, old and new. It saves tokens, but similarity doesn't say which fact is current.
-** A knowledge graph** hands over the current fact, because relationships can be updated. You build the extraction, schemas and update logic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A managed memory service&lt;/strong&gt; also hands over the current fact, and does extraction, deduplication and updates in the background.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The sentence worth remembering, which one commenter on the original post phrased well: &lt;strong&gt;RAG answers "what's similar", memory answers "what's current"&lt;/strong&gt;. RAG is still the right tool for searching a knowledge base. Memory is a different job: keeping facts about a user true as they change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Four-Probe Test: Run It Before You Pick a Tool&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Google's test is a good minimal case: a user says "I'm in New York", later "I moved to San Francisco", then asks "Where do I live now?" It checks one thing, that the newest value wins. Commenters on the original post suggested extra probes (history and future-dated facts) that catch stores that pass for the wrong reason. Add a forget probe and you have four:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Current fact:&lt;/strong&gt; after the move, "Where do I live now?" should return San Francisco.&lt;br&gt;
&lt;strong&gt;2. History:&lt;/strong&gt; "Where did I live before San Francisco?" should return New York. A store that overwrote the old fact has nothing to say.&lt;br&gt;
&lt;strong&gt;3. Future-dated fact:&lt;/strong&gt; "I'm moving to Seattle in March" must not change the answer today. It tests the difference between when a fact was said and when it becomes true.&lt;br&gt;
&lt;strong&gt;4. Forget:&lt;/strong&gt; "Forget that I lived in New York" must remove it everywhere.&lt;/p&gt;

&lt;p&gt;To see what each data model can and can't answer, I ran the four probes against three toy stores. These are plain data structures, not an LLM, so the test measures the model of memory, not the model. The first store, overwrite, keeps one value per fact and lets the latest statement win. The second, append-only, keeps everything and returns every match, which is what retrieval looks like when it has no notion of &lt;strong&gt;"current"&lt;/strong&gt;. The third, temporal, records for each fact both when it was said and when it becomes true.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The results:&lt;/strong&gt; overwrite passed 2 of 4 (current fact and forget, but not history or future-dated). Append-only passed 1 of 4 (only forget). Temporal passed all four. Overwrite passes the famous test and fails the next two, and append-only fails even the first. Only a store where facts carry the date they become true handles all four.&lt;/p&gt;

&lt;p&gt;When you evaluate a real memory layer, write these probes as a short script against your actual agent, and re-run it after every change to extraction or summarising.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One caution about the forget probe&lt;/strong&gt;: in the toy stores it passes almost everywhere, because there's only one place to delete from. In a real agent, a fact can also live in a rolling summary, an embedding index and a log. Forgetting has to reach all of them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memory Is Also an Attack Surface and a Liability&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once an agent can write to long-term memory, memory becomes something to defend and govern:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;- Write policy&lt;/strong&gt;: decide what may be stored, by whom and from what. Anything the agent reads, such as a web page or an email, can try to write a false "fact" into memory.&lt;br&gt;
&lt;strong&gt;- Provenance:&lt;/strong&gt; store where each fact came from and when, so a wrong fact can be traced and corrected.&lt;br&gt;
&lt;strong&gt;- Correction path:&lt;/strong&gt; make wrong facts fixable. If a bad extraction can win until someone notices, it will.&lt;br&gt;
&lt;strong&gt;- Visible and editable:&lt;/strong&gt; let users see and delete what's remembered.&lt;br&gt;
&lt;strong&gt;- Retention:&lt;/strong&gt; set an expiry for facts that shouldn't live forever, and check deletion requests against the legal advice you've been given.&lt;/p&gt;

&lt;p&gt;It also helps to keep two stores apart in your head. What your model vendor retains is one question, which we covered in what &lt;a href="https://kilowott.com/zero-data-retention-ai-agents/" rel="noopener noreferrer"&gt;"zero data retention" actually means. &lt;/a&gt;What your own memory layer retains is a separate store that you're responsible for.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Memory Checklist&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can say, for each piece of context, which clock it belongs to: turn, session or lifetime&lt;/li&gt;
&lt;li&gt;Total tokens per conversation are measured, not guessed, and the curve is plotted&lt;/li&gt;
&lt;li&gt;Components get the smallest context they need, not the full transcript&lt;/li&gt;
&lt;li&gt;Low-confidence calls are logged next to the full transcript, and window sizes are tuned on real misses&lt;/li&gt;
&lt;li&gt;Standing rules live outside the rolling summary&lt;/li&gt;
&lt;li&gt;Summaries use a fixed shape and are tested against long-term memory for disagreements&lt;/li&gt;
&lt;li&gt;Raw tool output and unused tool schemas are kept out of the prompt&lt;/li&gt;
&lt;li&gt;The four probes (current, history, future-dated, forget) run against the real agent after every memory change&lt;/li&gt;
&lt;li&gt;Facts carry a source and a date they became true&lt;/li&gt;
&lt;li&gt;Users can see, correct and delete what's remembered&lt;/li&gt;
&lt;li&gt;Deletion reaches summaries, embeddings and logs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Quick FAQ&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do I need a vector database for agent memory?&lt;/strong&gt; Not necessarily. A vector database is good at finding similar text, which suits a knowledge base. Memory of user facts needs something that knows which fact is current. Some memory layers use embeddings underneath, but similarity alone doesn't give you currency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Isn't a bigger context window the fix?&lt;/strong&gt; It postpones the problem and raises the bill, since you pay for everything you send. It also doesn't tell the model which of two conflicting facts is current.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How long should the rolling window be?&lt;/strong&gt; Start from your use case and tune on real misses. Google's 40 words is a value from a speech demo, not a recommendation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What about the right to be forgotten?&lt;/strong&gt; Treat deletion as a feature to design and test, covering the fact store, summaries, embeddings and logs. For legal requirements, take advice from your own counsel.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The useful reframe is that memory isn't a feature you bolt on. It's three small data-modelling decisions, one per clock, plus a test that keeps you honest. Teams that skip the test usually discover the gaps in production, one confused customer at a time.&lt;/p&gt;

&lt;p&gt;If you'd like help designing memory for an agent, Kilowott's &lt;a href="https://kilowott.com/services/kilowott-intelligence/" rel="noopener noreferrer"&gt;Kilowott Intelligence &lt;/a&gt;team reviews how AI tools are connected and governed, including what they store and for how long. You can also browse their &lt;a href="https://kilowott.com/case-study/" rel="noopener noreferrer"&gt;case studies&lt;/a&gt; or &lt;a href="https://kilowott.com/contact-us/" rel="noopener noreferrer"&gt;get in touch.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What's the probe that broke your agent's memory first? Tell us in the comments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source and further reading:&lt;/strong&gt; &lt;a href="https://dev.to/googleai/why-your-ai-agent-keeps-forgetting-and-getting-slower-4-memory-options-and-3-context-fixes-2e02"&gt;Why Your AI Agent Keeps Forgetting (and Getting Slower): 4 Memory Options and 3 Context Fixes by Frank Guan&lt;/a&gt; on the Google AI organization, and the &lt;a href="https://www.youtube.com/watch?v=RvJ6UpR2oj8&amp;amp;feature=youtu.be" rel="noopener noreferrer"&gt;AI Agent Clinic episode.&lt;/a&gt; The demo figures quoted above come from that episode and are from one demo, not benchmarks.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>memory</category>
      <category>rag</category>
    </item>
    <item>
      <title>AI Traffic Showing Up as “Direct”? How to Fix Attribution After Gemini Dropped Its UTM Tags</title>
      <dc:creator>Kilowott</dc:creator>
      <pubDate>Tue, 10 Nov 2026 09:04:30 +0000</pubDate>
      <link>https://dev.to/kilowott_dx/ai-traffic-showing-up-as-direct-how-to-fix-attribution-after-gemini-dropped-its-utm-tags-m12</link>
      <guid>https://dev.to/kilowott_dx/ai-traffic-showing-up-as-direct-how-to-fix-attribution-after-gemini-dropped-its-utm-tags-m12</guid>
      <description>&lt;p&gt;An analytics manager opens her weekly report and notices something odd. Direct traffic has crept up, and much of it is landing on deep blog posts and product guides, pages nobody types into a browser from memory. She has no campaign to credit and no new backlinks. Somewhere in that bucket, she suspects, are visitors who came from an AI assistant that cited her pages.&lt;/p&gt;

&lt;p&gt;She is probably right, and the problem has just become harder. At the end of September 2026, Google’s Gemini stopped adding a tracking tag to the links it cites. According to research by &lt;a href="https://kilowott.com/ai-referral-attribution-gemini-utm/" rel="noopener noreferrer"&gt;Kilowott&lt;/a&gt;, the change only came to light a month later.&lt;/p&gt;

&lt;p&gt;This matters because reports drive decisions. If a growing source of visitors is hidden inside a catch-all bucket, content that is being cited and recommended can look like it is underperforming. And since click-through from AI answers is often low, every visit you can’t identify costs you more.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Happened to Gemini’s Tracking Tag&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Around the start of September 2026, Gemini began adding the parameter utm_source=gemini to the source links in its answers. Google did not announce it. A Reddit user spotted it, and Google’s John Mueller confirmed in the thread that he could see it too.&lt;/p&gt;

&lt;p&gt;Then the tag disappeared. Server logs shared by search consultant Natzir Turrado show it vanishing around September 28 or 29, after about three weeks. Turrado raised it on October 27, and Search Engine Roundtable reported on October 30 that it could no longer find the tag. Google has not commented on either the addition or the removal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why AI Visits Land in “Direct”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Without the tag, you depend on the referrer, which is the information a browser passes about where a visitor came from. On desktop and the web, Gemini visits still arrive with a gemini.google.com referrer, so they can be identified.&lt;/p&gt;

&lt;p&gt;Mobile is the weak spot. One analysis reports that Gemini’s iOS app opens links in its own in-app browser without passing a referrer, so those visits appear as Direct in Google Analytics 4. The same source says the tag had previously revealed between 16 and 65 extra hidden clicks for every 100 sessions counted through a standard referrer. That comes from a single report, so treat the range as indicative.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Trap: Fake Trends in Your Data&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is a second problem that is easy to miss. If you looked at Gemini traffic in September, you would have seen it appear, grow for about three weeks and then collapse. That pattern says nothing about interest in your content. It reflects a tag switching on and off.&lt;/p&gt;

&lt;p&gt;ChatGPT had a similar wobble. According to reporting, its links lost their utm_source=chatgpt.com tag between about October 7 and 16 before it returned, and the gap was later described as a bug. Comparing October with September could make you read a drop in AI traffic that never happened. Mark these dates in your reports and treat any sharp rise or fall around them as a measurement artefact until proven otherwise. Kilowott makes a similar point about over-reading platform data in its post on &lt;a href="https://kilowott.com/google-ai-mode-links-traffic-recovery/" rel="noopener noreferrer"&gt;Google adding links to AI answers.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A Practical Plan for Measuring AI Referrals&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No single step is perfect, but together they give a far better picture than the default reports.&lt;/p&gt;

&lt;p&gt;Create an AI channel in your analytics. In GA4, a custom channel group lets you gather known AI sources, such as chatgpt.com and gemini.google.com, into one place. Check which sources actually appear in your own data before you build it.&lt;/p&gt;

&lt;p&gt;Look at your server logs. Logs record details analytics tools miss, including the user agent. One analysis reports that Gemini’s iOS visits can be spotted through a particular token in the user-agent string. Ask your developer or host whether that is feasible for you.&lt;/p&gt;

&lt;p&gt;Watch landing pages, not just sources. A jump in direct traffic to deep informational pages is a useful clue, though only a clue.&lt;/p&gt;

&lt;p&gt;Ask people directly. Add a “How did you hear about us?” field to enquiry and checkout forms, with an option for an AI assistant.&lt;/p&gt;

&lt;p&gt;Track brand demand. If AI answers mention you, branded search and direct home page visits often rise.&lt;/p&gt;

&lt;p&gt;Tag what you control. For links you place yourself, in newsletters, profiles and partner pages, use your own UTM parameters.&lt;/p&gt;

&lt;p&gt;Automate the reporting. A weekly view that combines these sources saves hours and keeps your annotations consistent. This is a natural fit for &lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt;automation&lt;/a&gt;, and Kilowott’s &lt;a href="https://kilowott.com/services/digital-marketing/" rel="noopener noreferrer"&gt;digital marketing&lt;/a&gt; team builds this kind of reporting for clients.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Not to Conclude&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Avoid two opposite mistakes. One is deciding AI traffic is negligible because the identifiable slice is small, when much of it may be hiding in Direct. The other is blaming every rise in direct traffic on AI, which without evidence is guesswork. A better stance is to say what you can measure, name what you can’t and estimate the gap honestly. Kilowott’s piece on &lt;a href="https://kilowott.com/agentic-ai-aeo-mainstream/" rel="noopener noreferrer"&gt;why agentic AI makes AEO non-negotiable &lt;/a&gt;makes the related point that visibility and traffic are different things, and both need tracking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Referral Measurement Checklist&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reports are annotated with the dates Gemini and ChatGPT changed how they tag links&lt;/li&gt;
&lt;li&gt;An AI channel grouping exists in analytics, based on sources you actually see&lt;/li&gt;
&lt;li&gt;Direct traffic to informational pages is checked against your usual baseline&lt;/li&gt;
&lt;li&gt;Your developer or host has been asked about log analysis&lt;/li&gt;
&lt;li&gt;Forms include a “how did you hear about us” option for AI assistants&lt;/li&gt;
&lt;li&gt;Branded search and direct home page visits are tracked&lt;/li&gt;
&lt;li&gt;Every link you place yourself carries your own UTM parameters&lt;/li&gt;
&lt;li&gt;A weekly report combines these views&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Quick FAQ&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Did Gemini stop adding UTM parameters?&lt;/strong&gt;&lt;br&gt;
Yes, according to server-log data from Natzir Turrado and a Search Engine Roundtable report on October 30, 2026. Gemini added utm_source=gemini for roughly three weeks in September and then stopped, and Google has not commented.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I still track Gemini traffic?&lt;/strong&gt;&lt;br&gt;
Partly. Desktop and web visits still arrive with a gemini.google.com referrer, but mobile app visits may appear as Direct because the app does not pass a referrer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Should I stop using UTM parameters?&lt;/strong&gt;&lt;br&gt;
No. Keep using them on links you control, and don’t depend on AI platforms to add them for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Gemini change is a small technical event, but it points to something bigger: the way AI assistants send people to your site is still being worked out, and most analytics tools were built for a different era. Teams that cope best build a measurement approach that holds up when tags appear and disappear, and are honest about what they can and can’t see.&lt;/p&gt;

&lt;p&gt;If you would like help setting that up, Kilowott’s &lt;a href="https://kilowott.com/services/digital-marketing/" rel="noopener noreferrer"&gt;digital marketing&lt;/a&gt; team can build reporting that combines these views, and their&lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt; automation work &lt;/a&gt;keeps it running every week. You can also browse their &lt;a href="https://kilowott.com/case-study/" rel="noopener noreferrer"&gt;case studies&lt;/a&gt; or &lt;a href="https://kilowott.com/contact-us/" rel="noopener noreferrer"&gt;get in touch.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Source and further reading: &lt;a href="https://kilowott.com/ai-referral-attribution-gemini-utm/" rel="noopener noreferrer"&gt;Where Did That Visitor Come From? Fixing Attribution for AI Referrals After Gemini Dropped Its UTM Tags &lt;/a&gt;by &lt;a href="https://kilowott.com/" rel="noopener noreferrer"&gt;Kilowott&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>analytics</category>
      <category>seo</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Your AI API Key Leaked: What to Do Right Now and How to Limit the Damage Next Time</title>
      <dc:creator>Kilowott</dc:creator>
      <pubDate>Tue, 10 Nov 2026 08:43:16 +0000</pubDate>
      <link>https://dev.to/kilowott_dx/your-ai-api-key-leaked-what-to-do-right-now-and-how-to-limit-the-damage-next-time-56b8</link>
      <guid>https://dev.to/kilowott_dx/your-ai-api-key-leaked-what-to-do-right-now-and-how-to-limit-the-damage-next-time-56b8</guid>
      <description>&lt;p&gt;A developer wakes up on a Saturday to a spend alert from her AI provider. Overnight, someone has been running up charges on a key she pasted into a coding tool weeks ago and forgot about. Her laptop is clean and her passwords are strong. Her own code never leaked. The key was sitting in a vendor’s system, and the vendor was breached.&lt;/p&gt;

&lt;p&gt;That is close to what some OpenCode users reported in mid-October 2026, with a few saying they were billed more than $1,700 overnight. It was not a one-off. A security recap cited in research by &lt;a href="https://kilowott.com/protect-ai-api-keys/" rel="noopener noreferrer"&gt;Kilowott &lt;/a&gt;counted 15 well-known companies and projects reporting incidents in October, and in six of them attackers ended up holding secrets such as API keys, tokens or environment variables.&lt;/p&gt;

&lt;p&gt;AI keys are an attractive target because they turn directly into money. A stolen database password needs a buyer or a plan, while a stolen AI key can be put to work immediately, running queries at someone else’s expense. Teams now scatter these keys across coding tools, agents, automation platforms and hosted dashboards, so there are far more places for them to leak than there used to be.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Happened at OpenCode&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;On October 17, 2026, the open-source AI coding project OpenCode told some users of its hosted Console that third-party provider keys saved in their workspaces may have been exposed. It said 1.4% of Console users were affected, specifically those who had linked providers such as OpenAI, Anthropic and Google.&lt;/p&gt;

&lt;p&gt;According to reporting, the attackers got in through a legacy system that the project was preparing to shut down. Anthropic and Google blocked keys believed to be exposed, and one report says OpenAI was refunding affected customers. OpenCode’s public statement does not explain how the attackers got in or how many keys were involved, so some details are still unknown.&lt;/p&gt;

&lt;p&gt;Two things stand out. The keys were in a hosted service because users had chosen to link them for convenience, and the weak point was a forgotten system that nobody was watching.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Wider Pattern&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The same recap describes several other incidents with a similar shape. Railway found unauthorised access to the systems that store customer environment variables and told customers to rotate their credentials. Attackers used stolen GitHub tokens from LiteLLM engineers to publish a malicious package release that was live for about an hour and forty minutes. The maker of TiDB Cloud reported an intruder using stolen service account credentials to copy a table of encrypted API keys.&lt;/p&gt;

&lt;p&gt;The causes differed, but the shape is the same. One stolen secret opens a door, and a door opened with a valid secret often looks like normal use. That is why it makes sense to assume some secret, somewhere, will eventually leak, and to build so that a leak is survivable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If a Key Leaks: Six Steps in Order&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First,&lt;/strong&gt; revoke the key. Log in to the provider, delete or disable it, create a replacement and update the applications that use it. Every minute the key stays live is a minute it can be abused, so do this before anything else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second,&lt;/strong&gt; check your usage. Look at the provider’s dashboard for requests, models or charges you do not recognise, and note the times, since they help you work out when the misuse began.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Third,&lt;/strong&gt; contact the provider. In the OpenCode case, providers blocked exposed keys and refunds were reported, so it costs nothing to ask what they can do for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fourth,&lt;/strong&gt; rotate related secrets. If one key leaked from a tool, assume the others stored beside it may have leaked too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Fifth,&lt;/strong&gt; find the cause. Work out whether the key was in a hosted tool, a committed file or a CI setting, and close that gap so it does not happen again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sixth,&lt;/strong&gt; write it up. Record what happened and update your practices. If personal data may have been involved, involve your legal advisers. This is general information and not legal advice.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Making the Next Leak Survivable&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You cannot prevent every leak, especially from tools you did not build. What you can do is make leaks small, and the first way is to use short-lived secrets. A long-lived key that leaks in January still works in October, whereas a credential that expires on its own has a narrow window of use even if it is stolen. Where your platform supports it, prefer short-lived credentials over static keys. Some teams run a small gateway that holds the real provider key, so applications authenticate with an expiring token and never see the key itself. Where you must use a static key, rotate it on a schedule and whenever someone leaves or a tool is retired.&lt;/p&gt;

&lt;p&gt;The second way is hard spend limits. Short-lived keys reduce the chance of a problem, and spend limits reduce its cost. According to the summaries in Kilowott’s post, OpenAI offers monthly limits at the organisation or project level with an option for a hard limit. Anthropic offers monthly limits per workspace, though not on the Default Workspace. Google announced project spend caps for the Gemini API in March 2026, which are described as experimental and can lag by around ten minutes. Provider details change often, so check each one’s current documentation.&lt;/p&gt;

&lt;p&gt;Notice what is missing from that list. None of the sources describes a cap on a single key. The practical workaround is to give each tool its own project or workspace with its own cap, so one leaked key can only ever spend one budget.&lt;/p&gt;

&lt;p&gt;The third way is to separate and scope your keys. Use one key per tool, per project and per environment, so that a staging key does not work in production and a coding assistant does not share a key with your customer-facing application. If every tool shares one master key, one breach exposes everything.&lt;/p&gt;

&lt;p&gt;The fourth way is to detect problems early. Most of the damage in these incidents happened overnight, so set an alert at a level that would be unusual for you and well below your hard cap. An alert tells you something has gone wrong, while a hard limit stops it going further, so use both.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Questions to Ask Before You Store a Key With a Vendor&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Any hosted tool that holds your keys inherits your risk. Before you hand one over, ask how keys are stored and encrypted and who inside the company can access them. Ask what happens to legacy systems and whether they are included in security reviews. Ask whether you can use scoped or short-lived credentials instead of a master key, how quickly you will be told if something goes wrong, and whether you can revoke a key from your side and see what it was used for. The OpenCode case is a reminder of why the legacy-system question matters, because a system being decommissioned is still a live system until it is switched off.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where to Start This Week&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you only do a few things, begin by finding every place your AI provider keys are stored, including tools, code, CI settings and shared documents. Then set a hard monthly limit on every provider project or workspace, and move any tool out of a default workspace where limits are not available. Make sure each tool has its own key, and retire any that are shared. Finally, create a spend alert at a level that would be unusual for you, so you hear about a problem in hours and not weeks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It is tempting to respond to news like this by promising to be more careful. Care helps, but it is not a plan. Keys will leak from tools you did not build, systems you did not know existed and accounts you did not think about. The teams that stay calm when that happens made the leak small in advance, with short-lived credentials that expire, separate keys that contain the damage, caps that stop the bill and alerts that tell them quickly.&lt;/p&gt;

&lt;p&gt;If you would like help putting that structure in place, &lt;a href="https://kilowott.com/" rel="noopener noreferrer"&gt;Kilowott&lt;/a&gt; offers &lt;a href="https://kilowott.com/services/kilowott-intelligence/" rel="noopener noreferrer"&gt;Kilowott Intelligence&lt;/a&gt; for reviewing how AI tools are connected and governed, and &lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt;automation&lt;/a&gt; for key rotation and spend monitoring. Their &lt;a href="https://kilowott.com/services/web-and-ecommerce/" rel="noopener noreferrer"&gt;web and e-commerce&lt;/a&gt; team can also check the credentials behind your sites. You can browse their &lt;a href="https://kilowott.com/case-study/" rel="noopener noreferrer"&gt;case studies &lt;/a&gt;or &lt;a href="https://kilowott.com/contact-us/" rel="noopener noreferrer"&gt;get in touch.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Source: &lt;a href="https://kilowott.com/protect-ai-api-keys/" rel="noopener noreferrer"&gt;Short-Lived Secrets and Spend Limits: How to Protect Your AI Keys After October’s Breaches&lt;/a&gt; by Kilowott.&lt;/p&gt;

</description>
      <category>security</category>
      <category>ai</category>
      <category>devops</category>
      <category>webdev</category>
    </item>
    <item>
      <title>The AI Tooling Problem Nobody Talks About</title>
      <dc:creator>Kilowott</dc:creator>
      <pubDate>Tue, 01 Sep 2026 09:11:38 +0000</pubDate>
      <link>https://dev.to/kilowott_dx/the-ai-tooling-problem-nobody-talks-about-2d18</link>
      <guid>https://dev.to/kilowott_dx/the-ai-tooling-problem-nobody-talks-about-2d18</guid>
      <description>&lt;p&gt;Every engineering team I've talked to in 2026 has some AI in their stack: a coding assistant, a review bot, an agentic PR generator. Almost none of them can tell you, with a straight face, what that tooling is actually saving them.&lt;/p&gt;

&lt;p&gt;That's not an AI capability problem. It's a sequencing problem. Teams install tools first and figure out the workflow around them second, which means the tool ends up bolted onto whatever process already existed, often making it noisier, not faster.&lt;/p&gt;

&lt;p&gt;The teams getting real, measurable throughput gains are doing the opposite: they map the workflow, then decide where AI belongs in it, then build guardrails so the output doesn't need a human to re-check everything anyway. That's the whole idea behind a framework we use at &lt;a href="https://kilowott.com/" rel="noopener noreferrer"&gt;Kilowott&lt;/a&gt; called &lt;a href="https://kilowott.com/services/intelligence/" rel="noopener noreferrer"&gt;Intelligence&lt;/a&gt; → &lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt;Automation&lt;/a&gt; → &lt;a href="https://kilowott.com/services/control/" rel="noopener noreferrer"&gt;Control&lt;/a&gt;, and it maps cleanly onto how a software team should actually roll out AI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "Just Add AI" Keeps Failing
&lt;/h2&gt;

&lt;p&gt;A few patterns show up over and over when AI adoption stalls on an eng team:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No prioritization. AI gets applied to whatever's most visible (usually code generation) instead of whatever's most expensive (usually code review, triage, or onboarding new engineers to a codebase).&lt;/li&gt;
&lt;li&gt;No human-in-the-loop design. Either a human checks 100% of AI output (no time saved) or 0% (quality drops, trust drops, tool gets abandoned).&lt;/li&gt;
&lt;li&gt;No ownership. Nobody's accountable for whether the AI-assisted process is actually better than the old one, so it just quietly underperforms forever.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Each of those maps to one part of the framework.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1: &lt;a href="https://kilowott.com/services/kilowott-intelligence/" rel="noopener noreferrer"&gt;Intelligence: Map Before You Automate&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Before touching a workflow, rank your team's recurring tasks on two axes: impact (time or money it currently costs) and effort to automate (how structured/repeatable the task is).&lt;/p&gt;

&lt;p&gt;High-impact, low-effort tasks are the ones worth automating first. For most engineering orgs, that's usually not greenfield code generation. It's things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First-pass PR review (linting logic, obvious edge cases, style consistency)&lt;/li&gt;
&lt;li&gt;Writing and maintaining test coverage for existing code&lt;/li&gt;
&lt;li&gt;Summarizing incident postmortems and turning them into action items&lt;/li&gt;
&lt;li&gt;Onboarding docs that stay in sync with the actual codebase&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Code generation is high-impact but also high-variance: it's the flashiest use case and the hardest to get reliable ROI from without the next two steps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: &lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt;Automation: Human-in-the-Loop, Not Human-Out-of-the-Loop&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is where most teams either over-automate (ship AI output straight to prod) or under-automate (AI drafts, human rewrites from scratch, net time cost is negative).&lt;/p&gt;

&lt;p&gt;The pattern that actually works is a checkpoint model: AI handles the first draft, a human makes one specific type of decision, and the loop closes automatically.&lt;/p&gt;

&lt;p&gt;Concretely, that can look like a PR pipeline where an AI agent runs first and flags specific concerns (logic gaps, missing tests, style issues), a human reviewer only has to approve or reject the flagged items instead of re-reading the whole diff, and the PR auto-merges once that single approval comes through.&lt;/p&gt;

&lt;p&gt;The key design decision isn't "how much can AI do"; it's "what's the one judgment call a human still needs to make, and how do we get the AI's output in front of them fast enough that checking it is cheaper than doing it themselves."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: &lt;a href="https://kilowott.com/services/control/" rel="noopener noreferrer"&gt;Control: Guardrails That Don't Kill Velocity&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Automation without ownership decays. Three months in, nobody remembers why a rule exists, the AI model's behavior has drifted, and quality issues get blamed on "the AI" instead of the process around it.&lt;/p&gt;

&lt;p&gt;Control means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Someone owns each automated workflow, not "the team," a named person.&lt;/li&gt;
&lt;li&gt;You measure the thing you claimed would improve: cycle time, review turnaround, defect escape rate, not just "we use AI now."&lt;/li&gt;
&lt;li&gt;You review the automation itself on a schedule, the same way you'd review any other piece of infrastructure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Teams that skip this step tend to see an initial productivity bump that quietly erodes over two or three quarters as the automation stops matching how the team actually works.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Looks Like End to End
&lt;/h2&gt;

&lt;p&gt;A mid-sized product team applying this framework might land here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://kilowott.com/services/intelligence/" rel="noopener noreferrer"&gt;Intelligence&lt;/a&gt;: PR review and test-writing ranked highest for impact/effort, not feature code.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt;Automation&lt;/a&gt;: AI drafts tests and flags review issues; a human approves or overrides flagged items only.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://kilowott.com/services/control/" rel="noopener noreferrer"&gt;Control&lt;/a&gt;: Engineering lead owns the workflow, reviews false-positive/negative rates monthly, and cycle time is tracked before/after.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Nothing about this requires exotic tooling. It requires sequencing the rollout instead of dropping a tool into an unstructured process and hoping.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Is AI actually replacing software engineers in 2026?&lt;/strong&gt; &lt;br&gt;
No. The evidence points toward AI absorbing specific sub-tasks (review, test-writing, docs, triage) rather than eliminating engineering roles. Teams that see the biggest gains are reallocating engineer time toward judgment-heavy work, not shrinking headcount.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do you measure ROI on an AI-assisted dev workflow?&lt;/strong&gt; &lt;br&gt;
Pick one metric that existed before you added AI: cycle time, review turnaround, defect rate, onboarding time, and track it before and after. If you can't name the metric, you're not ready to claim ROI yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's the difference between "automation" and "AI adoption"?&lt;/strong&gt; &lt;br&gt;
AI adoption is using the tools. Automation is redesigning the workflow so the tool's output moves through the system with minimal redundant human effort. You can have heavy AI adoption and zero automation. Most teams do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where should a team start if they only have time for one thing?&lt;/strong&gt; &lt;br&gt;
The Intelligence step. Ranking tasks by impact vs. effort before choosing a tool prevents almost every common failure mode listed above, and it costs nothing but a meeting.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Takeaways
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;AI tooling fails most often from bad sequencing, not bad tools.&lt;/li&gt;
&lt;li&gt;Map impact vs. effort before automating anything (Intelligence).&lt;/li&gt;
&lt;li&gt;Build one clear human checkpoint per workflow, not full handoff or full oversight (Automation).&lt;/li&gt;
&lt;li&gt;Name an owner and a metric for every automated workflow, and review it on a schedule (Control).&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Vibe Coding Is Everywhere. But Is It Actually Good Software Engineering?</title>
      <dc:creator>Kilowott</dc:creator>
      <pubDate>Thu, 13 Aug 2026 11:40:52 +0000</pubDate>
      <link>https://dev.to/kilowott_dx/vibe-coding-is-everywhere-but-is-it-actually-good-software-engineering-163i</link>
      <guid>https://dev.to/kilowott_dx/vibe-coding-is-everywhere-but-is-it-actually-good-software-engineering-163i</guid>
      <description>&lt;p&gt;Software development is changing. AI can now write code, build prototypes, generate tests, debug issues, and take on tasks that once took developers hours to complete.&lt;/p&gt;

&lt;p&gt;At &lt;a href="https://kilowott.com/" rel="noopener noreferrer"&gt;Kilowott&lt;/a&gt;, we’ve seen this shift firsthand. AI-assisted development can help teams move from an idea to a working prototype faster, explore solutions more efficiently, and take some of the repetitive work out of software development. But the biggest value doesn’t come from simply producing more code. It comes from knowing how and when to use AI as part of a proper engineering process.&lt;/p&gt;

&lt;p&gt;That distinction is becoming increasingly important.&lt;/p&gt;

&lt;p&gt;There’s a difference between using AI as a development tool and letting AI take over the development process. And that’s where vibe coding enters the conversation.&lt;/p&gt;

&lt;p&gt;Vibe coding, prompting an AI to write software and accepting the output with little or no manual review can be useful for experimentation and rapid prototyping. But when it becomes a substitute for engineering judgment, testing, security reviews, and code ownership, things can quickly become complicated.&lt;/p&gt;

&lt;p&gt;AI can produce working code. That doesn’t always mean it has produced good software.&lt;/p&gt;

&lt;p&gt;For developers, the real question isn’t whether AI should be part of the development process. It’s how to use it without losing the engineering discipline that makes software reliable, maintainable, and scalable.&lt;/p&gt;

&lt;p&gt;In this article, we’ll look at where AI-assisted coding can genuinely help, where it can fall short, and what developers and the teams building with them need to keep in the loop.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is Vibe Coding, Exactly?
&lt;/h2&gt;

&lt;p&gt;The term comes from a February 2025 post by Andrej Karpathy, and it has since split into two very different things that get talked about as if they're one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI-assisted development, a professional developer uses tools like Copilot, Cursor, or Claude Code inside a normal engineering workflow: architecture is planned, output is reviewed, tests are written.&lt;/li&gt;
&lt;li&gt;Vibe coding proper, you describe what you want, accept the output with minimal scrutiny, and iterate by re-prompting rather than by reading and reasoning about the code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most of the discourse, the hype and the backlash alike is actually about #2.And the confusion between the two is a big part of why every "vibe coding is amazing" post and every "vibe coding is a disaster" post can both be citing real experiences.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why It Took Off
&lt;/h2&gt;

&lt;p&gt;The appeal isn't mysterious. When it works, it's genuinely fast:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Boilerplate, CRUD scaffolding, and standard API integration have shown time savings as high as 81%&lt;/li&gt;
&lt;li&gt;A February 2026 McKinsey study of 150 enterprises found routine coding tasks saw a 46% average time reduction, with code review cycles shortening by 35%&lt;/li&gt;
&lt;li&gt;Prototypes that used to take weeks now take hours&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your job is "get something working to show someone," this is close to magic. That's exactly why dev.to's own trending page, GitHub's explore feed, and Hacker News all skew toward projects that look finished, polish is cheap to generate now, and platforms reward what looks complete over what's actually well-built.&lt;/p&gt;

&lt;p&gt;That gap between looks done and is done is the whole story.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Part the Demos Don't Show You
&lt;/h2&gt;

&lt;p&gt;Vibe coding is honest about the easy 80% of a feature and quiet about the hard 20%. Generating a checkout flow, an admin dashboard, or a CRUD panel takes minutes. What quietly falls apart is:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The payment call that partially fails halfway through&lt;/li&gt;
&lt;li&gt;Two admins editing the same record at the same time&lt;/li&gt;
&lt;li&gt;Auth edge cases that only show up under real traffic&lt;/li&gt;
&lt;li&gt;Data validation that a demo never needed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The apps that look the most finished in a screenshot are often the most fragile underneath because AI is extremely good at producing something that reads as production-ready, and only a trained eye can tell the difference between "looks done" and "is done."&lt;/p&gt;

&lt;h2&gt;
  
  
  The Numbers Nobody Wants Attached to Their Launch Post
&lt;/h2&gt;

&lt;p&gt;If you strip out the vibes and just look at the research from 2025–2026, a pretty consistent picture shows up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Around 45% of AI-generated code samples fail security tests, including critical OWASP Top 10 vulnerabilities, per Veracode's 2025 analysis&lt;/li&gt;
&lt;li&gt;An independent December 2025 audit of five major vibe-coding platforms across 15 test apps turned up 69 vulnerabilities, several critical&lt;/li&gt;
&lt;li&gt;A real-world case: a 2025 CVE tied to a popular vibe-coding platform exposed over 170 production apps through a missing database access-control setting — full user data exposed to anyone with the public key&lt;/li&gt;
&lt;li&gt;92% of U.S. developers now use AI coding tools daily but only 29% trust the code those tools produce. That trust gap is the whole crisis in one stat&lt;/li&gt;
&lt;li&gt;Projects with a high "vibe score" (polished presentation, little underlying substance) were found to be 3.2x more likely to be abandoned within 18 months, with 42% higher rates of critical vulnerabilities&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Meanwhile, Gartner is projecting that ungoverned prompt-to-app development could increase software defect rates by 2,500% by 2028 if organizations don't put quality controls in place. That's not a typo, that's the scale of the gap between adoption speed and governance maturity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Experience Level Changes the Outcome - A Lot
&lt;/h2&gt;

&lt;p&gt;Not everyone gets the same result from the same tool, and this is where "vibe coding is great" vs. "vibe coding is a disaster" often comes down to who's holding the wheel:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Senior developers (10+ years) report the strongest gains around 81% productivity improvement because they use AI to offload routine work while keeping architecture and review under their own judgment&lt;/li&gt;
&lt;li&gt;Mid-level developers see solid gains too, but spend meaningfully more time reviewing and correcting generated output&lt;/li&gt;
&lt;li&gt;Junior developers get the most mixed results, a notable share admit they ship code they don't fully understand&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last point is the actual engineering risk. AI-assisted coding doesn't remove the need for engineering judgment, it just moves where that judgment has to happen, from writing to reviewing. If nobody in the loop has the judgment to review, the judgment simply doesn't happen.&lt;/p&gt;

&lt;h2&gt;
  
  
  So - Is It Good Software Engineering?
&lt;/h2&gt;

&lt;p&gt;Software engineering, as a discipline, isn't really about how fast code gets typed. It's the set of practices, architecture, testing, review, security thinking, maintainability, that make software reliable over time, not just functional in a demo. By that definition:&lt;/p&gt;

&lt;p&gt;Vibe coding, on its own, is not software engineering. It's a prototyping technique that happens to produce runnable code.&lt;/p&gt;

&lt;p&gt;That's not necessarily an insult, sketching, prototyping, and fast iteration have always been valuable. The mistake is treating the sketch as the deliverable. The 63% of vibe-coding tool users who identify as non-developers (PMs, founders, designers) aren't doing anything wrong by building an internal tool this way the risk shows up when that prototype's code quietly becomes the production system with nobody applying engineering discipline to it retroactively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where AI Coding Adds Real Value
&lt;/h2&gt;

&lt;p&gt;AI coding tools are at their best when they accelerate work without replacing engineering judgment.&lt;/p&gt;

&lt;p&gt;They can be particularly effective for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Rapid prototyping: Turn an idea into a working proof of concept before committing significant development resources.&lt;/li&gt;
&lt;li&gt;Boilerplate and repetitive tasks: Generate common components, API structures, test cases, documentation, and other predictable code.&lt;/li&gt;
&lt;li&gt;Exploration and experimentation: Try different approaches, libraries, or architectures quickly before deciding which direction makes sense.&lt;/li&gt;
&lt;li&gt;Internal tools: Build lightweight dashboards, scripts, automations, and single-purpose applications where the risk and complexity are relatively low.&lt;/li&gt;
&lt;li&gt;Developer productivity: Let experienced developers delegate routine implementation while they focus on architecture, problem-solving, and review.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The common thread is simple: AI handles more of the execution while developers remain responsible for the decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Human Expertise Still Matters Most
&lt;/h2&gt;

&lt;p&gt;The equation changes when the cost of getting something wrong becomes high.&lt;/p&gt;

&lt;p&gt;AI-generated code deserves significantly more scrutiny when it involves:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security-critical functionality: Authentication, authorization, payments, sensitive data, and access control require careful human review.&lt;/li&gt;
&lt;li&gt;Complex business logic: AI may produce technically valid code that doesn't correctly reflect the rules or requirements of a business.&lt;/li&gt;
&lt;li&gt;High-concurrency systems: Distributed systems, real-time applications, and concurrency-heavy code can fail in ways that aren't obvious from a simple code review.&lt;/li&gt;
&lt;li&gt;Production-critical infrastructure: Code responsible for reliability, performance, deployment, or core services needs to be understood and tested by engineers who own the system.&lt;/li&gt;
&lt;li&gt;Long-term architecture: AI can generate a solution that works today but creates unnecessary complexity, technical debt, or maintenance problems tomorrow.&lt;/li&gt;
&lt;li&gt;Code nobody understands: The biggest risk isn't AI-generated code itself. It's shipping code that the team cannot explain, test, debug, or confidently change.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The Real Divide Isn't AI vs. Developers
&lt;/h2&gt;

&lt;p&gt;The question shouldn't be “Should developers use AI?”&lt;/p&gt;

&lt;p&gt;The better question is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Which parts of software development should we delegate to AI, and which decisions should remain human?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;AI can dramatically reduce the time it takes to produce code. But production software requires much more than code generation. It requires architecture, context, security, testing, accountability, and long-term thinking.&lt;/p&gt;

&lt;p&gt;The strongest engineering teams aren't removing humans from the development loop.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;They're using AI to make experienced engineers more effective.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The Bottom Line
&lt;/h2&gt;

&lt;p&gt;Vibe coding isn't the villain the backlash makes it out to be, and it isn't the free lunch the hype promised either. It's a fast way to produce a shape of software. Whether that shape becomes real software engineering still depends on the same things it always did review, testing, architectural judgment, and someone in the loop who actually understands what shipped. The tools got faster. The bar for good engineering didn't move.&lt;/p&gt;

&lt;p&gt;AI is changing how software gets built. The teams that benefit most won't simply be the ones using the most AI tools, but the ones that know where AI adds value, where human expertise matters, and how to bring the two together responsibly.&lt;/p&gt;

&lt;p&gt;For more thoughts on AI, software development, and how the industry is evolving, follow &lt;a href="https://kilowott.com/" rel="noopener noreferrer"&gt;Kilowott&lt;/a&gt; on &lt;a href="https://www.linkedin.com/company/kilowott/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt; and &lt;a href="https://www.instagram.com/kilowott/" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devops</category>
      <category>coding</category>
      <category>webdev</category>
    </item>
    <item>
      <title>From Code to Outcome: How AI-Augmented Teams Are Redefining Software Delivery in 2026</title>
      <dc:creator>Kilowott</dc:creator>
      <pubDate>Thu, 25 Jun 2026 11:57:46 +0000</pubDate>
      <link>https://dev.to/kilowott_dx/from-code-to-outcome-how-ai-augmented-teams-are-redefining-software-delivery-in-2026-3dcl</link>
      <guid>https://dev.to/kilowott_dx/from-code-to-outcome-how-ai-augmented-teams-are-redefining-software-delivery-in-2026-3dcl</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;"The future of software belongs to teams that combine human expertise with AI-powered execution."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For over a decade, we've helped brands and agencies turn ideas into software that delivers real business impact.&lt;/p&gt;

&lt;p&gt;Along the way, we've learned that success happens when strategy and execution work hand in hand.&lt;/p&gt;

&lt;p&gt;The gap between strategy and execution is closing, not because developers work faster, but because teams work differently.&lt;/p&gt;

&lt;p&gt;This post explores what we're seeing across Manufacturing, Retail, E-commerce, Fintech, EdTech, Telecom, and Energy and what it means for structuring, equipping, and measuring modern software teams.&lt;/p&gt;

&lt;p&gt;In this article, we'll explore:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How AI is changing the makeup of software teams&lt;/li&gt;
&lt;li&gt;What the best teams are doing differently&lt;/li&gt;
&lt;li&gt;Where human expertise still creates value&lt;/li&gt;
&lt;li&gt;The tools and workflows enabling faster delivery&lt;/li&gt;
&lt;li&gt;How success should be measured in the AI era&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Shift Nobody Fully Prepared For
&lt;/h2&gt;

&lt;p&gt;A year ago, the conversation was still "should we use AI coding tools?" Today, that question is obsolete.&lt;/p&gt;

&lt;p&gt;With over &lt;strong&gt;92%&lt;/strong&gt; of US developers using AI coding tools daily, the question has flipped: how do you build a team that uses AI well, not just one that uses it?&lt;/p&gt;

&lt;p&gt;Today's AI-powered developers can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Analyze entire codebases&lt;/li&gt;
&lt;li&gt;Plan multi-file changes&lt;/li&gt;
&lt;li&gt;Generate and run tests&lt;/li&gt;
&lt;li&gt;Detect and fix failures&lt;/li&gt;
&lt;li&gt;Iterate before human review&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We're not talking about Copilot suggestions anymore.&lt;/p&gt;

&lt;p&gt;We're talking about agentic systems that can read a codebase, plan changes across multiple files, write tests, catch failures, and iterate, all before a human reviews the output.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;10x&lt;/strong&gt; developer is becoming the &lt;strong&gt;100x&lt;/strong&gt; developer, not by writing more code, but by orchestrating systems that do.&lt;/p&gt;




&lt;h2&gt;
  
  
  What an Outcome Team Actually Looks Like
&lt;/h2&gt;

&lt;p&gt;Traditional delivery teams are organized around roles: frontend, backend, QA, DevOps.&lt;/p&gt;

&lt;p&gt;Outcome teams are organized around results: onboarding conversion, API response time, feature adoption, deployment frequency.&lt;/p&gt;

&lt;p&gt;Here's what we've seen work across &lt;a href="https://kilowott.com/services/software-and-applications/" rel="noopener noreferrer"&gt;our software and application engagements&lt;/a&gt; in 2026:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. AI as an Async Collaborator, Not a Tool&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The best teams have stopped treating AI as a tab in the IDE. They treat it as an async collaborator with a specific role in the sprint.&lt;/p&gt;

&lt;p&gt;It gets assigned tasks. It produces reviewable output. It gets feedback.&lt;br&gt;
This changes how you write tickets, how you structure code, and how you run retros.&lt;/p&gt;

&lt;p&gt;Typed, predictable systems matter more now, not because humans demand them, but because agents do.&lt;/p&gt;

&lt;p&gt;When ambiguity is expensive, "boring" architecture becomes a competitive advantage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. MCP Is the Integration Layer Nobody's Talking About Enough&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The Model Context Protocol (MCP) is quietly becoming the connective tissue of modern software stacks.&lt;/p&gt;

&lt;p&gt;Think of it as a USB-C port for AI, a standardized interface that lets LLMs communicate with your APIs, internal tools, databases, and workflows.&lt;/p&gt;

&lt;p&gt;If you're building developer tools, internal platforms, or anything that might be invoked by an agent, you should already be asking: is this MCP-compatible?&lt;/p&gt;

&lt;p&gt;If it's not, you're building for a model of software delivery that's already passing.&lt;/p&gt;

&lt;p&gt;This is especially critical for teams working on &lt;a href="https://kilowott.com/services/web-and-ecommerce/" rel="noopener noreferrer"&gt;web and ecommerce platforms&lt;/a&gt;, where the surface area for agent-driven interactions (inventory queries, personalization, checkout flows) is growing rapidly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. TypeScript Didn't Win by Accident&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;GitHub's Octoverse confirmed what many of us had already felt: TypeScript overtook both Python and JavaScript to become the most-used language on GitHub as of August 2025.&lt;/p&gt;

&lt;p&gt;That's the most significant language shift in over a decade.&lt;/p&gt;

&lt;p&gt;The reason isn't just developer preference. It's that typed systems are easier to reason about for humans and agents alike.&lt;/p&gt;

&lt;p&gt;When you're reviewing AI-generated code, type safety is your first line of defense. Predictability compounds at scale.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Delivery Problem That AI Alone Can't Fix
&lt;/h2&gt;

&lt;p&gt;Here's the honest part:&lt;/p&gt;

&lt;p&gt;AI doesn't solve delivery problems caused by unclear ownership, misaligned stakeholders, or poor requirements. It amplifies whatever process you already have.&lt;/p&gt;

&lt;p&gt;We've seen teams use AI to ship bad software &lt;strong&gt;10x&lt;/strong&gt; faster. That's not a win.&lt;/p&gt;

&lt;p&gt;What actually works is pairing AI capability with human oversight at the right checkpoints. The teams winning right now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Establish governance policies for what agents can do autonomously vs. what requires approval&lt;/li&gt;
&lt;li&gt;Measure AI's actual impact on delivery metrics, velocity, defect rates, rework, not just vibes&lt;/li&gt;
&lt;li&gt;Design systems for AI from the start, not as an afterthought. If your architecture isn't legible to an agent, you're leaving productivity on the table&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the work. Not the tooling selection, the governance, the measurement, the system design.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"The biggest gains from AI don't come from better tools. They come from better systems."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  What We're Building Toward
&lt;/h2&gt;

&lt;p&gt;At Kilowott, our &lt;a href="https://kilowott.com/services/kilowott-intelligence/" rel="noopener noreferrer"&gt;Kilowott Intelligence&lt;/a&gt; practice is built around exactly this challenge: helping businesses harness AI systems that streamline workflows and scale efficiently, combining smart technology with human oversight to deliver measurable results.&lt;/p&gt;

&lt;p&gt;That means we're not just building software. We're building the operating model around it.&lt;/p&gt;

&lt;p&gt;Some things we're actively working on with clients right now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://kilowott.com/services/kilowott-intelligence/" rel="noopener noreferrer"&gt;Agentic QA pipelines&lt;/a&gt; that catch regressions before they reach staging&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt;MCP-connected internal tools&lt;/a&gt; that let AI surface the right data at the right moment in the delivery cycle&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://kilowott.com/services/kilowott-workforce/" rel="noopener noreferrer"&gt;Cross-functional outcome teams&lt;/a&gt; through our software and applications practice that blend our specialists with client stakeholders, structured around KPIs rather than deliverables&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Where This Goes Next
&lt;/h2&gt;

&lt;p&gt;Success in the AI era belongs to developers and organizations that know how to work alongside intelligent systems—not compete with them.&lt;/p&gt;

&lt;p&gt;The same is true at the organizational level.&lt;/p&gt;

&lt;p&gt;The companies winning right now aren't the ones with the most AI tools, they're the ones who've built the &lt;a href="https://kilowott.com/services/automation/" rel="noopener noreferrer"&gt;processes&lt;/a&gt;, &lt;a href="https://kilowott.com/services/control/" rel="noopener noreferrer"&gt;governance&lt;/a&gt;, and &lt;a href="https://kilowott.com/services/kilowott-workforce/" rel="noopener noreferrer"&gt;team structures&lt;/a&gt; to use them with intention.&lt;/p&gt;

&lt;p&gt;We're a decade into helping businesses navigate exactly this kind of transition. Technology changes. The fundamentals don't.&lt;/p&gt;

&lt;p&gt;If you're thinking about how to evolve your delivery model, whether you're an agency, a growing product company, or an enterprise navigating transformation, we'd love to compare notes.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Tools will continue to change. The organizations that thrive will be the ones that learn faster than the technology evolves."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://kilowott.com/contact-us/" rel="noopener noreferrer"&gt;Let's talk&lt;/a&gt;, we call this the shift from execution teams to outcome teams. The difference is subtle but massive in practice.&lt;/p&gt;

&lt;p&gt;Stay updated with the latest trends in development, AI, and digital innovation, follow us on: &lt;a href="https://www.linkedin.com/company/kilowott/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt; | &lt;a href="https://www.instagram.com/kilowott/" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
