<?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: Sebastian Chedal</title>
    <description>The latest articles on DEV Community by Sebastian Chedal (@sebastian_chedal).</description>
    <link>https://dev.to/sebastian_chedal</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3846478%2F5d345e20-5611-4756-9633-253eef7d12a5.jpg</url>
      <title>DEV Community: Sebastian Chedal</title>
      <link>https://dev.to/sebastian_chedal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sebastian_chedal"/>
    <language>en</language>
    <item>
      <title>Anatomy of an Agent Harness: 7 Components You Should Audit</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Thu, 28 May 2026 00:44:02 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/anatomy-of-an-agent-harness-7-components-you-should-audit-4nfk</link>
      <guid>https://dev.to/sebastian_chedal/anatomy-of-an-agent-harness-7-components-you-should-audit-4nfk</guid>
      <description>&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-26-J-anatomy-of-an-agent-harness-hero.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-26-J-anatomy-of-an-agent-harness-hero.svg" alt="7-component anatomy ring diagram — model at the center, execution sandbox, identity, memory/context, tool calls, orchestration, cost governance, observability" width="100" height="52.333333333333336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You’re past the pilot. The agent works in demos and probably in staging, and now somebody is asking the real buying question: will it hold up when nobody is watching? That question doesn’t resolve at the model layer. It resolves in the layer of code, configuration, and execution logic that sits around the model, what the industry has started calling the &lt;em&gt;harness&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;There are seven components every agent harness has. We built these seven components after reviewing eight published articles by our peers between March and April 2026 from &lt;a href="https://www.langchain.com/blog/the-anatomy-of-an-agent-harness" rel="noopener noreferrer"&gt;LangChain&lt;/a&gt;, &lt;a href="https://www.salesforce.com/agentforce/ai-agents/agent-harness/" rel="noopener noreferrer"&gt;Salesforce&lt;/a&gt;, &lt;a href="https://www.firecrawl.dev/blog/what-is-an-agent-harness" rel="noopener noreferrer"&gt;Firecrawl&lt;/a&gt;, &lt;a href="https://atlan.com/know/what-is-harness-engineering/" rel="noopener noreferrer"&gt;Atlan&lt;/a&gt;, &lt;a href="https://martinfowler.com/articles/harness-engineering.html" rel="noopener noreferrer"&gt;Fowler &amp;amp; Boeckeler&lt;/a&gt;, &lt;a href="https://addyosmani.com/blog/agent-harness-engineering/" rel="noopener noreferrer"&gt;Osmani&lt;/a&gt;, &lt;a href="https://www.philschmid.de/agent-harness-2026" rel="noopener noreferrer"&gt;Schmid&lt;/a&gt;, and &lt;a href="https://handsonarchitects.com/blog/2026/the-harness-model-ai-engineering-maturity-matrix/" rel="noopener noreferrer"&gt;Hands on Architects.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By the end of this article I hope you will have a deeper understanding of what a harness is, the different ways it can fail, what it does and how to assess the quality of your harness (existing, or when shooping for someone to build an agent from a vendor).&lt;/p&gt;

&lt;p&gt;There’s a lot of interest in this topic right now: &lt;a href="https://nathanbenaich.substack.com/p/state-of-ai-april-2026-newsletter" rel="noopener noreferrer"&gt;Anthropic’s annualized revenue&lt;/a&gt; grew from $14B in mid-February to over $30B by April 2026. The market is &lt;em&gt;buying&lt;/em&gt;. What it’s buying is &lt;strong&gt;models&lt;/strong&gt;. But what’s deciding whether those models earn their keep in production is the &lt;strong&gt;harness layer.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One clarification before the components, because the word &lt;em&gt;agent&lt;/em&gt; is doing too much work in 2026. When we say “agent” here, we mean model plus harness running self-directed work, not workflow-LLM patterns where every step is human-scheduled. A workflow with an embedded LLM call needs prompt management and an error handler; an agent doing self-directed work needs the entire harness, which is what we are discussing in this article.&lt;/p&gt;

&lt;h2&gt;
  
  
  The seven components of the harness
&lt;/h2&gt;

&lt;p&gt;The eight sources above name different subsets of components, the common agreement and synthesis of all the harnesses comes down to:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;What it is&lt;/th&gt;
&lt;th&gt;How it can fail&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Execution Sandbox&lt;/td&gt;
&lt;td&gt;What the agent runs as and its permissions.&lt;/td&gt;
&lt;td&gt;Broad permissions + long-horizon agent creates outsized risk radius.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Auth Identity&lt;/td&gt;
&lt;td&gt;Who the agent is to external systems.&lt;/td&gt;
&lt;td&gt;Shared API keys prevent auditing; child agents break revocation chains.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memory &amp;amp; Context&lt;/td&gt;
&lt;td&gt;What persists, what compacts, what discards.&lt;/td&gt;
&lt;td&gt;Uncompacted context growth leaks cost; no garbage collection.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tool Calls&lt;/td&gt;
&lt;td&gt;How the agent interacts with and reaches the world.&lt;/td&gt;
&lt;td&gt;Transient tool failures trigger runaway retry storms.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Orchestration&lt;/td&gt;
&lt;td&gt;Single-agent loop vs multi-agent handoff, and who owns state.&lt;/td&gt;
&lt;td&gt;Multiple agents conflict over stale views of unowned shared state.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost Governance&lt;/td&gt;
&lt;td&gt;What stops a runaway charge before the credit card bill tells you.&lt;/td&gt;
&lt;td&gt;Lack of pre-flight circuit breakers allows sudden, massive token spend.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Observability&lt;/td&gt;
&lt;td&gt;What you can answer the morning after.&lt;/td&gt;
&lt;td&gt;Logs confirm a failure occurred but lack structure to explain why. Or no logs at all.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Component 1: Execution sandbox
&lt;/h2&gt;

&lt;p&gt;Your execution sandbox decides what the agent runs as, where it runs, and what it can reach: filesystem, network, processes, databases, and infrastructure. The decision is your risk radius, and it has to be made before deploy because retrofitting sandboxing later is rip-and-replace work.&lt;/p&gt;

&lt;p&gt;The architectural choices fall along a spectrum: container-level isolation, process-level isolation, OS-level isolation, or hardware-level isolation with policy engines on top. See, for example, &lt;a href="https://fountaincity.tech/resources/blog/nemoclaw-enterprise-autonomous-agents/" rel="noopener noreferrer"&gt;NVIDIA’s NemoClaw approach&lt;/a&gt; with its OpenShell and scoped permissions.&lt;/p&gt;

&lt;p&gt;The clearest recent worked example sits in the &lt;a href="https://incidentdatabase.ai/cite/1442/" rel="noopener noreferrer"&gt;AI Incident Database, citation 1442&lt;/a&gt;: in mid-December 2025, AWS Cost Explorer in one mainland China region reportedly had an approximately 13-hour interruption after Kiro, an internal Amazon AI coding tool, was reportedly allowed to delete and recreate part of the working environment. Amazon disputed the AI-causation account and attributed the issue to user error and misconfigured access controls. In both cases, the root of the issue was the same: the AI’s sandbox permissions were too broad for what the agent could do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask yourself:&lt;/strong&gt; What can this agent do that I’d be unwilling to let a junior engineer do on day one, and what stops them from doing that?&lt;/p&gt;

&lt;h2&gt;
  
  
  Component 2: Identity and authentication
&lt;/h2&gt;

&lt;p&gt;Identity and authentication answers a question most teams skip in the rush to ship: who is the agent? And who is it more practically as it relates to external systems, what credentials does it carry, and what’s its audit trail when it acts? The decision is whether to give each agent a dedicated service account with scoped permissions, run it under a shared API key, or impersonate a human user.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://www.gravitee.io/blog/state-of-ai-agent-security-2026-report-when-adoption-outpaces-control" rel="noopener noreferrer"&gt;Gravitee 2026 State of AI Agent Security report&lt;/a&gt; is the cleanest 2026 data on what production teams are actually doing here. The picture is sobering:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Only &lt;strong&gt;21.9%&lt;/strong&gt; of teams treat AI agents as independent, identity-bearing entities&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;45.6%&lt;/strong&gt; rely on shared API keys for agent-to-agent authentication&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;25.5%&lt;/strong&gt; of deployed agents can create and task another agent&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When an agent on a shared key spawns child agents and one of them does something costly, the chain of command becomes harder to control and audit. The potential failure pattern to watch out for here is the combination (shared key plus multi-agent, plus the ability to spawn), not any single decision. In our experience, this tends to be the component team’s promise to “fix later” and then discover later means: after a costly incident.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask yourself:&lt;/strong&gt; If this agent did something costly in the next hour, could I tell which agent did it, and could I revoke just that agent’s access without breaking the others? How do I manage sub-agent spawning? Are my keys shared too broadly across multiple agents or systems?&lt;/p&gt;

&lt;h2&gt;
  
  
  Component 3: Memory and context
&lt;/h2&gt;

&lt;p&gt;Memory and context describes what persists across runs, what gets compacted into smaller representations, and what gets discarded. Context-rot and compaction are first-class harness primitives. From our experience operating memory and context controls: the coupling between memory and cost tends to be tighter than either treatment suggests; we’ll get to that in Component 6.&lt;/p&gt;

&lt;p&gt;A strong harness here requires that you answer the question of what stores state (vector retrieval, structured state, a hybrid). But there’s also a  token discipline at the prompt-construction layer, deciding what gets included on each turn. Plus a compaction policy, deciding when long histories collapse into summaries. Your context window is your “RAM”, and a harness with no compaction policy is a process that never frees memory.&lt;/p&gt;

&lt;p&gt;Failures here can look like your agent still gives correct answers, but each turn pulls more context than the last, and the per-task spend grows, while accuracy declines. The architectural fix sits in the memory layer, which is where teams typically look last because the agent is still “working.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask yourself:&lt;/strong&gt; Where does this agent’s state actually live, how am I managing memory and context in my agent network?&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%2Fjbwlo53gl74txfju990c.jpg" 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%2Fjbwlo53gl74txfju990c.jpg" alt="Abstract plexus visualization of agent memory and context" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Component 4: Tool calls
&lt;/h2&gt;

&lt;p&gt;Tool calls covers how the agent reaches the world: the tool registry, the calling protocol, the error-recovery behavior. Are tools exposed via an MCP-native registry, hand-wrapped APIs maintained internally, or framework-bundled tool packs you don’t control. The MCP server ecosystem expanded rapidly through early 2026, and most teams we work with end up with a mix of all three.&lt;/p&gt;

&lt;p&gt;A serious risk with tools is a retry storm. This is when the agent calls a tool, the call fails transiently (a rate limit, a 503, a malformed response), and the harness has no policy distinguishing retryable from non-retryable failure modes. So the agent retries. And retries. And retries. The cost shows up before the alert does, and the upstream tool sometimes degrades further under the retry pressure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask yourself:&lt;/strong&gt; How should my tools be built and called? When this agent calls a tool and the call fails, what does it do, and what stops it from doing the same failed call 50 more times?&lt;/p&gt;

&lt;h2&gt;
  
  
  Component 5: Orchestration
&lt;/h2&gt;

&lt;p&gt;Orchestration answers whether you have one agent in a loop or several agents handing off to each other, and whether the work is event-driven or scheduled. The load-bearing decision underneath is shared-state ownership: is there one canonical source of truth (a file, a database, a queue) that agents read and write through, or is state implicit and distributed across the agents themselves?&lt;/p&gt;

&lt;p&gt;Multi-agent systems that fail in production tend to fail here. Two agents act on stale views of the same state, the merge logic was never specified, and the bug is invisible until it’s expensive. Anthropic’s published work on multi-agent research systems is a useful reference for what production adds to the orchestrator-subagent pattern; we covered that ground in &lt;a href="https://fountaincity.tech/resources/blog/anthropic-multi-agent-blueprint-production/" rel="noopener noreferrer"&gt;our take on the multi-agent blueprint&lt;/a&gt;, which gets into the token-cost tradeoff for orchestration specifically.&lt;/p&gt;

&lt;p&gt;The orchestration component is also where “we’ll just add another agent” tends to become technical debt. Each agent you add multiplies the number of state transitions you have to reason about, and if the system isn’t built around an explicit state owner from the start, the debt compounds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask yourself:&lt;/strong&gt; If two agents disagree about what’s true, which one wins, and how do I know? Can misinterpretations from one agent carry forward down the chain to other agents? How are hand offs done between agents?&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%2Fck6hpyqktvwn43xji62y.jpg" 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%2Fck6hpyqktvwn43xji62y.jpg" alt="Professional team reviewing AI architecture" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Component 6: Cost governance
&lt;/h2&gt;

&lt;p&gt;Cost governance covers what stops a runaway: token budgets, rate limits, kill switches, spend caps, pre-flight budget enforcement. Cost governance is the second half of the architectural pairing we flagged in Component 3. Bad memory designs leak cost; cost circuit breakers can’t fix poor context discipline. They can only cap the downside while the upstream architecture is fixed. We’ve written about how the optimization sequence actually plays out (&lt;a href="https://fountaincity.tech/resources/blog/ai-cost-optimization-practitioner-framework/" rel="noopener noreferrer"&gt;script-first, caching last&lt;/a&gt;), and the same logic applies here: governance lives at the harness layer, not at the dashboard layer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask yourself:&lt;/strong&gt; What’s the maximum spend (in dollars and in irreversible state changes) this agent can incur in the next time interval (hour, day) without human approval?&lt;/p&gt;

&lt;h2&gt;
  
  
  Component 7: Observability
&lt;/h2&gt;

&lt;p&gt;Observability is what you can answer the morning after. Structured event logs, traces, cost and latency metering, decision audit trails. Observability quality tends to decide how fast you can recover from anything that goes wrong in the other six components.&lt;/p&gt;

&lt;p&gt;The architectural decision is whether to emit structured event logs at the harness layer (queryable later), scrape ad-hoc logs from individual agents (slower, lossy), or rely on vendor-provided dashboards (good for some questions, bad for the questions you didn’t anticipate). The trade-offs and what they look like at each deployment stage are the topic of &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-deployment-operational-decisions/" rel="noopener noreferrer"&gt;our piece on operational decisions at each deployment stage&lt;/a&gt;. The three-monitoring-layers question, in particular, lives in this component.&lt;/p&gt;

&lt;p&gt;Your risk here: something goes wrong overnight, and the team can answer &lt;em&gt;that&lt;/em&gt; something went wrong (the bill, the alert) but not &lt;em&gt;why&lt;/em&gt;. The runbook says check the logs; the logs were never structured to answer this kind of question.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ask yourself:&lt;/strong&gt; What can I answer about what this agent did yesterday, and how long does the answer take to produce? How quickly do we get notified for issues?&lt;/p&gt;

&lt;h2&gt;
  
  
  The 30-minute audit checklist
&lt;/h2&gt;

&lt;p&gt;These seven questions can help you prevent the failure patterns while getting your harness ready for production:&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-26-J-anatomy-of-an-agent-harness-checklist.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-26-J-anatomy-of-an-agent-harness-checklist.svg" alt="7-question vertical checklist for AI agent harness components" width="100" height="105.0"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Execution sandbox.&lt;/strong&gt; What can this agent do that I’d be unwilling to let a junior engineer do on day one, and what stops it from doing that?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity and authentication.&lt;/strong&gt; If this agent did something costly in the next hour, could I tell which agent did it, and could I revoke just that agent’s access without breaking the others?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory and context.&lt;/strong&gt; Where does this agent’s state actually live, and what tells me when it’s growing in a way it shouldn’t?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool calls.&lt;/strong&gt; When this agent calls a tool and the call fails, what does it do, and what stops it from doing the same failed call 50 more times?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orchestration.&lt;/strong&gt; If two agents disagree about what’s true, which one wins, and how do I know?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost governance.&lt;/strong&gt; What’s the maximum spend (in dollars and in irreversible state changes) this agent can incur in the next hour without human approval?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability.&lt;/strong&gt; What can I answer about what this agent did yesterday, and how long does the answer take to produce?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A vendor demo or an internal architecture review that gets clean, specific answers has made a good start at designing an effective harness layer. A demo where two or three answers turn into “we’re planning to add that” is a system where the production-readiness work hasn’t been done yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;A bad harness is just a brain in a jar. You need a solid harness to give your agent the eyes, ears and system capable of operating in your business environment effectively. We hope that these questions give you a head start in your self-evaluation process as you evaluate your internal progress or that of a vendor when selecting your next partner to help you build your agentic applications.&lt;/p&gt;

&lt;p&gt;If running the harness layer yourself isn’t where you want to spend your time, we build and operate agentic systems for clients. You can learn more abour our &lt;a href="https://fountaincity.tech/services/managed-autonomous-ai-agents/" rel="noopener noreferrer"&gt;managed autonomous AI agents&lt;/a&gt;, or &lt;a href="https://dev.to/contact/"&gt;contact us&lt;/a&gt; to find out more.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  What is an agent harness in AI?
&lt;/h3&gt;

&lt;p&gt;An agent harness is every piece of code, configuration, and execution logic around the model. LangChain’s Vivek Trivedy describes it as “every piece of code, configuration, and execution logic that isn’t the model itself.” The model is the reasoning core; the harness is the operational software around it that handles tools, memory, identity, sandboxing, orchestration, cost controls, and observability. In production agent systems, the harness tends to determine whether the model’s output translates into reliable work.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the difference between an agent harness and an agent framework?
&lt;/h3&gt;

&lt;p&gt;An agent framework (LangChain, LangGraph, AutoGen, CrewAI, and similar) is a library that gives you primitives for building agents: chains, tool-calling abstractions, memory interfaces. A harness is the integrated runtime that sits around the model in production, including everything the framework provides plus the things frameworks don’t: sandbox policies, identity boundaries, cost governors, observability pipelines. Firecrawl’s April 2026 piece draws this distinction clearly: a framework helps you build; a harness is what runs the result.&lt;/p&gt;

&lt;h3&gt;
  
  
  What are the components of an agent harness?
&lt;/h3&gt;

&lt;p&gt;The union view across the eight major published definitions consolidates into seven components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Execution sandbox:&lt;/strong&gt; where it runs, with what access&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity and authentication:&lt;/strong&gt; who it is to external systems&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory and context:&lt;/strong&gt; what persists and what compacts&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool calls:&lt;/strong&gt; how it reaches the world&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orchestration:&lt;/strong&gt; single-agent loop vs multi-agent handoff, and who owns state&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost governance:&lt;/strong&gt; what stops a runaway&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability:&lt;/strong&gt; what you can answer the morning after&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why does the harness matter more than the model?
&lt;/h3&gt;

&lt;p&gt;Through early 2026, eight major publishers (LangChain, Salesforce, Firecrawl, Atlan, Fowler and Boeckeler, Osmani, Schmid, Hands on Architects) independently shipped harness-definition pieces — convergence on the harness as the decisive layer for production reliability. The model handles reasoning; the harness handles whether that reasoning translates into reliable work.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do I evaluate whether an agent system is production-ready?
&lt;/h3&gt;

&lt;p&gt;The 30-minute checklist above is the short version: seven operator questions, one per component. A system that answers all seven cleanly has been architected through the harness layer. A system that slides into “we’re adding that” on two or three components has work ahead, and the production-readiness timeline is probably longer than the demo suggests. The Gravitee 2026 report found 21.9% of teams treating agents as identity-bearing entities, which is a useful sanity check on what “ready” looks like across the field. Most production systems still have meaningful gaps, and naming them honestly is more useful than papering over them.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>security</category>
      <category>devops</category>
    </item>
    <item>
      <title>GEO Measurement: The KPIs That Generate Actual Results (Not just vanity metrics)</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Sat, 23 May 2026 10:52:04 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/geo-measurement-the-kpis-that-generate-actual-results-not-just-vanity-metrics-3hk5</link>
      <guid>https://dev.to/sebastian_chedal/geo-measurement-the-kpis-that-generate-actual-results-not-just-vanity-metrics-3hk5</guid>
      <description>&lt;p&gt;The dominant question in generative engine optimization right now is whether your brand shows up in AI answers. The harder, more useful question is whether the AI &lt;em&gt;recommends&lt;/em&gt; you when a buyer asks the comparison prompt that ends the decision. Those two outcomes are decoupled. The same AI conversation can pull a quote from your site and then, in the next breath, recommend a competitor to the same user.&lt;/p&gt;

&lt;p&gt;That gap between being cited and being recommended is what the published GEO measurement frameworks tend to overlook. They count citations, average them across engines, and report a single “visibility score.” All three moves erase the signal you actually need.&lt;/p&gt;

&lt;p&gt;I believe this is a leftover from SEO where getting cited was enough because then people would click search results. With GEO your customer is having an entire conversation with AI, and doing all the funnel stages off-line. They are learning about their problem/need, comparing competitors and then ultimately selecting their vendor without ever leaving a chat window.&lt;/p&gt;

&lt;p&gt;Getting cited isn’t enough, you need to be *recommended *by the AI as the best or at least one of the best options in class.&lt;/p&gt;

&lt;h2&gt;
  
  
  The measurement gap is a targeting problem, not a tooling problem
&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%2F3cpbwwpm6jv9u0woyby6.jpg" 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%2F3cpbwwpm6jv9u0woyby6.jpg" alt="Marketing executive analyzing a digital dashboard for GEO recommendations" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If getting recommended or not wasn’t enough… 62% of marketing leaders say they cannot measure the ROI of their AI search optimization efforts, according to a &lt;a href="https://www.gen-optima.com/geo/how-to-measure-geo-roi-kpi-framework-2026/" rel="noopener noreferrer"&gt;2025 Conductor survey, reported via GenOptima&lt;/a&gt;. The default reading of that number is that the field is under-tooled — that better dashboards or more granular tracking would close the gap.&lt;/p&gt;

&lt;p&gt;However to add salt to the wound… the published frameworks are not failing to measure enough things. They are mostly measuring the wrong outcome.&lt;/p&gt;

&lt;p&gt;The leading guides (GenOptima’s six-KPI framework, UpGrowth’s seven KPIs, Stellar’s three-tier model, Digital Bloom’s ROI procedure) each capture a real piece of the measurement stack. Read together, they recommend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Citations&lt;/li&gt;
&lt;li&gt;Mentions&lt;/li&gt;
&lt;li&gt;Sentiment&lt;/li&gt;
&lt;li&gt;Share of voice&lt;/li&gt;
&lt;li&gt;Position&lt;/li&gt;
&lt;li&gt;Source coverage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;…and a half-dozen named composites. What none of them resolve is the distance between an AI answer that quotes you, and an AI answer that recommends you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Being cited is not being recommended — and the AI knows the difference
&lt;/h2&gt;

&lt;p&gt;A buyer asks Claude: “What’s the best AI consulting firm for mid-market manufacturers in the Pacific Northwest?” The answer pulls a quote about regional manufacturing trends from your blog post. The same answer, two sentences later, recommends three competitors as the firms to actually contact.&lt;/p&gt;

&lt;p&gt;You got the citation. You did &lt;em&gt;not&lt;/em&gt; get the recommendation. The user closes the tab and starts emailing your competitors.&lt;/p&gt;

&lt;p&gt;This pattern is more common than the citation-counting frameworks acknowledge. Citation and recommendation are decoupled outcomes — they are produced by different parts of the AI’s reasoning, draw from different signals on your site, and respond to different optimizations. Most published frameworks treat citation rate as the headline KPI. It is a leading indicator at best. It tells you the AI &lt;em&gt;knows&lt;/em&gt; something about you. It does not tell you the AI &lt;em&gt;picks&lt;/em&gt; you when the question gets to the comparison stage.&lt;/p&gt;

&lt;p&gt;The right primary KPI is recommendation rate at buyer-intent prompts. Not “does the engine mention your brand somewhere in a 600-word answer about the industry” but “does the engine name you when a real buyer asks the question that ends in a purchase decision.” That requires building a prompt set that mirrors the comparison questions your buyers actually ask — not the head terms you would target in traditional SEO, and not the broad industry queries that produce friendly mentions without conversion intent.&lt;/p&gt;

&lt;p&gt;A useful working definition: track recommendation rate as the percentage of buyer-intent prompts in which an AI engine names your brand as a recommended option (not merely cites a source from your domain). Measure per engine, across a stable prompt set you can re-run monthly. For teams running thought-leadership programs that aim higher up the funnel, the same measurement works at the awareness stage — “what should I read about ____” prompts where the recommendation is to subscribe, watch, or follow rather than to buy. The mechanic is the same; the prompt set changes.&lt;/p&gt;

&lt;p&gt;Citation rate still matters as a leading indicator. It usually predicts which brands will eventually become recommendation candidates. But reporting citation rate without recommendation rate is reporting the dress rehearsal as if it were opening night.&lt;/p&gt;

&lt;h2&gt;
  
  
  Per-engine spread is the load-bearing KPI — aggregate scores lie
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.tryprofound.com/blog/citation-overlap-strategy" rel="noopener noreferrer"&gt;Profound’s analysis of 100,000 prompts&lt;/a&gt; across ChatGPT and Perplexity found that 89% of AI citations come from different sources depending on which engine the user queried, and only 11.0% of domain citations appeared in both models.&lt;/p&gt;

&lt;p&gt;Try to avoid tools that display only your “AI visibility score” across engines as an averaging. The aggregate number tells you nothing about which engine your buyers are using, which engine you are losing on, or which engine your next content investment should target.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-19-J-geo-measurement-framework-03.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-19-J-geo-measurement-framework-03.svg" alt="Per-engine citation divergence matrix showing how AI citations vary across engines" width="100" height="100"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What to track instead, in three slots: per-engine citation rate, per-engine recommendation rate, and the variance across them as its own metric. Call that last one per-engine spread. A brand with a 40% recommendation rate on Perplexity and a 5% rate on ChatGPT has a per-engine spread that tells you exactly where the optimization work needs to go.&lt;/p&gt;

&lt;p&gt;Per-engine spread also doubles as a noise check on vendor reports. If a tool gives you a single composite score and refuses to break it down by engine, the report is functionally unverifiable. You cannot act on a number you cannot decompose.&lt;/p&gt;

&lt;h2&gt;
  
  
  The three KPIs that survive contact — and how to rank them
&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%2F32l1canukfhnk70s8quu.jpg" 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%2F32l1canukfhnk70s8quu.jpg" alt="Six architectural geometric nodes representing the six core GEO KPIs" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are only 3 core KPIs you can and should really be tracking. All the others: citation rate, share of voice etc. are often just vanity metrics that don’t result in actual conversions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Recommendation rate at buyer-intent:&lt;/strong&gt; the conversion-stage signal. This is the synthesis layer, track it per engine and per topic.&lt;/li&gt;
&lt;li&gt;**Competitors mentioned: **How many competitors are mentioned, spread again per engine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sentiment:&lt;/strong&gt; the qualities and tone of how the AI describes you. How does the AI rank you against others? What are your known weaknesses and when does it recommend against your business?&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Increasing Recommendation Strength
&lt;/h2&gt;

&lt;p&gt;One you have a solid understanding of who is being recommended, how often that is you, and in what light you are viewed by AI Engines you can start to take action.&lt;/p&gt;

&lt;p&gt;Common areas to focus on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your business is missing information people want to know&lt;/li&gt;
&lt;li&gt;AI doesn’t know the answer to a client’s question, so they can’t recommend you&lt;/li&gt;
&lt;li&gt;Your data on your website is not specific enough, leading to other vendors who have specific data being recommended&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some tips on how you can increase coverage:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Load in all your customer sales inquiries and look at that data to determine if all their questions are also on your website&lt;/li&gt;
&lt;li&gt;Create customer profiles and use these to generate synthetic questions, then answer them on your website&lt;/li&gt;
&lt;li&gt;Run AI Agents with your client persona with the mission of finding a provider/seller and then audit the results of their journey, apply the learnings&lt;/li&gt;
&lt;li&gt;Check your site against schema validation and add elements to your website that are missing from the schema review&lt;/li&gt;
&lt;li&gt;Build a network of listicles and reviews from 3rd party sites that strengthen your brand&lt;/li&gt;
&lt;li&gt;Review all the fanout queries from all research performed by each AI query and then turn those into your SEO targets. These are often long-tail phrases with very low competition and they are the queries AI is using to research and make its determinations&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;People are using AI to help them make purchasing decisions, this will only continue to increase both in the number of people using AI for this, as well as how much of their purchasing process they relegate to AI engines. AI is taking over the brain-power people used to use to filter and select their best options.&lt;/p&gt;

&lt;p&gt;This means the process of that decision making is becoming more opaque. Don’t get distracted by vanity KPI theater; where you start measuring how often your stats are quoted by an AI, only to wonder why your sales are down.&lt;/p&gt;

&lt;p&gt;Understanding how AI makes decisions, and then being able to demonstrate to your customers the value you are bringing them is challenging now. But I believe if you focus first and foremost on the money (what actually makes a difference) you can use this as your beacon to navigate through the wires of AI noodle-brains and get the results your customers actually want and need.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  How many AI engines should you track for GEO measurement?
&lt;/h3&gt;

&lt;p&gt;Track the engines your buyers actually use, then layer in the engines whose citations propagate to other models. For most B2B audiences in 2026 that means ChatGPT, Perplexity, Claude, Gemini, and Google AI Overviews as the core five, with Copilot and Grok as secondary depending on audience. Tracking fewer than three means you cannot measure per-engine spread, which is the whole point.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is a good GEO citation rate to aim for?
&lt;/h3&gt;

&lt;p&gt;Citation rates are only a measure of how often your brand is mentioned, they do not track how often your brand is recommended. If your goal is to get actual recommendations, shift away from trying to get more citations and instead focus on getting recommended.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can you measure GEO without expensive tools?
&lt;/h3&gt;

&lt;p&gt;Yes, especially for a single business. A weekly spreadsheet covering 10 prompts across three engines produces enough signal to learn the shape of your engine-by-engine picture. Most of the work you need to do is foundational, GEO tracking tools are useful to then know how often you are being recommended, per prompt and per customer-category.&lt;/p&gt;

&lt;h3&gt;
  
  
  How does GEO measurement differ from traditional SEO measurement?
&lt;/h3&gt;

&lt;p&gt;Traditional SEO measurement assumes a single engine and a clickable ranking as the outcome. GEO measurement runs on different assumptions. The practical differences:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multiple engines, no consensus.&lt;/strong&gt; The engines disagree with each other on which sources to cite, so per-engine reporting becomes non-negotiable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recommendation events replace clicks&lt;/strong&gt; as the conversion signal, because the primary outcome no longer produces a click.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attribution requires explicit channel-grouping&lt;/strong&gt; work in analytics, because AI-referred traffic does not always carry a recognizable referrer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keyword ranking still matters&lt;/strong&gt; for fanout queries that AI conversations trigger, but it stops being the headline number. If you want to get recommended, show up in the fan-outs.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>seo</category>
      <category>marketing</category>
      <category>business</category>
    </item>
    <item>
      <title>AI Cost Optimization: A Practitioner Framework</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Mon, 18 May 2026 18:07:06 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/ai-cost-optimization-a-practitioner-framework-2i11</link>
      <guid>https://dev.to/sebastian_chedal/ai-cost-optimization-a-practitioner-framework-2i11</guid>
      <description>&lt;p&gt;An AI system that’s starting to cost real money is a different problem from an AI prototype, whose job was to prove a model could do the thing. The production system’s job is to do the thing at a margin that justifies its existence. Teams usually cross that line without noticing. The bill climbs steadily, then jumps, then someone runs the math and the project is suddenly under cost review.&lt;/p&gt;

&lt;p&gt;This is some of the work we do for clients. We get hired to come, review an AI system that’s working but expensive, find the architectural waste, and bring the spend down without dropping quality. The framework in this article is the approach we actually use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In this article:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why cost optimization is quality optimization in disguise, and how to tell when you’ve crossed into degradation&lt;/li&gt;
&lt;li&gt;The Script-vs-LLM Substitution Rule and the misallocation question&lt;/li&gt;
&lt;li&gt;Dispatcher-First Cost Architecture: the architectural decision that produces the largest savings&lt;/li&gt;
&lt;li&gt;Why agent decomposition lowers cost AND raises accuracy&lt;/li&gt;
&lt;li&gt;The Haiku scratchpad case: getting Sonnet-quality answers at Haiku prices by changing the prompt&lt;/li&gt;
&lt;li&gt;The optimization sequence, ordered by ROI per engineering hour&lt;/li&gt;
&lt;li&gt;The Accuracy-Speed-Cost Triangle: the ceiling you meet after the structural work is done&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If runaway cost is the failure mode you’re worried about, the &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-cost-circuit-breaker/" rel="noopener noreferrer"&gt;AI Agent Cost Circuit Breaker&lt;/a&gt; covers the reactive side. This article is the proactive side: how to design a system that doesn’t run away in the first place.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cost optimization is quality optimization in disguise
&lt;/h2&gt;

&lt;p&gt;The most common framing of AI cost optimization treats cost and quality as a tradeoff dial: turn the cost down, accept some quality loss, find the spot you can live with. That framing is wrong, and it produces the wrong techniques.&lt;/p&gt;

&lt;p&gt;The goal of cost optimization is to make the process more efficient, more accurate, and often faster. The cost savings emerge from that. When you go deep on cost optimization, you end up doing a careful analysis of the process: what each step actually does, what model tier each step actually needs, which calls shouldn’t be model calls at all. That analysis improves the system on every axis. Lower cost emerges from that work as a consequence of the deeper process analysis.&lt;/p&gt;

&lt;p&gt;Cost optimization that drops quality below tolerance is just the wrong solution. That’s degradation of service. If a “savings” plan ends with the system producing worse outputs, it didn’t optimize. It switched to a different, worse system.&lt;/p&gt;

&lt;p&gt;This lens changes the question you ask of every technique. Instead of “how much cheaper does this make us?” the question is “does this improve the system or does it degrade it?” Techniques that improve the system on multiple axes (accuracy, speed, reliability, cost) are the ones to chase first. Techniques that trade quality for cost belong last, sparingly, and only when the quality drop is genuinely tolerable for the use case. The industry literature corroborates the connection. &lt;a href="https://aisuperior.com/llm-cost-optimization-strategies-2026/" rel="noopener noreferrer"&gt;aisuperior.com&lt;/a&gt; frames systematic optimization as producing both cost reductions and quality improvements together. The same analysis that finds the waste also finds the quality bugs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Script-vs-LLM Substitution Rule
&lt;/h2&gt;

&lt;p&gt;The largest savings in most AI systems aren’t hiding in model selection. They’re hiding in calls that should never have been LLM calls at all.&lt;/p&gt;

&lt;p&gt;The heuristic is the &lt;strong&gt;Script-vs-LLM Substitution Rule&lt;/strong&gt;: scripts for determinism, LLMs for judgment. If a task has a defined input shape and a defined output shape, and the transformation between them is mechanical, a script does it exactly, in milliseconds, for fractions of a cent. The moment you put an LLM in that spot, you’ve added cost, latency, and a non-zero error rate to a task that didn’t need any of them.&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%2F4qf6aex1bujo9co7cvqh.jpg" 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%2F4qf6aex1bujo9co7cvqh.jpg" alt="Technical lead looking at dual screens with code in a modern office" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The substitution candidates show up in almost every AI system once you go looking. File-existence checks, status notifications, structured-data comparisons, format conversions, date math, URL canonicalization. Every one of these running on a premium reasoning model is dollar-bleed without quality justification, and the failure modes (hallucinated dates, off-by-one comparisons) are worse than the script equivalents.&lt;/p&gt;

&lt;p&gt;The boundary case matters. When judgment is genuinely required (ambiguous input, context-dependent interpretation, decisions that require reading subtext or weighing trade-offs), the direction reverses. Don’t script what genuinely needs an LLM. Scripts for the deterministic stuff, LLMs for the judgment stuff, and don’t mix them up.&lt;/p&gt;

&lt;p&gt;This is the same insight at the center of our &lt;a href="https://fountaincity.tech/resources/blog/four-axes-ai-agent-efficiency/" rel="noopener noreferrer"&gt;Four Axes of AI Agent Efficiency&lt;/a&gt; framework. The Script-It axis specifically targets entire sessions that shouldn’t have been LLM calls in the first place. In production audits we’ve found this is consistently the largest single cost lever, bigger than model downgrades, prompt compression, or caching.&lt;/p&gt;

&lt;p&gt;The stakes for getting this wrong are non-trivial. &lt;a href="https://fountaincity.tech/resources/blog/four-axes-ai-agent-efficiency/" rel="noopener noreferrer"&gt;Gartner has projected&lt;/a&gt; that over 40% of agentic AI projects will be canceled by 2027 due to escalating costs and unclear value. A large share of that escalation traces back to LLM-everywhere architecture, putting an expensive reasoning model into spots where a five-line script would have served. The substitution rule is the cheapest, fastest fix for a runaway bill. And there’s no trade hiding under it: the script is cheaper, faster, and more accurate than the call it replaces.&lt;/p&gt;

&lt;h2&gt;
  
  
  Dispatcher-First Cost Architecture
&lt;/h2&gt;

&lt;p&gt;The single highest-leverage architectural decision in AI cost optimization is putting a lightweight dispatcher in front of every premium-model call. We call this &lt;strong&gt;Dispatcher-First Cost Architecture&lt;/strong&gt;: every inbound task routes through a gatekeeper (a script or a low-cost model) that decides which downstream agent or model handles it. No speculative engagement of high-cost models.&lt;/p&gt;

&lt;p&gt;The academic backbone is well-established. Stanford’s &lt;a href="https://openreview.net/forum?id=cSimKw5p6R" rel="noopener noreferrer"&gt;FrugalGPT&lt;/a&gt; paper showed that a cascade architecture (try cheaper models first, escalate on failure) can match GPT-4 performance with up to a 98% cost reduction across natural language tasks. The &lt;a href="https://lmsys.org/blog/2024-07-01-routellm/" rel="noopener noreferrer"&gt;RouteLLM&lt;/a&gt; framework from LMSYS reached similar territory on MT Bench, with 85% cost reduction at production-equivalent quality.&lt;/p&gt;

&lt;p&gt;The lesson under the numbers is more useful than the percentages themselves. The majority of queries don’t need the most expensive model. A trained dispatcher classifies task complexity and routes accordingly; the premium model gets engaged only when the cheaper tier fails or the complexity score crosses a threshold.&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%2Fe2oevkxqgox900nbm41j.jpg" 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%2Fe2oevkxqgox900nbm41j.jpg" alt="Holographic flow network with a central gatekeeper node routing data" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here’s how this looks in our own content pipeline. We run an autonomous agent stack on Anthropic Claude Opus, Sonnet, and z.ai GLM-5, with daily spend in the $15-20 range. Each pipeline stage is pinned to the model tier the task actually needs: GLM-5 for data gathering, Opus only when synthesis or judgment is required, Sonnet for art direction. The dispatcher isn’t a separate service; it’s the stage definition itself, because we pre-classified each stage during architecture. A config bug that sent all six content stages to Opus tripled the per-article cost before we caught it. Per-stage model pinning is what makes that recoverable.&lt;/p&gt;

&lt;p&gt;Dispatcher architecture earns its complexity when task complexity varies significantly. On a uniform workload, the dispatcher adds latency, code surface, and a place for bugs to hide without giving you a savings lever to pull. The decision rule: if your workload has at least two distinguishable complexity tiers (and most do, once you look), the dispatcher pays for itself. If everything is genuinely a high-end reasoning task, route directly and skip the dispatcher.&lt;/p&gt;

&lt;p&gt;Model pinning at the dispatcher layer is also a governance control. The &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-governance-practitioners-guide/" rel="noopener noreferrer"&gt;governance practitioner’s guide&lt;/a&gt; covers this overlap in more detail. Runtime model selection is one of the controls that protects against unintended escalation, security as well as cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agent decomposition lowers cost AND raises accuracy
&lt;/h2&gt;

&lt;p&gt;If one technique deserves to be at the top of the priority list once script substitution is done, it’s agent decomposition. The pattern: take a single task you’re sending to a large model and split it into a sequence of smaller subtasks, each running on a smaller model tier appropriate to that subtask.&lt;/p&gt;

&lt;p&gt;The economics are direct: if one large model is doing a process, that can be very expensive. Break it down into several smaller sub-steps with small models, and each one of those small models might cost a tenth or even a twentieth of the price of the larger model. Multiply that across the steps and the per-task spend drops dramatically.&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%2F2cn2jeac98ki1kkq328e.jpg" 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%2F2cn2jeac98ki1kkq328e.jpg" alt="Large glowing block dissolving into several smaller glowing blocks" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The non-obvious second benefit is the one most cost-optimization guides miss. Smaller models on focused subtasks often outperform a single large model on the bundled task. The reasons are mechanical: each subtask has narrower context, narrower failure modes (each step has one job, and you can evaluate it in isolation), and easier debugging. Accuracy goes up because the system is easier to reason about, not because the smaller models are individually smarter.&lt;/p&gt;

&lt;p&gt;Decomposition also frees you to run independent subtasks in parallel where the data flow allows it, which pulls latency down on top of cost. Three things move together: cost down, accuracy up, often speed up too. No trade-off.&lt;/p&gt;

&lt;p&gt;Decomposition has a cost of its own. It adds coordination overhead: state passing between steps, error handling at each boundary, monitoring across the chain. For single-call workflows or short pipelines, the overhead isn’t worth it. The threshold is roughly: if the task has at least three distinct phases that could plausibly run on different model tiers, decomposition pays. For a one-shot answer task with a uniform reasoning load, keep it monolithic.&lt;/p&gt;

&lt;p&gt;Our &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-deployment-operational-decisions/" rel="noopener noreferrer"&gt;deployment operational decisions&lt;/a&gt; article covers the lifecycle questions around when to decompose and when to consolidate. Decomposition is one of the moves you make as a system matures.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Haiku scratchpad case: make cheaper models smarter before escalating
&lt;/h2&gt;

&lt;p&gt;Sometimes you can get the answer quality of a higher tier at the price of a lower tier, not by switching models but by changing the prompt. The technique is to force the cheaper model to reason in writing before it answers. Give it a scratchpad (a file, a structured output field, anywhere it can lay out its thinking step by step) and require it to write reasoning before producing the final answer.&lt;/p&gt;

&lt;p&gt;Here’s a direct case: We ran a large-volume sandbox test on Haiku and another on Sonnet, measuring how often the model produced a failure (wrong decision, wrong recommendation) using a secondary LLM as evaluator against a fixed control criteria. Haiku failed 4% of the time. Sonnet failed 0% of the time. Per-call, Haiku was substantially cheaper, but the error rate made it look like Sonnet was the right choice.&lt;/p&gt;

&lt;p&gt;Then we changed the Haiku instructions: before producing an answer, write your reasoning to a scratchpad file. Only after that, give the answer. We re-ran 250 tests. The Haiku error rate moved from 4% to 0%. The per-run cost rose trivially, a few hundred extra output tokens of reasoning, and Haiku stayed substantially cheaper than Sonnet for the same volume of work. Sonnet-quality answers at Haiku prices.&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%2Fakv572vrmxa45gr0sjgg.jpg" 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%2Fakv572vrmxa45gr0sjgg.jpg" alt="Two professionals looking at analytical data on a shared screen" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The same approach works between Sonnet and Opus on harder tasks. Force the mid-tier model to write reasoning before answering, and the gap to the premium tier closes for some workloads. Not all. Scratchpad-forcing has limits. Some tasks genuinely need Opus-tier reasoning and no prompt design closes that gap.&lt;/p&gt;

&lt;p&gt;Before reaching for a model upgrade on high-volume tasks where the per-call cost delta is large, run the scratchpad test. The cases where it works are the cases where you save the most — and once again, all three axes move the right way: cost down, accuracy up, with a small speed cost from the extra output tokens that’s typically dwarfed by the spend reduction.&lt;/p&gt;

&lt;h2&gt;
  
  
  The optimization sequence
&lt;/h2&gt;

&lt;p&gt;In rough order of priority, here are the optimization levers you should look to start pulling:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Script substitution.&lt;/strong&gt; Audit the system for LLM calls that don’t require judgment. Replace them with scripts. Biggest savings, lowest complexity, fastest to ship. Days of work for sustained spend reduction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model pinning by stage.&lt;/strong&gt; If different parts of your system have different complexity requirements, pin each to the right model tier. Don’t run everything on Opus. Moderate complexity, large savings, weeks of work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dispatcher architecture.&lt;/strong&gt; Once stages are pinned, formalize the routing layer. A lightweight dispatcher in front of premium calls multiplies the savings from steps 1 and 2 and prevents future drift back to expensive defaults.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent decomposition.&lt;/strong&gt; Split monolithic tasks into focused subtasks running on appropriate tiers. Hits the cost+accuracy dual benefit, and unlocks parallelism on top. Higher engineering effort but the highest ceiling on savings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scratchpad-forcing on the smaller tier.&lt;/strong&gt; Before escalating to a larger model, force the cheaper one to write reasoning before answering. Often closes the quality gap at a trivial output-token cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context trimming and prompt compression.&lt;/strong&gt; Tools like Microsoft’s &lt;a href="https://www.microsoft.com/en-us/research/blog/llmlingua-innovating-llm-efficiency-with-prompt-compression/" rel="noopener noreferrer"&gt;LLMLingua&lt;/a&gt; compress long prompts by single-digit multiples with minimal semantic loss. Lower-leverage unless your prompts are unusually long, but worth measuring once the architectural moves are done.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Caching layers.&lt;/strong&gt; Prompt caching for repeated context and semantic caching for near-duplicate queries. Pure-cost wins when repeated context is common in your workload; cache hit rate is the predictor of value. You can also create fun hypercubes by caching the output of a multi-dimensional query struct and then cache each answer in higher order geometry and reduce your LLM costs to zero by serving identical outputs from identical inputs where the conditions are identical and skip your AI costs entirely.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Batch API and subscription balancing.&lt;/strong&gt; Discounts for non-time-sensitive workloads and subscription versus pay-as-you-go decisions. Real but modest savings, lowest engineering effort. Do these last.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The sequence above is what we’ve used across cost-optimization engagements with PrograMate.ai, Unleashed Consulting, Black Gazelle, AI Governance Portland Organization, and the Wiseman Group. In each case, the largest savings came from steps 1-4: substitution, pinning, dispatching, decomposition. The lower-leverage moves closed the remaining fraction of savings but were never where the heavy lifting happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Accuracy-Speed-Cost Triangle: the ceiling, not the starting point
&lt;/h2&gt;

&lt;p&gt;Once the structural moves above are done — calls that shouldn’t have been LLMs replaced with scripts, stages pinned to the right model tier, monolithic tasks decomposed and parallelized where possible, smaller models given scratchpads — you arrive at the &lt;strong&gt;Accuracy-Speed-Cost Triangle&lt;/strong&gt;. This is the end state. Up to this point, the right techniques made the system faster &lt;em&gt;and&lt;/em&gt; cheaper &lt;em&gt;and&lt;/em&gt; more accurate at the same time. From this point on, that stops being true.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-15-J-ai-cost-optimization-practitioner-framework-02-v2.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-15-J-ai-cost-optimization-practitioner-framework-02-v2.svg" alt="The Accuracy-Speed-Cost Triangle: trade-offs at the optimization ceiling (model downgrade, quantized models, context truncation, capping retries on the cost-accuracy edge; batch API on the cost-speed edge)" width="100" height="69.11764705882352"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The triangle has three corners — accuracy, speed, cost — and at the ceiling, every additional lever you pull moves two of them in opposite directions. To get cost down further, you have to give up speed, accept some quality drop, or both. Examples of choices that genuinely sit on the triangle:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Batch API for non-time-sensitive work.&lt;/strong&gt; Real cost savings, but the request now takes hours or a day instead of seconds. Trade: cost ↓, speed ↓.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model downgrade beyond what scratchpads can recover.&lt;/strong&gt; When you’ve already tried prompt design and the smaller tier still fails on a measurable share of your workload, taking the downgrade anyway buys cost at the price of accuracy. Trade: cost ↓, accuracy ↓.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quantized or distilled in-house models for high-volume routine work.&lt;/strong&gt; Cost falls, output quality narrows on edge cases. Trade: cost ↓, accuracy ↓ at the tails.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context truncation past the safe threshold.&lt;/strong&gt; The lossless compression already happened in the structural phase. Pushing further trades quality for incremental savings. Trade: cost ↓, accuracy ↓.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Capping retries, fallbacks, or self-correction loops.&lt;/strong&gt; Saves call volume, increases the rate at which the system ships a wrong answer. Trade: cost ↓, accuracy ↓.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All is not lost though once you reach the ceiling, because the ceiling itself moves. New model releases that match a higher tier’s quality at a lower price shift the triangle outward. A model capable enough to consolidate two stages of your decomposition into one moves it again. Provider pricing changes can move it overnight. Ideally you have the time to review your cost structure over time, especially after a major movement in the market.&lt;/p&gt;

&lt;h2&gt;
  
  
  Putting it together
&lt;/h2&gt;

&lt;p&gt;Teams that try cost optimization without an organizing framework may run into the following failure modes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reaching for the triangle before the structural moves.&lt;/strong&gt; Treating cost and quality as a tradeoff dial from day one, when most of the savings sit in techniques that improve both at once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optimizing the wrong layer.&lt;/strong&gt; Caching when the real waste is misallocated LLM calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chasing token price without checking quality.&lt;/strong&gt; Downgrading to a model that produces worse outputs and calling it a win. Or worse, downgrading the model and not testing sufficiently to validate the quality remained the same.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hidden ops costs in self-hosting.&lt;/strong&gt; The math rarely works at small or mid scale once you account for engineering time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dispatcher overhead on uniform workloads.&lt;/strong&gt; Adding routing complexity where there’s no complexity variance to benefit.&lt;/li&gt;
&lt;/ul&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%2Fir2073dm3ydy3r497rct.jpg" 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%2Fir2073dm3ydy3r497rct.jpg" alt="Ornate fountain in a sunset-lit plaza with holographic data mist" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to model the savings on your own system before changing anything, the &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-roi-calculator/" rel="noopener noreferrer"&gt;AI Agent ROI Calculator&lt;/a&gt; walks through the inputs that determine where your spend actually is. If you’d rather have someone come in and do the audit, that’s what our &lt;a href="https://fountaincity.tech/services/managed-autonomous-ai-agents/" rel="noopener noreferrer"&gt;managed autonomous AI agents&lt;/a&gt; service exists for. Either way, the same framework applies: find the architectural waste first, then the token waste, then the trade-offs at the ceiling, in that order.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How much can a typical AI system reduce costs through optimization?
&lt;/h3&gt;

&lt;p&gt;Industry benchmarks land in the 40-70% range for systematic optimization applied to a production system. When optimization compounds with process improvements, when the analysis reveals waste that was hiding in architectural decisions, order-of-magnitude reductions (200-1,000%) are achievable but not typical. Set expectations at 40-70% as the base case.&lt;/p&gt;

&lt;h3&gt;
  
  
  What’s the cheapest model that still produces production-quality output?
&lt;/h3&gt;

&lt;p&gt;It depends on the task, and the question is usually asked too early. Before picking a model tier at all, run the structural sequence: replace misallocated LLM calls with scripts, decompose monolithic tasks into smaller-tier subtasks, and try scratchpad-forcing on the smaller tier. After that, the cheapest model that hits your quality bar on a representative sandbox test is the answer — and it’s typically smaller than the one you’d have chosen without the structural pass.&lt;/p&gt;

&lt;h3&gt;
  
  
  When should I switch from a frontier model to a smaller one?
&lt;/h3&gt;

&lt;p&gt;After a sandbox test shows the smaller model meets your quality bar on a representative workload. Before tier-jumping down, try scratchpad-forcing on the smaller model. Sometimes you get the quality you need at the lower price without the switch.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do I decide between an LLM call and a deterministic script?
&lt;/h3&gt;

&lt;p&gt;Apply the Script-vs-LLM Substitution Rule. Scripts for determinism (defined inputs, defined outputs, mechanical transformation). LLMs for judgment (ambiguous input, context-dependent decisions, reasoning about trade-offs). If a task has a single right answer that doesn’t depend on context, it’s a script.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is self-hosting cheaper than paying API fees?
&lt;/h3&gt;

&lt;p&gt;Rarely at small or mid scale. The math looks tempting (GPU hours versus API fees) but the hidden costs (engineering time, MLOps tooling, model updates, downtime, security) dominate the bill in practice. Self-hosting starts paying off at scale levels most production systems don’t reach. At the scale where it does pay off, you usually want a hybrid: hosted for the high-volume routine work, API for spike-load and frontier-capability calls. This could change though over time as performance of self hosted models meet and exceed current higher tier models.&lt;/p&gt;

&lt;h3&gt;
  
  
  How does dispatcher routing actually work?
&lt;/h3&gt;

&lt;p&gt;A lightweight component (often a smaller model or a deterministic classifier) receives every inbound task and decides which downstream agent or model handles it. Stanford’s FrugalGPT cascade is the academic reference: try cheaper models first, escalate on failure or low confidence. RouteLLM trains the router on Chatbot Arena data to classify task complexity and pick the model tier. In production, the dispatcher can be a routing script that maps task type to model tier, or a trained classifier.&lt;/p&gt;

&lt;h3&gt;
  
  
  What’s the right balance between subscription pricing and API pay-per-use?
&lt;/h3&gt;

&lt;p&gt;Volume threshold. If your monthly usage consistently exceeds the breakeven point of a subscription tier, lock in. If it’s variable or below the breakeven, stay pay-as-you-go. For systems with mixed workload (steady baseline plus spike load), a hybrid often works: subscription for the baseline, API for the spikes. Re-evaluate quarterly as usage patterns shift.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I optimize cost without sacrificing quality?
&lt;/h3&gt;

&lt;p&gt;Yes — and it’s the default, not the exception, until you reach the triangle. Cost optimization that drops quality below tolerance is degradation of service, not optimization. The techniques that pull cost without dropping quality (substitution of misallocated calls, model pinning by stage, decomposition, scratchpad-forcing, prompt caching) are the ones to start with. Techniques that genuinely trade quality for cost belong at the ceiling, sparingly, and only with measurement.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long does it take to see ROI from AI cost optimization work?
&lt;/h3&gt;

&lt;p&gt;Model pinning: a week or two. Script substitution and dispatcher architecture: weeks to a month, depending on workload complexity. Full sequence including decomposition, caching, and batch processing: a few months for a mature production system. The savings start showing up in the bill immediately after the first deployment, which makes the work easier to justify than most engineering projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  What are the most common AI cost optimization mistakes?
&lt;/h3&gt;

&lt;p&gt;Starting at the wrong layer, going after caching and batch APIs before checking for misallocated LLM calls. Chasing token price without measuring quality, so you discover later that you switched to a cheaper model that fails more often. Hidden self-hosting costs that aren’t visible until the engineering time bill arrives. Adding dispatcher complexity on workloads that don’t have the complexity variance to benefit from routing. Every one of these traces back to reaching for tactical levers before doing the structural audit — treating the Accuracy-Speed-Cost Triangle as the diagnostic tool when it’s actually the ceiling.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>automation</category>
      <category>business</category>
    </item>
    <item>
      <title>Hermes Agent vs OpenClaw: When to Use Which (and When to Use Both)</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Fri, 15 May 2026 18:07:52 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/hermes-agent-vs-openclaw-when-to-use-which-and-when-to-use-both-6e5</link>
      <guid>https://dev.to/sebastian_chedal/hermes-agent-vs-openclaw-when-to-use-which-and-when-to-use-both-6e5</guid>
      <description>&lt;p&gt;Businesses comparing Hermes Agent and OpenClaw treat it as a winner-loser question. That framing is wrong. They are not competing for the same job. They are different layers of the same stack, and the right architecture for most agentic systems runs both, nested together, with Hermes driving and OpenClaw containing.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-13-J-hermes-vs-openclaw-02.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-13-J-hermes-vs-openclaw-02.svg" alt="Architecture diagram: OpenClaw Gateway outer container with blue infrastructure boxes and teal workflow agents on the left, Hermes Agent self-improving loop (Execute, Evaluate, Extract, Refine, Retrieve) on the right, connected via ACP" width="100" height="62.82051282051282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Architectural disagreement
&lt;/h2&gt;

&lt;p&gt;Hermes Agent and OpenClaw share a lot of surface area. Both run on your own devices, connect to messaging channels, schedule cron jobs, store persistent memory, delegate to subagents, and integrate browser and terminal tools. Read the feature lists side by side and you would conclude they are competitors.&lt;/p&gt;

&lt;p&gt;They are not, because they disagree on what the center of an agent system should be. Hermes is built around &lt;a href="https://hermes-agent.nousresearch.com/docs/" rel="noopener noreferrer"&gt;a closed learning loop&lt;/a&gt;: the agent executes a task, evaluates how it went, extracts a skill, refines it during subsequent runs, and retrieves the relevant pieces on future tasks. The agent is the load-bearing element.&lt;/p&gt;

&lt;p&gt;OpenClaw inverts that. The center of OpenClaw is the Gateway, &lt;a href="https://docs.openclaw.ai/gateway/protocol" rel="noopener noreferrer"&gt;the single control plane and node transport&lt;/a&gt; for the whole system. Agents are containers the Gateway routes work to. The framework is the load-bearing element, and agents are interchangeable workers inside it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where OpenClaw wins
&lt;/h2&gt;

&lt;p&gt;OpenClaw is the right call when the system needs strong containment and predictable workflows more than it needs deep reasoning inside any single agent. Three strengths matter:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Workflow state control.&lt;/strong&gt; The Gateway gives you an explicit, inspectable control plane for routing work between stages. When work fails, you know where it failed and what state it was in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent containerization.&lt;/strong&gt; Each agent is isolated — its own workspace, scoped tools, scoped permissions. One agent cannot accidentally run another agent’s code or read its files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool and skill scoping.&lt;/strong&gt; You declare which tools each agent can call. A research agent does not get write access to your CRM. A social-media agent does not get shell access to production.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The shape of the work matters more than the agent’s IQ. If the job is “run this five-stage pipeline every day, route failures to a human, and never let stage three write to production without approval,” OpenClaw is built for that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Hermes wins
&lt;/h2&gt;

&lt;p&gt;Hermes is the right call when the value of the system depends on what happens inside a single agent’s reasoning, not on the workflow that connects multiple agents.&lt;/p&gt;

&lt;p&gt;The differentiator is the self-reflective execution loop. Hermes does not just run tasks — it captures what worked, packages it as a reusable skill, improves the skill over time, and recalls the right piece of memory at the right moment. Nous Research describes Hermes as &lt;a href="https://hermes-agent.nousresearch.com/docs/" rel="noopener noreferrer"&gt;“the only agent with a built-in learning loop”&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;That difference compounds on two task types:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Long-horizon work picked up across sessions.&lt;/strong&gt; Multi-week projects where context drifts and “what did we decide last time?” is the most-asked question. Hermes is built to remember.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Higher-order reasoning with tight tool chaining.&lt;/strong&gt; Tasks where the agent has to plan, execute a tool, evaluate the result, choose a different tool, and iterate. OpenClaw can do this, but the loop is not first-class. In Hermes, the loop &lt;em&gt;is&lt;/em&gt; the agent.&lt;/li&gt;
&lt;/ul&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%2Fo0h9pe9w6ealzgrwztua.jpg" 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%2Fo0h9pe9w6ealzgrwztua.jpg" alt="Illustrated visualization of the Hermes Agent self-improving execution loop — a luminous brain-orb surrounded by five glowing feedback arcs representing continuous learning and skill refinement" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is ACP
&lt;/h2&gt;

&lt;p&gt;The Agent Communication Protocol is what makes running both frameworks together a real architectural choice rather than a duct-tape job.&lt;/p&gt;

&lt;p&gt;ACP is a standard for how one piece of software talks to an AI agent. The agent runs in one process. Something else — an editor, a framework, an orchestrator — runs in another. ACP defines the message format between them, so the client can send work, watch progress, see which tools the agent is using, approve sensitive actions, and receive responses. Hermes adopted ACP early and can run as &lt;a href="https://hermes-agent.nousresearch.com/docs/user-guide/features/acp" rel="noopener noreferrer"&gt;an ACP server&lt;/a&gt; any ACP-compatible client can drive.&lt;/p&gt;

&lt;p&gt;That last detail is the unlock. If Hermes can run as an ACP server, anything that speaks ACP — OpenClaw included — can use a Hermes agent as a node inside a larger system.&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%2F3e5g9lpgw50lli39pq6l.jpg" 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%2F3e5g9lpgw50lli39pq6l.jpg" alt="Illustrated bridge connecting two distinct AI framework architectures — blue geometric orchestration structure on the left linked to warm amber neural lattice on the right via the Agent Communication Protocol" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The “Hermes drives, OpenClaw contains” pattern
&lt;/h2&gt;

&lt;p&gt;In an agent system where you need both workflow containment and self-reflective reasoning, you nest them.&lt;/p&gt;

&lt;p&gt;OpenClaw is the outer container — control plane, messaging channels, scheduled jobs, multi-agent routing, tool and skill permissions. Inside, most agents are focused workflow executors. For the agents whose value depends on reasoning and learning over time, you run a Hermes agent as a node, exposed over ACP.&lt;/p&gt;

&lt;p&gt;A concrete example: an outbound ABM system. The orchestration — sequencing stages, managing timing between touches, handling bounces, routing hot responses to a human — is OpenClaw’s job. The reasoning inside research and personalization is where Hermes earns its place. For each target account, Hermes builds a living profile: who the real influencers are, what language resonates, which angles have gotten traction. Each interaction feeds back into the profile. Over time, Hermes develops a sharper model of each account.&lt;/p&gt;

&lt;p&gt;Hermes drives the reasoning inside the work. OpenClaw contains it.&lt;/p&gt;

&lt;h2&gt;
  
  
  A two-question decision framework
&lt;/h2&gt;

&lt;p&gt;If you are deciding what to build, separate two questions before any vendor pitches you a framework.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Does the system need workflow containment, or higher-order reasoning inside a single agent?&lt;/strong&gt; Containment means predictable stages, isolated agents, scoped tools, explicit hand-offs. Higher-order reasoning means a single agent that gets smarter at your specific job over time. Different problems, different solutions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Do you need both?&lt;/strong&gt; If the answer is “actually, both” — which for most production systems past a certain complexity it is — then a nested architecture is the answer. Hermes inside OpenClaw, communicating over ACP.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a vendor pitches “we just use [single framework] for everything,” ask which of the two needs they are choosing not to meet. There is always a tradeoff, and a vendor who does not know what they are giving up is not the vendor you want building your agent system. &lt;a href="https://fountaincity.tech/resources/blog/top-ai-agent-development-companies/" rel="noopener noreferrer"&gt;Picking a builder&lt;/a&gt; is at least as consequential as picking a framework.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bottom line
&lt;/h2&gt;

&lt;p&gt;Hermes packages a gateway around an agent; OpenClaw packages agents inside a gateway. The difference is which load-bearing element your system needs. For a single specialist agent that learns one domain over time, pick Hermes. For a multi-stage workflow with several agents, different permissions, and broad channel reach, pick OpenClaw. For sophisticated systems that need both — pick a vendor who knows how to nest them. &lt;a href="https://fountaincity.tech/services/agentic-development/" rel="noopener noreferrer"&gt;Agentic development&lt;/a&gt; is the discipline of architecting the whole system: frameworks, agents, tool scopes, deployment, monitoring, and recovery. The framework is the floor. The rest is the discipline.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>architecture</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Anthropic&amp;#8217;s Multi-Agent Blueprint: What Production Constraints Add</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Mon, 11 May 2026 18:06:52 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/anthropic8217s-multi-agent-blueprint-what-production-constraints-add-2fm7</link>
      <guid>https://dev.to/sebastian_chedal/anthropic8217s-multi-agent-blueprint-what-production-constraints-add-2fm7</guid>
      <description>&lt;p&gt;&lt;a href="https://www.anthropic.com/engineering/multi-agent-research-system" rel="noopener noreferrer"&gt;Anthropic’s engineering team published one of the cleanest write-ups available on how a multi-agent system actually works in practice&lt;/a&gt;. The post is about Claude Research, an orchestrator-subagent pattern built for breadth-first research. The architecture is optimized for a particular task class, and the price of admission is a roughly fifteenfold token cost compared to a chat conversation. That cost is the tradeoff the system makes on purpose.&lt;/p&gt;

&lt;p&gt;Most production systems make different tradeoffs. They run under cost ceilings, accuracy SLAs, speed budgets, and error rates that the research context does not impose. The blueprint’s patterns travel — orchestrator delegation, parallel subagents, condensed-return artifacts, end-state evaluation — but the architecture that emerges from applying them under production pressure is rarely the architecture in the post. The choices look the same up close and different at the system level.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-08-J-anthropic-multi-agent-blueprint-production-02-fixed.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-08-J-anthropic-multi-agent-blueprint-production-02-fixed.svg" width="100" height="40.816326530612244"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The blueprint is for breadth-first research, and the cost multiplier travels with it
&lt;/h2&gt;

&lt;p&gt;Anthropic’s system is built for a specific kind of work: research where the question is large, the directions are independent, and the answer is worth a lot of tokens. The lead agent plans an approach, spins up subagents to explore in parallel, and reconciles their findings against citations. On Anthropic’s internal evaluation, a multi-agent setup with Claude Opus 4 as lead and Claude Sonnet 4 subagents &lt;a href="https://www.anthropic.com/engineering/multi-agent-research-system" rel="noopener noreferrer"&gt;outperformed single-agent Claude Opus 4 by 90.2%&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The number that matters more: multi-agent systems use about 15x more tokens than chat interactions. The cost multiplier is the price of admission to the architecture. If the task does not decompose into parallel directions, you pay it without earning it.&lt;/p&gt;

&lt;p&gt;Anthropic is direct about the limit: “domains that require all agents to share the same context or involve many dependencies between agents are not a good fit for multi-agent systems today.” That is the boundary of where the architecture earns its keep. Tasks with tightly-coupled state, sequential dependencies, or shared mutable context will hit coordination overhead faster than they hit parallelism gains.&lt;/p&gt;

&lt;p&gt;The first decision is whether the task is in the right shape for the pattern. If it is a research-style problem with independent directions, parallel subagents are doing real work. If it is a workflow with chained dependencies, a single agent or a deterministic pipeline with smaller agents inside it usually wins on cost and reliability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Token budget, not prompt cleverness, is the dominant performance lever
&lt;/h2&gt;

&lt;p&gt;Anthropic’s variance analysis is the more useful diagnostic. In their BrowseComp evaluation, &lt;a href="https://www.anthropic.com/engineering/multi-agent-research-system" rel="noopener noreferrer"&gt;token usage by itself explained 80% of performance variance&lt;/a&gt;. Tool-call count and model choice were the other two factors. Prompt phrasing, instruction style, and the things teams typically iterate on did not show up as primary drivers.&lt;/p&gt;

&lt;p&gt;The implication is practical. When a single-agent system plateaus on a complex task, the first question is whether it is context-bound, not whether the prompt needs more polish. A polished prompt cannot exceed the model’s working context. A multi-agent system, with separate context windows for each subagent, can. That is the mechanism, more than better instruction-following or any cleverness in the orchestrator.&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%2Fzttm5kkn1kf99wor2hue.jpg" 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%2Fzttm5kkn1kf99wor2hue.jpg" alt="Abstract isometric data lattice showing concentrated data flow representing token overhead in multi-agent orchestration" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Multi-agent’s main contribution to performance is parallel reasoning across more aggregate context than a single agent can hold. If the task fits inside one agent’s effective working window, the multiplier is rarely worth it. If the task genuinely needs more context than one agent can hold and the directions are independent, parallelism earns the cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Orchestrator delegation is a four-part contract that prevents agentic drift
&lt;/h2&gt;

&lt;p&gt;The orchestrator-subagent split looks simple from a diagram and gets complicated in practice. Anthropic’s contract for each subagent: an objective, an output format, guidance on which tools and sources to use, and clear task boundaries. Miss any of the four and the subagent drifts — not because the model is poorly behaved, but because the orchestrator did not specify enough for it to know what done looks like.&lt;/p&gt;

&lt;p&gt;Effort-scaling is part of that contract. Anthropic’s prompts embed concrete rules: &lt;a href="https://www.anthropic.com/engineering/multi-agent-research-system" rel="noopener noreferrer"&gt;1 agent for simple fact-finding, 2 to 4 subagents for direct comparisons, and more than 10 subagents for complex research&lt;/a&gt;. Without rules like these, the lead agent over-scales — spinning up subagents for problems a single call could answer — and the cost multiplier compounds against you.&lt;/p&gt;

&lt;p&gt;Tool ergonomics is the other load-bearing piece. The contract is only as good as the tool surface it points to. Anthropic ran a tool-testing agent that exercised flawed MCP tool descriptions, identified the failure patterns, and rewrote the descriptions; future agents using the rewritten tools cut task completion time by 40%. The orchestrator’s instructions assume the tools they describe behave the way the descriptions claim. When tool descriptions are vague or misleading, every downstream agent pays the tax.&lt;/p&gt;

&lt;p&gt;Order of operations: get the four-part contract right, embed effort-scaling rules in the orchestrator prompt, then audit your tool descriptions before iterating on anything else. The contract and the tools are upstream of every other lever.&lt;/p&gt;

&lt;h2&gt;
  
  
  Context handling is external-memory-first, not bigger-context-first
&lt;/h2&gt;

&lt;p&gt;The instinct on context limits is usually to ask for a larger window. Anthropic’s architecture does the opposite. The lead researcher saves its plan to memory before context fills, because &lt;a href="https://www.anthropic.com/engineering/multi-agent-research-system" rel="noopener noreferrer"&gt;past 200,000 tokens the context window can be truncated&lt;/a&gt; and the plan needs to survive. The architectural choice is to externalize early, not to chase larger windows.&lt;/p&gt;

&lt;p&gt;The artifact pattern earns its place here. Instead of subagents reporting findings back through chat-style returns — long, lossy, expensive on lead-agent tokens — they write to a shared filesystem and return a lightweight reference. The lead agent does not re-read every detail; it gets a pointer and pulls what it needs. The pattern is not unique to Anthropic, but their post implies it through the memory system; practitioners across the industry have been naming it the artifact pattern because it solves a specific failure mode: the game of telephone, where information loses fidelity each time it passes from subagent to lead.&lt;/p&gt;

&lt;p&gt;Fresh-context resets between sub-tasks are a deliberate design choice. If state lives outside the agents, the agents do not need to carry it in their context windows. “Bigger context” also stops being the answer to most context problems; the right move when an agent struggles with a long task is usually to externalize state and reset.&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%2Fea2npu2zg5e5xjqv47l1.jpg" 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%2Fea2npu2zg5e5xjqv47l1.jpg" alt="Two developers in a modern office looking at architecture diagrams, reflecting on multi-agent ai system design" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Evaluation grades outcomes, not the path the agent took
&lt;/h2&gt;

&lt;p&gt;Evaluation is where multi-agent systems get the strangest. The path the agent takes through a complex task is rarely the path you would have prescribed in advance. Anthropic’s guidance: “judge whether agents achieved the right outcomes while also following a reasonable process.” Outcomes are graded; paths are observed but not required to match a template.&lt;/p&gt;

&lt;p&gt;The mechanism most teams reach for is LLM-as-judge with a structured rubric — factual accuracy, citation accuracy, tool efficiency — producing a 0.0 to 1.0 score per output. The score does not substitute for human review; it scales review across thousands of runs without reading every trace by hand.&lt;/p&gt;

&lt;p&gt;For state-mutating agents, end-state evaluation is the cleaner framing. Ignore the path entirely. Compare the final environment state to the goal state. Did the document get written, the ticket get closed, the file get moved? If yes, the agent succeeded — even if the trace looks meandering. Letting the agent iterate over its own process tends to produce better runs than prescribing the process up front, because the right path is often not knowable in advance.&lt;/p&gt;

&lt;p&gt;Scoring is necessary but not sufficient. Production agents need traces, audit trails, and the ability to investigate a failure that scored well on the rubric but cost too much or used the wrong tool. The governance layer for production agents sits underneath evaluation, supplying the visibility scoring alone cannot provide.&lt;/p&gt;

&lt;h2&gt;
  
  
  Production constraints reshape the decisions the blueprint leaves to defaults
&lt;/h2&gt;

&lt;p&gt;The blueprint and production part company here. Anthropic’s research context has no fixed daily cost ceiling, no hard accuracy SLA, no sub-second response budget, no error-rate threshold tied to revenue. Most production systems have at least one, often all four. The architecture decisions a team makes under those pressures are not the decisions the blueprint defaults to.&lt;/p&gt;

&lt;p&gt;A few of the gaps the blueprint leaves to the reader:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Long-running state across sessions.&lt;/strong&gt; The Claude Research system is session-bounded. A research run starts and finishes. Production agents often need to operate across days or weeks: a content pipeline that watches for new briefs, an operations agent that monitors a system continuously, an integration agent that processes events as they arrive. State across sessions is a different problem than state within one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failure cascades when a subagent fails mid-orchestration.&lt;/strong&gt; The blueprint describes the happy path. Production has to handle a subagent that times out, returns malformed output, hits a rate limit, or fails its tool call. The lead agent needs to know whether to retry, fail over, partial-result, or abort the whole run, and that logic is not in the blueprint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-model pinning.&lt;/strong&gt; Anthropic uses one model family throughout. Production teams often need a specific model version pinned for a specific job — partly for accuracy stability across runs, partly for cost control, partly because behavior changes between model versions can break workflows that depended on the old behavior.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runaway-spend protection.&lt;/strong&gt; The 15x cost multiplier compounds quickly when something misbehaves. A subagent that recursively spawns or a tool that returns oversized results can burn through a daily budget in minutes. The blueprint does not address circuit breakers, budget caps, or per-run cost ceilings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stateful resumption.&lt;/strong&gt; When a long-running agent fails, restarting from scratch is wasteful. Checkpointing so the agent can resume from its last decision point, not its first, changes the cost economics of long jobs significantly. The blueprint mentions resumption in passing but does not treat it as a first-class architectural concern.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One example of how production pressures push toward different choices: in a content pipeline that runs autonomous agents end-to-end, fixed downstream crons were replaced with &lt;a href="https://fountaincity.tech/resources/blog/completion-triggered-orchestration-ai-pipeline/" rel="noopener noreferrer"&gt;completion-triggered orchestration&lt;/a&gt; so that downstream stages fire the moment the previous stage finishes, instead of waiting for a scheduled tick. That is not a choice the blueprint suggests, because the blueprint is not session-spanning; production constraints make it obvious. Different pressures, different decisions.&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%2F3t4nfml6y3vwiws81iik.jpg" 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%2F3t4nfml6y3vwiws81iik.jpg" alt="Technical art showing a central processing node protected by thick amber hexagonal shields, symbolizing runaway-spend protection in ai agent architecture" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The general pattern across these gaps: the blueprint optimizes for a single bounded run with a research outcome as the deliverable, while production systems usually optimize for repeated runs with reliability, predictable cost, and operational containment as the deliverables. Those are not opposing goals, but they push the architecture toward different shapes. A research system can afford to retry an entire run when something goes wrong; a production system that does that on every failure burns its budget and its SLA. A research system can afford to use the strongest available model throughout; a production system often pins a smaller model for the subagent tier because the cost difference compounds across thousands of calls per week.&lt;/p&gt;

&lt;p&gt;Read the blueprint as a high-quality reference architecture for the task class it targets. Treat the patterns as primitives (orchestrator delegation, parallel subagents, condensed-return artifacts, end-state evaluation) and let the production constraints you are actually operating under decide how those primitives compose. The architecture lives in the composition, with each pattern earning its place in context.&lt;/p&gt;

&lt;h2&gt;
  
  
  When not to go multi-agent, and the question that comes first
&lt;/h2&gt;

&lt;p&gt;Before “should I use a multi-agent architecture?” comes a different question: what job am I trying to remove from human supervision?&lt;/p&gt;

&lt;p&gt;Multi-agent systems earn their keep when they reduce work; they fail when they multiply things to manage. A team running a single agent that already does its job well does not need a multi-agent architecture; it needs a clearer success metric and maybe a better tool surface. A team that has identified a research-shaped problem with independent directions and budget headroom for the cost multiplier is in the right place for the pattern.&lt;/p&gt;

&lt;p&gt;A few heuristics for when single-agent or deterministic-workflow architectures are usually the right call:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tightly-coupled context.&lt;/strong&gt; If every agent needs the same shared state and changes propagate across the system, the coordination cost will exceed the parallelism gain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sequential dependencies.&lt;/strong&gt; If step B requires step A’s output and step C requires step B’s output, you have a pipeline, not a parallel workload. A pipeline of small agents is usually simpler and cheaper than an orchestrator-subagent decomposition for the same work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic workflow surface.&lt;/strong&gt; If the steps are knowable in advance and the failure modes are predictable, a deterministic workflow with self-improvement scoped to skill optimization will be more reliable than a general-purpose agent picking between dozens of tools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Insufficient budget for the cost multiplier.&lt;/strong&gt; If the daily or per-run budget cannot absorb the token overhead, the architecture is the wrong tool for the budget.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For mid-market teams, complexity is its own failure mode. Every additional agent is another component to manage, debug, monitor, and pay for. Lower-order simple agents nested inside larger loops often produce better outcomes than a general-purpose multi-agent system trying to do everything. The mistake to avoid is adding agents because the architecture diagram looks impressive; the goal is to remove jobs from human supervision, never to create more agents for a human to supervise.&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%2Fwtnsb7gwtal3i3249n8e.jpg" 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%2Fwtnsb7gwtal3i3249n8e.jpg" alt="Lattice wireframe fountain structure with emerald and amber nodes cascading downward, representing fluid data pathways" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sharper than “single or multi”: if I did not need to supervise this work, and the agent did it as well as or better than a person doing it today, what would that unlock? When the answer is concrete — a person freed up for higher-value work, a process that runs overnight, a backlog that clears without intervention — the architecture that earns its keep is the one that delivers that outcome with the fewest moving parts. The shape of the answer often points at &lt;a href="https://fountaincity.tech/resources/blog/level-5-ai-maturity-goal-directed-autonomous-agents/" rel="noopener noreferrer"&gt;where you are on the autonomy spectrum&lt;/a&gt; and what the next step is.&lt;/p&gt;

&lt;p&gt;Anthropic’s blueprint documents one such point well. For any team adopting it, the work is to know which pressure the system is being built under, and to let that pressure shape the architecture that emerges. Same patterns, different production constraints, different decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is Anthropic’s multi-agent research system?
&lt;/h3&gt;

&lt;p&gt;Anthropic’s multi-agent research system, used in their Claude Research product, is an orchestrator-subagent architecture for breadth-first research. A lead agent plans the research approach and saves its plan to memory; it then spins up parallel subagents to explore independent directions, each with its own context window and tool access. Subagents return condensed findings, often via a shared memory store rather than long chat-style returns, and the lead agent reconciles them into a final answer with citations. On Anthropic’s internal evaluation, this setup outperformed a single Claude Opus 4 agent by 90.2% on their research eval.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the orchestrator-subagent (orchestrator-worker) pattern?
&lt;/h3&gt;

&lt;p&gt;The orchestrator-subagent pattern, sometimes called orchestrator-worker, is a multi-agent design where one agent decomposes a task and delegates pieces of it to other agents. The orchestrator does not do the work itself; it plans, dispatches, and integrates results. Each subagent receives an objective, an output format, guidance on which tools and sources to use, and clear task boundaries. The pattern fits tasks that decompose naturally into independent directions and where parallel exploration is faster than sequential execution. It does not fit tasks with tightly-coupled context or heavy dependencies between subagents.&lt;/p&gt;

&lt;h3&gt;
  
  
  When should I use a multi-agent architecture vs. a single agent?
&lt;/h3&gt;

&lt;p&gt;Use multi-agent when the task is breadth-first, the directions are independent, the aggregate context exceeds what a single agent can hold, and the budget can absorb the cost multiplier. Use single-agent when the task fits inside one context window, when steps are sequential, when the workflow is deterministic enough to specify, or when the budget is tight. The blueprint itself flags shared-context and high-dependency domains as poor fits for multi-agent. Most production tasks land closer to single-agent or deterministic-pipeline shapes than to research-style multi-agent shapes.&lt;/p&gt;

&lt;h3&gt;
  
  
  How does Anthropic’s multi-agent system handle context limits?
&lt;/h3&gt;

&lt;p&gt;Anthropic’s system handles context limits by externalizing state to memory rather than chasing larger context windows. The lead researcher saves its plan to memory before context fills, because the context window can be truncated past a certain length. Subagents write findings to a shared filesystem and return lightweight references — the artifact pattern — so the lead agent does not re-read every detail through chat-style returns. Fresh-context resets between sub-tasks are part of the same strategy: state lives outside the agents, so agents can reset without losing it.&lt;/p&gt;

&lt;h3&gt;
  
  
  How much more expensive is a multi-agent system than a single agent?
&lt;/h3&gt;

&lt;p&gt;Anthropic reports that multi-agent systems use roughly 15x more tokens than a chat conversation on the same surface task. The multiplier is the cost of running parallel subagents with their own context windows and tool calls. If the task is breadth-first and decomposes into independent directions, the multiplier buys parallelism that exceeds a single context window. If the task does not decompose, you pay the multiplier without earning it. Production teams often add cost circuit breakers and per-run budget caps because the multiplier compounds quickly when something misbehaves.&lt;/p&gt;

&lt;h3&gt;
  
  
  What does Anthropic’s blueprint not cover about production agent systems?
&lt;/h3&gt;

&lt;p&gt;The blueprint focuses on session-bounded research and leaves several production concerns to the reader: long-running state across days or weeks, failure cascades when a subagent fails mid-orchestration, multi-model pinning for accuracy stability and cost control, runaway-spend protection through circuit breakers and budget caps, and stateful resumption from a checkpoint instead of a full restart. These are not flaws in the blueprint; they are concerns that emerge when the same patterns are applied under production constraints — cost ceilings, accuracy SLAs, speed budgets, error rates — that the research context does not impose.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Building autonomous agent systems under production constraints is the work we do every day. If you’re evaluating multi-agent architecture for a real job and want a practitioner’s view on where the patterns earn their keep, our &lt;a href="https://fountaincity.tech/services/managed-autonomous-ai-agents/" rel="noopener noreferrer"&gt;managed autonomous AI agents&lt;/a&gt; service is the closest place to start.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>AI Agent Deployment: The Operational Decision at Each Stage</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Fri, 08 May 2026 18:07:21 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/ai-agent-deployment-the-operational-decision-at-each-stage-5cn1</link>
      <guid>https://dev.to/sebastian_chedal/ai-agent-deployment-the-operational-decision-at-each-stage-5cn1</guid>
      <description>&lt;p&gt;Most teams running an AI agent pilot are being asked the same question right now: what do we build next? The published guidance is a stack of vendor maturity models that name the stages without naming the decisions inside them, and the team ends up debating models, prompts, and platforms while the pilot stalls.&lt;/p&gt;

&lt;p&gt;A March 2026 &lt;a href="https://www.digitalapplied.com/blog/ai-agent-scaling-gap-march-2026-pilot-to-production" rel="noopener noreferrer"&gt;Digital Applied&lt;/a&gt; survey found that 78% of surveyed enterprises had at least one agent pilot running and only 14% had scaled an agent to production-grade, organization-wide operation.&lt;/p&gt;

&lt;p&gt;The same dataset surfaced something that reframes the problem: organizations with production-scale deployments did not have larger AI budgets than the organizations whose pilots stalled. They allocated the budget differently. Less on model selection and prompt engineering, more on evaluation infrastructure, monitoring tooling, and operational staffing. The teams that crossed into production reallocated. They did not outspend.&lt;/p&gt;

&lt;p&gt;That finding changes what the deployment stages are for. Each stage has one operational decision that either reinforces the misallocation or breaks it. Get the decision right and the next stage gets cheaper. Get it wrong and you spend the next quarter rediscovering the same problems at higher volume.&lt;/p&gt;

&lt;p&gt;This article walks the four operational decisions: workflow scope at pilot, monitoring placement at single-agent production, shared-state ownership at multi-agent coordination, and completion triggers at autonomous orchestration. It also covers the shape of governance cost across the stages, when to stay one stage longer, and the mechanism we run at each stage in our own production pipeline.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-06-J-ai-agent-deployment-operational-decisions-02.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F05%2F2026-05-06-J-ai-agent-deployment-operational-decisions-02.svg" alt="Four AI agent deployment stages diagram — Pilot, Single Agent, Multi-Agent, and Orchestration with operational decisions and governance layers" width="100" height="67.3076923076923"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The deployment problem is mostly an allocation problem
&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%2F8q7mtm6glap2k9emlpdu.jpg" 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%2F8q7mtm6glap2k9emlpdu.jpg" alt="Business professional reviewing data analytics dashboard showing budget allocation metrics in a modern office environment" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Digital Applied survey is the first dataset we have seen that quantifies what production-scale AI agent teams did differently. It is not what most vendor decks would predict. The teams that made it across had comparable AI budgets to the teams that stalled. The difference was where the dollars went.&lt;/p&gt;

&lt;p&gt;The blocking factors stalled organizations cited are mostly operational, not modeling. Output quality at volume, monitoring and observability, and organizational ownership are all the work that happens after a model is chosen, after a prompt is tuned, after the demo is approved. The single most-cited operational gap was monitoring and observability, named by 54% of stalled organizations as a blocking factor. That figure shows up again in the Dynatrace work cited later, and it is the one to anchor on: more than half of stalled deployments cannot see what their agents are doing.&lt;/p&gt;

&lt;p&gt;The misallocation pattern is recognizable. A team finishes a successful pilot. The next quarter’s budget conversation centers on which model to upgrade to, which prompt strategy to standardize on, which platform to consolidate on. The evaluation harness, the monitoring layer, and the operational headcount are deferred to “after we get the architecture right.” By the time the architecture is settled, the budget for the deferred work is gone, and the agents are running in production without the operational scaffolding they need to scale.&lt;/p&gt;

&lt;p&gt;Each of the four deployment stages has one decision that breaks this pattern. Each decision puts a load-bearing piece of operational scaffolding in place before the misallocation can compound. The decisions are not abstract. We have made each of them in our own production agent pipeline, watched the failure modes when we got each one wrong, and rebuilt accordingly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pilot stage: the decision is workflow scope
&lt;/h2&gt;

&lt;p&gt;Most pilots are scoped for demo appeal. Someone picks a workflow that will produce a compelling video, the team ships an agent that handles the happy path, and the pilot is declared a success. Then production handoff begins, and integration complexity, the most-cited scaling gap in the Digital Applied data, surfaces all at once. The pilot was never scoped to the messy edges of the workflow it claimed to automate.&lt;/p&gt;

&lt;p&gt;The pilot decision is workflow scope. Scope governs every downstream cost. Pick a workflow with a clean input boundary, a measurable success metric, and a defined incident response, and the next three stages inherit a workable foundation. Pick a workflow that looks good in a slide deck, and you are paying for that scope decision for a year.&lt;/p&gt;

&lt;p&gt;The mechanism is to define exit criteria at pilot start, not at production handoff. Three concrete criteria, written down before the agent runs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Task volume threshold.&lt;/strong&gt; What rate of work does the agent need to handle to be worth running in production? If the answer is “we will figure it out,” the pilot is not scoped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quality measurement.&lt;/strong&gt; What does a wrong answer look like, and how is it caught? The answer cannot be “the user will tell us.” Production agents cost money per run; you need a quality signal that does not depend on a human checking every output.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incident response.&lt;/strong&gt; When the agent fails, what happens? Who gets paged? What runs in its place? “We will roll back” is not a plan if the agent is the only thing producing the work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the pilot cannot answer those three questions, the next stage is going to be operational firefighting. Worth pairing this stage with an honest &lt;a href="https://fountaincity.tech/resources/blog/ai-readiness-evaluation/" rel="noopener noreferrer"&gt;AI readiness evaluation&lt;/a&gt; across data, governance, and culture before you commit to scaling the agent.&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%2F1z5z5buonq86zvo5wmct.jpg" 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%2F1z5z5buonq86zvo5wmct.jpg" alt="Single white AI robot at a workstation — representing a solo AI agent in a pilot deployment" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Single-agent production: the decision is monitoring placement
&lt;/h2&gt;

&lt;p&gt;The pilot’s quality gate was a human in the loop. Production needs a different gate, and “we will add observability later” is the dominant failure pattern at this stage. A separate &lt;a href="https://www.dynatrace.com/news/blog/agentic-ai-report-new-observability-strategy/" rel="noopener noreferrer"&gt;Dynatrace survey&lt;/a&gt; reports that a substantial share of leaders still rely on manual methods to monitor agent interactions — not an artifact of small deployments, but the operating reality of organizations that already have agents in production.&lt;/p&gt;

&lt;p&gt;The single-agent production decision is monitoring placement. It has to be set before the agent goes live, not bolted on after the first incident. Three layers belong in place at deploy time:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Traces.&lt;/strong&gt; Every agent run produces a structured trace: inputs, tool calls, outputs, duration, cost. Without traces, you cannot diagnose a failure that did not raise an exception.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evaluation harness.&lt;/strong&gt; A reference set of inputs and expected behaviors that runs before any change to the prompt, the model, or the tooling. Without an eval harness, every change is a guess.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost circuit breaker.&lt;/strong&gt; A spending threshold that alerts at one level and halts the agent at another. Agents fail in directions that traditional monitoring does not catch. They keep running, just badly and expensively. Our own production pipeline holds to a predictable daily AI infrastructure baseline only because the cost-defense layers were built before the agents were turned on, not after the first runaway.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The order matters. Traces are the diagnostic substrate. The evaluation harness sits on top, using traces to score behavior. The cost circuit breaker is the last-resort guard for the failure modes that the evaluation harness does not catch in time. Build them in that order, and the next stage, multi-agent coordination, has the diagnostic data it needs. Skip the order, and the next stage is debugged from log files. The per-layer architecture is in the &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-cost-circuit-breaker/" rel="noopener noreferrer"&gt;cost circuit breaker article&lt;/a&gt;. It is the single piece of single-agent infrastructure we would not deploy without.&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%2F1tv62e1io5oacf5phv4f.jpg" 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%2F1tv62e1io5oacf5phv4f.jpg" alt="Business professional monitoring AI agent system performance at a multi-screen workstation with observability dashboards" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Multi-agent coordination: the decision is shared-state ownership
&lt;/h2&gt;

&lt;p&gt;Multi-agent failures look different from single-agent failures. They are not crashes. They are agents stepping on each other’s work, losing track of items in flight, and producing results that contradict each other because each agent inferred the state of the system from a different source. The loss is operational drift rather than catastrophic failure, which is harder to detect.&lt;/p&gt;

&lt;p&gt;The multi-agent decision is shared-state ownership. Most of these failures trace to a single cause: agents are assumed to be isolated when they are context-coupled. They touch the same work, but no one named the canonical source of truth.&lt;/p&gt;

&lt;p&gt;The mechanism is to name one explicit state owner for each piece of shared context, and require every agent to read and write through it. A file, a table, a queue, a database row: the form does not matter. What matters is that there is one place where the system’s state lives, and no agent infers state from another agent’s output.&lt;/p&gt;

&lt;p&gt;In our own pipeline, the canonical state lives in two structured files: one tracks the production status of every content item, and the other tracks topic-level metadata across the inventory. Every agent in the pipeline reads from those files at the start of its work and writes to them at the end. No agent guesses where the work is by reading another agent’s draft. That single architectural decision, a named state owner, eliminated an entire class of failure that had been showing up as “missing items” and “duplicate work” before we made it. The broader pipeline architecture is documented &lt;a href="https://fountaincity.tech/resources/blog/inside-autonomous-ai-content-pipeline/" rel="noopener noreferrer"&gt;in detail&lt;/a&gt;, but the load-bearing decision at this stage is the state-ownership one, not the pipeline shape.&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%2F7obph18k2zkypvtiddms.jpg" 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%2F7obph18k2zkypvtiddms.jpg" alt="Two white AI robots at adjacent workstations coordinating tasks — representing multi-agent AI deployment" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The reason this works: shared state is the point at which multi-agent systems either become a coordinated team or a set of agents producing parallel inconsistent outputs. The investment goes into one well-designed shared structure, not into many ad-hoc handoffs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Autonomous orchestration: replace fixed schedules with completion triggers
&lt;/h2&gt;

&lt;p&gt;By the time a system has multiple agents in production, the orchestration layer becomes the bottleneck. Variable-duration AI work breaks fixed-schedule orchestration. The symptom is items waiting between stages: a research stage finishes at 11:14am, but the writing stage runs at noon, so the item sits for 46 minutes for no operational reason. Multiply that across a dozen stages and the lag compounds.&lt;/p&gt;

&lt;p&gt;The autonomous orchestration decision is to move from fixed schedules to completion triggers. Only the entry point of the pipeline runs on a clock. Every downstream stage fires when the previous stage signals completion. The plumbing is straightforward: a stage finishes, writes its output, and calls the next stage.&lt;/p&gt;

&lt;p&gt;The numbers are concrete. Under our previous fixed-schedule design, a piece of work that could move through the pipeline in two to three hours was taking six to twelve. After replacing the fixed crons with completion triggers, the two-to-three-hour window held. The full design and the failure modes that drove it are in the &lt;a href="https://fountaincity.tech/resources/blog/completion-triggered-orchestration-ai-pipeline/" rel="noopener noreferrer"&gt;completion-triggered orchestration piece&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;One caveat that matters more than the orchestration win itself: completion triggers compound failures faster than fixed schedules do. A bug in stage three under fixed scheduling waits until tomorrow’s run to surface. A bug under completion triggering fires the next stage immediately, which fires the next, which can produce a cascade of bad outputs in minutes. So this stage’s decision has a dependent decision attached: pair completion triggers with anti-loop guards, retry caps, and the cost circuit breaker from the single-agent stage. The orchestration speed-up is real. So is the failure speed-up. Both have to be designed for at the same time.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cost of governance is per-stage, and the curve is steeper than vendors imply
&lt;/h2&gt;

&lt;p&gt;Governance dollars do not scale linearly across the four stages. They scale by what the stage requires you to monitor. A single-agent production system needs evaluation and alerting. A multi-agent system adds shared-state audit and per-agent identity. An autonomous orchestration system adds completion-trigger guards, recovery infrastructure, and an anti-loop layer.&lt;/p&gt;

&lt;p&gt;The shape matters more than the dollar figure. Our own ranges are useful as a reference example, with the caveat that the reader’s numbers will differ based on agent count, workload, and model mix: across nine production agents and sixty-two scheduled jobs at the autonomous-orchestration stage, our daily AI infrastructure cost runs roughly $15-20. That is operational AI infrastructure cost. It is not the full cost of running the system. The curve shape matters more than the dollar figure.&lt;/p&gt;

&lt;p&gt;What the curve looks like, by stage:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single-agent production.&lt;/strong&gt; Evaluation harness, alerting, traces, cost circuit breaker. The cost is mostly tooling and the operational time to maintain reference sets and tune thresholds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-agent coordination.&lt;/strong&gt; Add shared-state audit and per-agent identity. The identity-visibility gap that surveys keep surfacing is theoretical until the multi-agent stage; once two agents share work, it becomes operational.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autonomous orchestration.&lt;/strong&gt; Add completion-trigger guards, recovery crons, and per-stage cost limits. This is where agents can do the most damage in the shortest time, and the governance investment reflects that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The allocation thesis applies again here. Governance dollars belong in evaluation, monitoring, and identity. They do not belong in picking a different model. The per-control breakdown is in the &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-governance-practitioners-guide/" rel="noopener noreferrer"&gt;agent governance practitioners guide&lt;/a&gt;, mapped to the production stages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Most teams should stay one stage longer than the vendor pitch implies
&lt;/h2&gt;

&lt;p&gt;Vendors are selling autonomy. Most organizations are mid-curve and are being pushed forward before the decisions at their current stage are settled. The published survey data on enterprise-wide mature adoption is consistently a small minority of the field; the much larger group is the one that has shipped some agents but has not finished the operational scaffolding around them.&lt;/p&gt;

&lt;p&gt;Staying longer at a stage is not stalling. It is finishing the operational decision at the current stage before adding the next layer of failure modes. A team that has not settled monitoring placement at single-agent production will find the multi-agent stage harder, not easier. A team that has not named shared-state ownership in multi-agent will find autonomous orchestration produces faster cascades, not faster work.&lt;/p&gt;

&lt;p&gt;The question worth asking at the end of a quarter is not “are we ready for the next stage?” It is “have we settled the operational decision at the current stage?” If the answer is no, the next stage is going to be debugged on top of an unsettled one, and the cost of that compound failure shows up later as the kind of stall that the survey data is measuring.&lt;/p&gt;

&lt;p&gt;This is also where the conceptual maturity layer lives. &lt;a href="https://fountaincity.tech/resources/blog/level-5-ai-maturity-goal-directed-autonomous-agents/" rel="noopener noreferrer"&gt;The five levels of AI maturity&lt;/a&gt; name what each level looks like. The four operational decisions in this article name what to build at each level so the next one becomes possible. The two layers are companions, not duplicates. The decisions in this article are the work that has to happen for an organization to actually move up the maturity curve, rather than describing where they currently sit on 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.amazonaws.com%2Fuploads%2Farticles%2Fxhg9sb07u0gx9eepgzbn.jpg" 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%2Fxhg9sb07u0gx9eepgzbn.jpg" alt="AI robot in a vast server room corridor representing autonomous orchestration — AI agent deployment at production scale" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to go from here
&lt;/h2&gt;

&lt;p&gt;If you have a working pilot, the next operational decision is not which model to upgrade to. It is which workflow to harden, where to place monitoring before the agent goes live, who owns shared state when two agents touch the same work, and how to replace fixed schedules with completion triggers when orchestration starts to drag. Those four decisions, made deliberately, are what the production-scale teams in the Digital Applied survey did with their reallocated budgets.&lt;/p&gt;

&lt;p&gt;If you want a partner who has already made each decision in a running production system and can build the infrastructure for your team, our &lt;a href="https://fountaincity.tech/services/managed-autonomous-ai-agents/" rel="noopener noreferrer"&gt;managed autonomous AI agents&lt;/a&gt; service runs the full operational stack: evaluation, monitoring, shared-state, orchestration, and governance, at a published price. The decisions are the same whether we run them or you do. The article above is the framework. The service is the implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How do I know when my AI agent pilot is ready to move to production?
&lt;/h3&gt;

&lt;p&gt;The pilot is ready when three exit criteria are met: the agent reliably handles a defined task volume, there is a quality measurement that does not depend on a human reviewing every output, and there is a defined incident response when the agent fails. If any of those is missing, production handoff will surface the gap as an integration failure rather than a pilot finding. Production-scale teams in the Digital Applied data wrote those criteria at pilot start, not at handoff.&lt;/p&gt;

&lt;h3&gt;
  
  
  What’s the operational difference between single-agent and multi-agent deployment?
&lt;/h3&gt;

&lt;p&gt;A single agent fails in directions that traditional monitoring catches: error rates, latency, output quality. Multi-agent systems fail through coordination drift. Agents lose track of each other’s work, step on each other, or produce inconsistent outputs because each inferred the state of the system differently. The operational shift is from instrumenting the agent to instrumenting the shared state the agents read and write through. If you cannot point to one canonical state owner that every agent uses, you are running multiple agents, not a multi-agent system.&lt;/p&gt;

&lt;h3&gt;
  
  
  What does AI agent governance actually cost at each stage?
&lt;/h3&gt;

&lt;p&gt;The shape is more useful than the figure. At single-agent production, governance is tooling and operational time for evaluation and alerting. At multi-agent it adds shared-state audit and per-agent identity — closing the visibility and containment gap that &lt;a href="https://cloudsecurityalliance.org/" rel="noopener noreferrer"&gt;Cloud Security Alliance research&lt;/a&gt; has documented across organizations running agents. At autonomous orchestration it adds completion-trigger guards and recovery infrastructure. The curve, with costs concentrated in evaluation, monitoring, and identity rather than in model and prompt, is the part that generalizes across teams.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do I scale AI agents without ballooning ongoing costs?
&lt;/h3&gt;

&lt;p&gt;Build the cost defense before the agents go live, not after the first runaway. Daily and per-job spending limits, alerting thresholds set lower than halt thresholds, and an evaluation harness that catches behavioral drift before it shows up as a budget overrun. Cloud Security Alliance research found that 92% of organizations lack full visibility into AI agent identities, and most doubt they could detect or contain a compromised agent — that visibility deficit is what makes runaway costs expensive to catch later. Build identity, audit, and cost-defense into the deploy step. Our daily AI infrastructure cost has stayed in a predictable range as we have added agents and jobs because the limits were in place before the volume was.&lt;/p&gt;

&lt;h3&gt;
  
  
  When should I add a recovery or anti-loop layer to my agent system?
&lt;/h3&gt;

&lt;p&gt;At the autonomous orchestration stage, before the first completion-triggered run. Completion triggers move work faster, and they also propagate failures faster. A recovery layer of retry caps, anti-loop guards, and cost ceilings tied to the per-stage budget is the dependent decision that has to ship with completion triggering, not after it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why do most AI agent pilots never reach production?
&lt;/h3&gt;

&lt;p&gt;The Digital Applied survey found that pilots stall within months on average. The blocking factors named (integration complexity, output quality at volume, monitoring deficit, organizational ownership, domain training data) are consistent with pilots scoped for demo appeal rather than for a workflow with measurable success criteria, scaled into production without monitoring placement decided, and operated without a clear shared-state owner. Each of those is the absence of a decision at the corresponding stage. The cumulative result is the pre-production failure rate that maturity-model coverage keeps surfacing.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>automation</category>
      <category>business</category>
    </item>
    <item>
      <title>Agent Memory &amp;#038; Knowledge Systems Compared (2026 Guide)</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Mon, 04 May 2026 18:07:06 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/agent-memory-038-knowledge-systems-compared-2026-guide-568p</link>
      <guid>https://dev.to/sebastian_chedal/agent-memory-038-knowledge-systems-compared-2026-guide-568p</guid>
      <description>&lt;p&gt;Most companies deploying AI agents hit the same wall about two months in: the agent forgets everything between sessions, can’t read the company’s actual knowledge (strategy docs, pricing logic, customer notes), and has no clean way to write what it learns back to the team’s knowledge base for human review. The toolkit for solving this is strong, but the question that matters for a mid-market team is different from the question developers ask. It isn’t “which API surface is cleanest.” It’s “how does a company actually maintain its knowledge, feed it to agents, let agents add to it, and keep humans in the loop?”&lt;/p&gt;

&lt;p&gt;As of April 2026, there are five named systems worth comparing (Mem0, Zep, Letta, Cognee, and Cloudflare Agent Memory) plus a sixth path: maintaining knowledge as plain markdown and giving agents read/write access through a semantic search index.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In this article:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The five questions to ask before you pick a memory system&lt;/li&gt;
&lt;li&gt;What’s off the shelf in 2026 — and what you can build yourself&lt;/li&gt;
&lt;li&gt;Mem0, Zep, Letta, Cognee, and Cloudflare Agent Memory, compared on the same scaffolding&lt;/li&gt;
&lt;li&gt;The markdown-vault path nobody else writes about&lt;/li&gt;
&lt;li&gt;A 4-step workflow for letting agents propose knowledge updates that humans review&lt;/li&gt;
&lt;li&gt;A decision framework matched to mid-market deployments&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;System&lt;/th&gt;
&lt;th&gt;Architecture&lt;/th&gt;
&lt;th&gt;License&lt;/th&gt;
&lt;th&gt;Bidirectional Sync&lt;/th&gt;
&lt;th&gt;Best For&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Mem0&lt;/td&gt;
&lt;td&gt;Vector + graph + KV&lt;/td&gt;
&lt;td&gt;Apache 2.0 / managed&lt;/td&gt;
&lt;td&gt;Partial (API only)&lt;/td&gt;
&lt;td&gt;Personalization, returning end-users&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zep / Graphiti&lt;/td&gt;
&lt;td&gt;Temporal knowledge graph&lt;/td&gt;
&lt;td&gt;Open source / managed&lt;/td&gt;
&lt;td&gt;Partial (API only)&lt;/td&gt;
&lt;td&gt;Entity + time queries, CRM agents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Letta&lt;/td&gt;
&lt;td&gt;Tiered RAM/disk (agent-managed)&lt;/td&gt;
&lt;td&gt;Apache 2.0 / managed&lt;/td&gt;
&lt;td&gt;Weak&lt;/td&gt;
&lt;td&gt;Long-horizon agents, unlimited memory&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cognee&lt;/td&gt;
&lt;td&gt;Vector + knowledge graph from docs&lt;/td&gt;
&lt;td&gt;Open core / managed&lt;/td&gt;
&lt;td&gt;Partial (doc curation)&lt;/td&gt;
&lt;td&gt;Unstructured document ingestion&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cloudflare Agent Memory&lt;/td&gt;
&lt;td&gt;Typed (Facts/Events/Instructions/Tasks)&lt;/td&gt;
&lt;td&gt;Managed only (private beta)&lt;/td&gt;
&lt;td&gt;Partial (shared profiles)&lt;/td&gt;
&lt;td&gt;Teams already on Cloudflare&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Markdown vault + search&lt;/td&gt;
&lt;td&gt;Files + semantic index&lt;/td&gt;
&lt;td&gt;Infrastructure cost only&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Strong&lt;/strong&gt; (humans edit directly)&lt;/td&gt;
&lt;td&gt;Full ownership, humans as first-class authors&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The memory problem every mid-market deployment hits in month two
&lt;/h2&gt;

&lt;p&gt;The first month of an agent deployment usually goes fine. Then three things start happening at once.&lt;/p&gt;

&lt;p&gt;First, the session reset. The agent forgets yesterday’s conversation and the user re-explains context every time. By week three, people are typing the same paragraph of background into the prompt every morning.&lt;/p&gt;

&lt;p&gt;Second, the knowledge gap. The agent doesn’t know the company’s pricing logic, brand voice rules, approved vendor list, or customer service notes. Those documents live in Notion, Obsidian, Google Drive, an internal wiki, or scattered Slack threads. The agent has no path to any of them.&lt;/p&gt;

&lt;p&gt;Third, the learning leak. The agent figures something out during a session (a customer preference, a corrected spec, a new policy detail) and the moment the session ends, that learning is gone.&lt;/p&gt;

&lt;p&gt;These three failures are usually framed as a context-window problem. They aren’t. They’re an organizational-knowledge problem. The question is not “how does the agent’s brain hold more information,” it is “where does the company’s knowledge live, who maintains it, and how does the agent participate in that loop without quietly rewriting things humans haven’t reviewed?” Every system below is a different answer to that question.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five questions to ask before you pick a memory system
&lt;/h2&gt;

&lt;p&gt;A buyer needs a self-diagnostic, a short list of questions to score against any candidate. Five questions cover the field:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Context management.&lt;/strong&gt; How does the agent decide what fits in its working memory right now? Some systems keep the last N messages, some retrieve relevant memories on every turn, some compress conversations into running summaries. The right answer depends on how long your sessions are.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Connected knowledge body.&lt;/strong&gt; Where does the agent’s knowledge come from, and who maintains it? If the only knowledge the agent has is what users say during sessions, the system is closed-loop. If the agent can read the company wiki, customer records, or a curated knowledge graph, it’s connected. Mid-market deployments almost always need the connected version, because the team already has its knowledge somewhere and the agent needs to plug into it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Automatic vs engineered memory.&lt;/strong&gt; Does the system decide what to remember on its own, or do you tell it explicitly? Automatic extraction is faster to deploy and harder to audit. Explicit memory is slower to set up and easier to control. Most mid-market teams want explicit at first and automatic only after they trust the system’s judgment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Human-agent merge.&lt;/strong&gt; Can humans read what the agent has learned, edit it, and contribute to the same knowledge base outside the agent loop? The agent should not be the only writer to its own memory. The human team needs a seat at the same table, ideally using normal tools (text editors, wikis, IDEs) rather than a separate “memory dashboard.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Current limits.&lt;/strong&gt; What does this system &lt;em&gt;not&lt;/em&gt; do today? Every memory system has gaps. Some don’t handle entity changes over time, some don’t support multi-tenant scoping, some are private beta with no published pricing. Naming the limits before you commit saves the second deployment from fighting the first one’s blind spots.&lt;/p&gt;

&lt;p&gt;These five run as a checklist against every system below.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-02.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-02.svg" alt="Five questions to ask before picking an AI agent memory system — context management, connected knowledge body, automatic vs engineered, human-agent merge, current limits" width="100" height="61.578947368421055"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The 2026 landscape — what’s off the shelf, what you build yourself
&lt;/h2&gt;

&lt;p&gt;There are two paths through this market.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Off the shelf.&lt;/strong&gt; Opinionated APIs and managed infrastructure. Integration time is days. Trade-offs are vendor lock-in, less control over how memory gets extracted and stored, and pricing models that are usually opaque until you scale. The named players are Mem0, Zep (with its open-source component Graphiti), Letta (formerly MemGPT), Cognee, and Cloudflare Agent Memory.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build it yourself.&lt;/strong&gt; Maintain the company’s knowledge as files, usually markdown, in a versioned folder. Index them with a local semantic search tool. Give agents a query interface and, optionally, a write-to-a-review-folder interface. Integration is longer up front, you own the operational complexity, and no vendor will support you. The advantages: knowledge stays portable, humans use normal tools to maintain it, and the cost is essentially infrastructure-only.&lt;/p&gt;

&lt;p&gt;There’s also an architectural axis that cuts across both paths. Memory systems tend to fall into one of three patterns:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vector-only.&lt;/strong&gt; Embed everything, retrieve by similarity. Fast, simple, weak on temporal and relational queries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vector plus knowledge graph.&lt;/strong&gt; Embed for similarity and extract entities/relationships for graph traversal. Better for “who owns what” and “what changed when” questions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tiered or agent-managed.&lt;/strong&gt; The agent itself decides what to keep in working memory and what to page out to longer-term storage. More flexible, harder to reason about.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Vectorize’s &lt;a href="https://vectorize.io/articles/best-ai-agent-memory-systems" rel="noopener noreferrer"&gt;2026 framework comparison&lt;/a&gt; introduced this taxonomy in clean form, and it’s a useful overlay when reading the rest of this article.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five systems, compared
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Mem0 — the personalization memory layer
&lt;/h3&gt;

&lt;p&gt;Mem0 is a vector + graph + key-value memory layer designed to give assistants and support agents persistent, scoped recall about end-users. Best for chatbots, support agents, and deployments where the same users return repeatedly.&lt;/p&gt;

&lt;p&gt;The architecture combines three storage layers (vector, graph, key-value) with a four-scope memory model: user_id, agent_id, run_id, app_id, plus an optional org_id. Memories are extracted automatically from conversations and stored against whichever scopes apply. According to &lt;a href="https://mem0.ai/blog/state-of-ai-agent-memory-2026" rel="noopener noreferrer"&gt;Mem0’s State of AI Agent Memory 2026 report&lt;/a&gt; (citing the &lt;a href="https://arxiv.org/abs/2504.19413" rel="noopener noreferrer"&gt;ECAI 2025 paper, Chhikara et al.&lt;/a&gt;), Mem0 scores 66.9% on the LOCOMO benchmark at 0.71s median latency using around 1,800 tokens per conversation, versus a full-context baseline of 72.9% at 9.87s and around 26,000 tokens — roughly 14x the token cost for under 6 points of accuracy. The graph-enhanced variant (Mem0g) scores 68.4% at 1.09s. Mem0 publishes both the benchmark and the comparators, so treat absolute numbers as vendor-favorable; the latency and token-cost gaps are directionally useful regardless.&lt;/p&gt;

&lt;p&gt;On the five questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context management:&lt;/strong&gt; retrieves relevant memories per turn, scoped by user/agent/run/app/org.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connected knowledge body:&lt;/strong&gt; partial. Mem0 holds what users say; pulling the company’s existing knowledge in is custom work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic vs engineered:&lt;/strong&gt; automatic extraction by default, with explicit add/update APIs available.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-agent merge:&lt;/strong&gt; weak. Humans can call the API, but the workflow is developer-shaped, not knowledge-worker-shaped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Current limits:&lt;/strong&gt; no native human-review workflow. The four-scope model is the closest the field gets to multi-stakeholder memory but it’s still agent-centric.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;License: Apache 2.0 with around 48,000 GitHub stars per &lt;a href="https://dev.to/nebulagg/top-6-ai-agent-memory-frameworks-for-devs-2026-1fef"&gt;dev.to’s 2026 framework roundup&lt;/a&gt;. &lt;a href="https://atlan.com/know/best-ai-agent-memory-frameworks-2026/" rel="noopener noreferrer"&gt;Atlan’s 2026 comparison&lt;/a&gt; also notes Mem0 has raised $24M in funding and holds SOC 2 compliance. Repo: &lt;a href="https://github.com/mem0ai/mem0" rel="noopener noreferrer"&gt;github.com/mem0ai/mem0&lt;/a&gt;. Managed cloud has a free tier; production pricing is usage-based.&lt;/p&gt;

&lt;h3&gt;
  
  
  Zep / Graphiti — the temporal knowledge graph
&lt;/h3&gt;

&lt;p&gt;Zep models memory as a temporal knowledge graph: facts have a time dimension, so “Alice owned the budget until February, then Bob took over” is a first-class query rather than a string-similarity guess. The open-source component is &lt;a href="https://www.getzep.com/" rel="noopener noreferrer"&gt;Graphiti&lt;/a&gt;; Zep Cloud is the managed product on top.&lt;/p&gt;

&lt;p&gt;The temporal dimension matters most for production CRM and project agents, anywhere entities change relationships over time and the agent needs “what’s true now” separated from “what was true six months ago.” Zep groups conversations into episodes, summarizes them, and indexes the resulting graph. It scores 63.8% on LongMemEval per &lt;a href="https://atlan.com/know/best-ai-agent-memory-frameworks-2026/" rel="noopener noreferrer"&gt;Atlan’s comparison&lt;/a&gt;, the strongest published number for temporal queries, versus Mem0’s 49.0% on the same benchmark.&lt;/p&gt;

&lt;p&gt;One trade-off worth flagging: &lt;a href="https://blog.devgenius.io/ai-agent-memory-systems-in-2026-mem0-zep-hindsight-memvid-and-everything-in-between-compared-96e35b818da8" rel="noopener noreferrer"&gt;DevGenius’s builder comparison&lt;/a&gt; reports that immediate post-ingestion retrieval often misses correct answers because Zep’s graph processing runs in the background; correct answers tend to surface hours later once the graph catches up. The same piece notes Mem0’s published critique that Zep’s memory footprint can exceed 600,000 tokens per conversation versus Mem0’s ~1,800. That critique comes from Mem0, but the order-of-magnitude gap is consistent across third-party reports.&lt;/p&gt;

&lt;p&gt;On the five questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context management:&lt;/strong&gt; episode-grouped, summarized, retrieved with temporal awareness.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connected knowledge body:&lt;/strong&gt; partial. Strong inside the graph it builds, weak at pulling external markdown or wiki content in without custom ingestion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic vs engineered:&lt;/strong&gt; automatic extraction, explicit graph editing available.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-agent merge:&lt;/strong&gt; weak. Humans interact with Zep through Zep’s tools, not their own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Current limits:&lt;/strong&gt; retrieval delay until graph processing completes. No native human-review workflow.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;License: Graphiti is open source; Zep Cloud is usage-based. Around 24,000 GitHub stars per the dev.to roundup. SOC 2 compliant per Atlan.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-03.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-03.svg" alt="Three AI agent memory architecture patterns in 2026: vector-only, vector plus knowledge graph, and tiered agent-managed memory" width="100" height="48.83720930232558"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Letta (formerly MemGPT) — OS-inspired tiered memory
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://letta.com" rel="noopener noreferrer"&gt;Letta&lt;/a&gt; models agent memory after an operating system. Main context is RAM (what’s in the prompt right now). Archival memory is disk (long-term storage the agent can search). The agent itself decides what pages in and out via tool calls. Originally published as MemGPT, the project rebranded in 2024 and continues under the same architecture.&lt;/p&gt;

&lt;p&gt;Best for long-running agents that need effectively unlimited memory and where you’re willing to trust the agent with its own paging decisions: research assistants, coding assistants on multi-week projects, deployments running hundreds or thousands of turns. The trade-off is that “the agent decides what to remember” is harder to audit than “the system decides on rules you wrote.”&lt;/p&gt;

&lt;p&gt;On the five questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context management:&lt;/strong&gt; tiered RAM/disk model with agent-driven paging.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connected knowledge body:&lt;/strong&gt; partial. Archival memory can hold ingested documents, but you’re operating Letta’s storage, not the company’s existing knowledge base.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic vs engineered:&lt;/strong&gt; agent-managed, a third path between fully automatic and explicitly engineered by the operator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-agent merge:&lt;/strong&gt; weak. Humans can call the API; no native co-edit workflow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Current limits:&lt;/strong&gt; auditing what the agent chose to remember (and discard) is harder than with explicit-rule systems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;License: Apache 2.0, around 21,000 GitHub stars per the dev.to roundup. Managed cloud available; self-hosted deployment is well-documented.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cognee — knowledge graph from unstructured data
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.cognee.ai/" rel="noopener noreferrer"&gt;Cognee&lt;/a&gt; is the closest existing system to “feed the company’s documents in and let the agent reason over them.” Its pipeline ingests raw documents, conversations, and external sources, extracts entities and relationships, builds a knowledge graph, and retrieves by graph traversal combined with vector search. The entry point is unstructured documents (not conversation logs) and the graph is the primary retrieval surface, which makes Cognee strong for institutional knowledge and weaker for fast conversational personalization. Best for research-heavy agents and deployments where the inputs are messy documents rather than clean conversations.&lt;/p&gt;

&lt;p&gt;On the five questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context management:&lt;/strong&gt; graph traversal plus vector retrieval; long-form document support is the strength.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connected knowledge body:&lt;/strong&gt; stronger here than the conversational-memory peers. Ingestion is the design center.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic vs engineered:&lt;/strong&gt; automatic extraction with configurable pipelines.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-agent merge:&lt;/strong&gt; partial. Humans curate the input documents, but Cognee’s representation of them is opaque to non-engineers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Current limits:&lt;/strong&gt; no native human-review workflow on agent-added knowledge; managed-service pricing not transparent at the time of writing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;License: open core with around 12,000 GitHub stars per the dev.to roundup. Managed cloud available.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cloudflare Agent Memory — the April 2026 entrant
&lt;/h3&gt;

&lt;p&gt;Cloudflare announced &lt;a href="https://blog.cloudflare.com/introducing-agent-memory/" rel="noopener noreferrer"&gt;Agent Memory&lt;/a&gt; in private beta on April 17, 2026. It’s the most significant new entrant this year, shipping as a managed service running on Workers, Durable Objects, and Vectorize.&lt;/p&gt;

&lt;p&gt;Five operations (ingest, remember, recall, forget, list) cover the API surface. Ingestion runs as a two-pass pipeline at 10,000-character chunks with two-message overlap, with an eight-check verifier filtering extracted memories before they land. Memories are typed into one of four classes: Facts (atomic stable knowledge), Events (timestamped happenings), Instructions (procedures), and Tasks (ephemeral). A profile model can be shared across multiple agents and humans, the closest any managed service gets to a multi-stakeholder memory layer. Cloudflare also committed publicly that customer memory is exportable (“your memories are yours; every memory is exportable”), which most managed services don’t.&lt;/p&gt;

&lt;p&gt;On the five questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context management:&lt;/strong&gt; typed retrieval (Facts/Events/Instructions/Tasks) with verifier-gated ingestion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Connected knowledge body:&lt;/strong&gt; partial. Designed primarily for conversational and event-driven inputs; document ingestion is supported but not the design center.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic vs engineered:&lt;/strong&gt; automatic with a strong verifier in the loop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-agent merge:&lt;/strong&gt; the shared-profile model gestures toward this, but the example in the launch post is “two agents share memory,” not “humans write the source of truth.”&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Current limits:&lt;/strong&gt; private beta with no published pricing; Cloudflare-ecosystem dependency; production proof points are weeks old, not years.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;License: managed service, no open-source release. Pricing: not yet published as of April 2026. Best fit: teams already on Cloudflare who want the lowest-friction managed memory layer and are comfortable being early adopters.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-05.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-05.svg" alt="Cloudflare Agent Memory operations flow: ingest, two-pass extraction, 8-check verifier, type classification into facts events instructions tasks, then remember recall forget list" width="100" height="64.21052631578948"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The build-it-yourself path: markdown vault plus semantic search
&lt;/h2&gt;

&lt;p&gt;A folder of markdown files plus a local semantic search index is a legitimate competitor to all five managed paths above, especially for mid-market companies that already maintain knowledge in Notion, Obsidian, or git repos. This is one of the patterns we’ve watched work in practice — see &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-teams-business-operations/" rel="noopener noreferrer"&gt;how production agent teams handle memory in practice&lt;/a&gt; for the operational shape.&lt;/p&gt;

&lt;p&gt;The pattern is simple. Maintain company knowledge as plain markdown in a versioned folder (an Obsidian vault, a git repo, a GitHub wiki, a Notion export). Index it with a local semantic search tool. Give agents read access through a query tool that returns matching files (or excerpts) with provenance. Optionally, give the agent write access to a designated subfolder where new notes go for human review before promotion into the canonical base.&lt;/p&gt;

&lt;p&gt;The advantages stack up quickly. Knowledge stays portable: no vendor owns your facts, and migrating to a different agent platform means changing the query tool, not exporting and reformatting a database. Humans edit knowledge using normal tools (text editors, Obsidian, IDEs, GitHub PR review), so there’s no separate “memory dashboard” anyone has to learn. The same knowledge base feeds multiple agents and the team simultaneously. Cost is infrastructure-only.&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%2F7fa8ai8j8c5mhvppae59.jpg" 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%2F7fa8ai8j8c5mhvppae59.jpg" alt="Professional reviewing knowledge documents and files at a modern office desk with natural light" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The pattern has a documented public example. &lt;a href="https://eastondev.com/blog/en/posts/ai/20260227-openclaw-obsidian-sync/" rel="noopener noreferrer"&gt;A February 2026 walkthrough at eastondev.com&lt;/a&gt; describes configuring an agent platform’s Obsidian-vault skill to sync conversation memory as Markdown notes with bidirectional links and structured directories (session logs in one folder, knowledge base in another). When Perplexity is asked about bidirectional human↔agent knowledge sync in 2026, that walkthrough is the project it cites: the only documented end-to-end pattern at the time of writing. For a longer-form view of the same shape, see &lt;a href="https://fountaincity.tech/resources/blog/inside-autonomous-ai-content-pipeline/" rel="noopener noreferrer"&gt;how a real production pipeline uses memory&lt;/a&gt; across multiple stages.&lt;/p&gt;

&lt;p&gt;Tools that fit this lane: &lt;a href="https://obsidian.md" rel="noopener noreferrer"&gt;Obsidian&lt;/a&gt; for the markdown editor and graph layer; a local semantic search index combining BM25 and vector search over the vault; &lt;a href="https://github.com/langchain-ai/langmem" rel="noopener noreferrer"&gt;LangMem&lt;/a&gt; or &lt;a href="https://docs.llamaindex.ai" rel="noopener noreferrer"&gt;LlamaIndex memory modules&lt;/a&gt; when you want a memory abstraction pairable with a markdown backend instead of a SaaS layer.&lt;/p&gt;

&lt;p&gt;When this path is the wrong answer: temporal entity tracking is non-trivial to build (use Zep), agent-managed paging across very long sessions is also non-trivial (use Letta), and if you genuinely don’t want any infrastructure to operate, the managed services exist for a reason.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bidirectional sync question — how knowledge flows both ways
&lt;/h2&gt;

&lt;p&gt;Most teams treat agent memory as one-way. The agent reads from some knowledge, operates on it, and the work product evaporates. The systems that actually work in production close the loop: agent reads, operates, writes back to a holding area, human reviews, knowledge gets promoted into the canonical base. Four steps, all of them necessary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Source of truth lives with humans.&lt;/strong&gt; The canonical knowledge base, the place where the company’s strategy, pricing, customer details, and policies actually live, is something humans maintain primarily. An Obsidian vault, a Notion workspace, an internal wiki, a git repo of markdown files. Whatever it is, the humans on the team are the authoritative authors. This principle of &lt;a href="https://fountaincity.tech/resources/blog/how-can-my-business-own-and-control-its-own-ai-data/" rel="noopener noreferrer"&gt;building your own knowledge base&lt;/a&gt; rather than letting it live inside a vendor’s database is what makes the rest of the workflow possible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Agent reads with provenance.&lt;/strong&gt; When the agent answers a question or makes a decision, it cites which document (or which memory record) the answer came from. No “trust me” responses. Provenance is non-optional, because without it humans can’t audit what the agent is doing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Agent writes to a review queue, not the source of truth.&lt;/strong&gt; When the agent learns something new (a customer corrected a fact, a project changed scope, a pricing exception was approved) it writes that new note to a pending/ or inbox/ folder. Never directly to the canonical base. The agent’s job is to propose, not to publish.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Human review promotes or rejects.&lt;/strong&gt; A periodic review pass (daily for high-velocity environments, weekly for most) either promotes the agent’s proposed notes into the canonical base or rejects them. The canonical base only grows under human authority. The review interface is whatever the team already uses: a folder, a Pull Request, a Notion page with a checkbox.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-06.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-30-J-agent-memory-knowledge-systems-06.svg" alt="Four-step bilateral knowledge sync workflow: human canonical base, agent reads with provenance, agent writes to review queue, human review promotes or rejects" width="100" height="57.5"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;How each system maps to these steps tells you the most about whether it’s a fit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Mem0:&lt;/strong&gt; step 2 strong (four-scope provenance), step 1 partial, steps 3 and 4 require custom work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zep:&lt;/strong&gt; step 2 strong (episode-level provenance), step 1 partial, steps 3 and 4 require custom work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Letta:&lt;/strong&gt; step 2 harder (paging decisions aren’t always traceable), steps 3 and 4 require careful tool wrapping.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cognee:&lt;/strong&gt; step 1 strongest (document ingestion is the design center), step 2 partial, steps 3 and 4 require custom work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudflare Agent Memory:&lt;/strong&gt; typed classification and shared profiles gesture at multi-stakeholder memory; step 4 is the gap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Markdown vault plus semantic search:&lt;/strong&gt; step 4 is just “humans editing a folder” or “merging a Pull Request.” That’s where this path quietly wins. Steps 1–3 require operational discipline rather than a vendor.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No system natively implements step 4. All of them assume the agent has authority to update memory directly. The systems that come closest do so by accident (Cloudflare’s shared profiles, Mem0’s scoped models) not by design. The markdown-vault path makes step 4 a workflow choice instead of a feature request.&lt;/p&gt;

&lt;h2&gt;
  
  
  A decision framework for picking the right system
&lt;/h2&gt;

&lt;p&gt;Read the framework as “if your situation is X, start with Y”:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Already on Cloudflare and want low-friction managed:&lt;/strong&gt; Cloudflare Agent Memory (private beta; confirm access first).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptive personalization for end-users&lt;/strong&gt; (chatbot, support, returning users): Mem0.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Entities and relationships change over time&lt;/strong&gt; (“who owned this account in February”): Zep / Graphiti.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-horizon agents needing effectively unlimited memory:&lt;/strong&gt; Letta.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ingesting unstructured documents, reasoning over a knowledge graph:&lt;/strong&gt; Cognee.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full ownership, portability, humans as first-class authors:&lt;/strong&gt; markdown vault plus semantic search.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Already on LangChain/LangGraph or LlamaIndex:&lt;/strong&gt; use their memory modules first; revisit only if you outgrow them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most mid-market deployments end up combining a markdown vault for canonical knowledge with one of the off-the-shelf layers for transient session memory. The vault holds what the team owns; the SaaS layer holds what the agent needs to remember about an active conversation. That split keeps canonical knowledge portable while letting the agent operate at the speed users expect.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open problems in the field
&lt;/h2&gt;

&lt;p&gt;The agent-memory category is roughly eighteen months old as a distinct discipline. A few caveats apply across all six paths above. No system natively implements the human-review-promotion gate; all assume the agent has authority to update memory directly. LOCOMO and LongMemEval are useful but easy to overfit (Cloudflare’s launch post says so directly) so treat scores as directional. Most managed services route conversation extraction through their own LLMs — fine for some businesses, a deal-breaker for others. None publish per-query pricing in a way that lets a buyer model real-world cost ahead of time. Cloudflare publicly committed to memory export; most others have not. Voice agent memory is a distinct emerging sub-problem.&lt;/p&gt;

&lt;p&gt;The market gap is wide enough that one of the major systems will likely close it within twelve months.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  What is the best AI agent memory system in 2026?
&lt;/h3&gt;

&lt;p&gt;There isn’t a single best. Mem0 leads on personalization and benchmark scores. Zep / Graphiti leads on temporal queries. Letta leads on long-horizon agent-managed memory. Cognee leads on unstructured-document ingestion. Cloudflare Agent Memory is the most significant new managed entrant. For deployments where humans need to be first-class authors of the knowledge base, a markdown vault plus a semantic search index is often the right answer.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is Cloudflare Agent Memory open source?
&lt;/h3&gt;

&lt;p&gt;No. &lt;a href="https://blog.cloudflare.com/introducing-agent-memory/" rel="noopener noreferrer"&gt;Cloudflare Agent Memory&lt;/a&gt; is a managed service in private beta as of April 17, 2026, running on Workers, Durable Objects, and Vectorize. Cloudflare has committed publicly to making customer memory exportable, but the service itself is closed-source.&lt;/p&gt;

&lt;h3&gt;
  
  
  What’s the difference between Mem0 and Zep?
&lt;/h3&gt;

&lt;p&gt;Mem0 is optimized for personalization, remembering things about end-users across sessions, with a four-scope memory model (user_id / agent_id / run_id / app_id). Zep is optimized for temporal knowledge, tracking how entities and relationships change over time using a knowledge graph. Mem0 is faster on retrieval; Zep is more accurate on “what was true when” questions. Per published benchmarks, Mem0 leads LOCOMO and Zep leads LongMemEval.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I use Obsidian as memory for an AI agent?
&lt;/h3&gt;

&lt;p&gt;Yes. The pattern is to maintain company knowledge as markdown in an Obsidian vault, index it with a local semantic search tool, and give the agent a query interface. Optionally, give the agent write access to a review folder where humans promote or reject new notes. &lt;a href="https://eastondev.com/blog/en/posts/ai/20260227-openclaw-obsidian-sync/" rel="noopener noreferrer"&gt;A February 2026 walkthrough at eastondev.com&lt;/a&gt; documents one full implementation.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do I let an AI agent update my company’s knowledge base?
&lt;/h3&gt;

&lt;p&gt;Don’t let it write directly. Use a four-step bilateral sync workflow: humans maintain the canonical knowledge base, the agent reads with provenance, the agent writes new learnings to a review folder (not the canonical base), and a periodic human review promotes or rejects them. None of the major managed memory systems implement step four natively, which is why the markdown-vault path is often the easiest fit.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you don’t want to build this
&lt;/h2&gt;

&lt;p&gt;If your business is hitting the memory wall and you don’t want to evaluate six options and stand up the bidirectional review workflow yourself, that’s the kind of work we do. &lt;a href="https://fountaincity.tech/services/managed-autonomous-ai-agents/" rel="noopener noreferrer"&gt;We can run the memory architecture and the human-review workflow with you&lt;/a&gt;, so the canonical knowledge stays yours and the agent participates in the loop you already trust.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>machinelearning</category>
      <category>llm</category>
    </item>
    <item>
      <title>What MCP, A2A, and UCP Mean for Your Website in 2026</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Sat, 02 May 2026 18:06:58 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/what-mcp-a2a-and-ucp-mean-for-your-website-in-2026-3aij</link>
      <guid>https://dev.to/sebastian_chedal/what-mcp-a2a-and-ucp-mean-for-your-website-in-2026-3aij</guid>
      <description>&lt;p&gt;If you run a website in 2026, you have probably watched three different articles about MCP, A2A, and UCP scroll past in the last two weeks and wondered whether any of it changes what you should be doing this quarter. The short answer is yes, but probably less than the headlines suggest, and not in the direction the headlines point. The agentic protocol stack is real infrastructure that is now mainstream conversation, and most of the work the average website owner needs to do about it can be done in an afternoon.&lt;/p&gt;

&lt;p&gt;Three sources published the same underlying observation within roughly two weeks of each other. &lt;a href="https://backlinko.com/agentic-ai-protocols" rel="noopener noreferrer"&gt;Backlinko&lt;/a&gt; released a six-protocol primer on MCP, A2A, NLWeb, WebMCP, ACP, and UCP, framing them as “what robots.txt and XML sitemaps were to 2005 Google.” Addy Osmani, Google Cloud’s Director of Engineering, published an Agentic Engine Optimization framework along with an &lt;a href="https://github.com/addyosmani/agentic-seo" rel="noopener noreferrer"&gt;open-source audit tool&lt;/a&gt;. Conductor analyzed 13,770 domains and 17 million AI responses and named the resulting visibility layer “the parallel surface.” Three independent signals, same conclusion. Agentic protocols are now part of how websites get discovered, queried, and (eventually) transacted with by AI agents on behalf of their users.&lt;/p&gt;

&lt;p&gt;This article is the version for the person who runs a website and wants to know which of these protocols matter for their site, which ones they can ignore, and what is reasonable to actually do about any of it before the end of the quarter.&lt;/p&gt;

&lt;h2&gt;
  
  
  What “Protocol-Ready” Means
&lt;/h2&gt;

&lt;p&gt;Protocol-ready means an AI agent can discover, query, and (where it makes sense) transact with a website through a standardized interface, instead of scraping HTML and guessing at structure. That is the whole definition.&lt;/p&gt;

&lt;p&gt;The closest historical parallel is the one Backlinko reaches for and gets right. Their verified framing: &lt;em&gt;“Think of how robots.txt and XML sitemaps became table stakes for search crawlers. Agentic protocols are shaping up to be that for AI agents.”&lt;/em&gt; Robots.txt was a quiet text file that turned into existential SEO infrastructure within three years of nobody caring about it. The trajectory of the agentic protocol stack looks similar, though earlier on the curve.&lt;/p&gt;

&lt;p&gt;The signal that this is now mainstream rather than speculative is convergence. &lt;a href="https://www.digitalapplied.com/blog/ai-agent-protocol-ecosystem-map-2026-mcp-a2a-acp-ucp" rel="noopener noreferrer"&gt;DigitalApplied’s ecosystem map&lt;/a&gt; reports 97 million MCP downloads as of March 2026. Backlinko’s count of the PulseMCP directory has more than 10,000 MCP servers live as of early 2026. &lt;a href="https://www.conductor.com/academy/aeo-geo-benchmarks-report/" rel="noopener noreferrer"&gt;Conductor’s 2026 benchmark&lt;/a&gt; finds AI referral traffic averaging around 1% of total website traffic and growing roughly 1% per month. The 1% number is small, but the growth rate is the part to watch. The infrastructure has reached the volume where ignoring it stops being defensible, even if acting on it is still optional for most sites.&lt;/p&gt;

&lt;p&gt;For the content-side companion to the infrastructure questions in this article, see our &lt;a href="https://fountaincity.tech/resources/blog/agentic-seo-practitioner-guide/" rel="noopener noreferrer"&gt;agentic SEO practitioner guide&lt;/a&gt;, which covers what to publish so AI agents can actually use it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Three Protocols That Matter Now (and the Three to Watch, Not Build For)
&lt;/h2&gt;

&lt;p&gt;Backlinko enumerates six protocols. The count is correct as a taxonomy, and misleading as a buying recommendation. For 2026 website-scale decisions, three deserve real attention. Three more are worth tracking and nothing more.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-29-J-agentic-protocol-stack-agency-02.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-29-J-agentic-protocol-stack-agency-02.svg" alt="Comparison diagram: MCP, A2A, UCP agentic commerce protocols to build for now vs NLWeb, WebMCP, ACP to watch only" width="100" height="53.84615384615385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Build for now
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;MCP (Model Context Protocol).&lt;/strong&gt; The agent-to-tools layer. &lt;a href="https://backlinko.com/agentic-ai-protocols" rel="noopener noreferrer"&gt;Anthropic launched MCP in November 2024&lt;/a&gt;, and it is now governed by the Agentic AI Foundation under the Linux Foundation. The standard has been adopted by OpenAI, Google, and Microsoft. If your business has any internal system you would want AI tools to query (a product catalog, a CRM, a CMS, a support knowledge base, an inventory database), an MCP server is the standard interface for exposing that system to agents. It is the only protocol on this list that has cleared “is this real” status. If you have nothing for an agent to query, you do not need MCP.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A2A (Agent-to-Agent).&lt;/strong&gt; The agent-to-agent layer. Google launched A2A in &lt;a href="https://backlinko.com/agentic-ai-protocols" rel="noopener noreferrer"&gt;April 2025 with more than 50 technology partners&lt;/a&gt;, including Salesforce, PayPal, SAP, Workday, and ServiceNow. The Linux Foundation now maintains it under Apache 2.0. A2A becomes relevant when a website operates more than one agent that needs to coordinate with another agent (yours or someone else’s). Most websites are not running multiple agents yet. If you are running one agent or none, A2A is informational. If you reach three or more by the end of 2026, you will need it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;UCP (Universal Commerce Protocol).&lt;/strong&gt; The agent-to-commerce layer. Sundar Pichai announced UCP at NRF 2026, co-developed by Google and Shopify with launch partners including &lt;a href="https://www.infoq.com/news/2026/01/google-agentic-commerce-ucp/" rel="noopener noreferrer"&gt;Target, Walmart, Wayfair, and Etsy, plus 20+ additional partners&lt;/a&gt; including Mastercard, Visa, Stripe, and American Express. UCP runs on top of OAuth 2.0 and PCI-DSS, with MCP and A2A bindings built in. &lt;a href="https://www.thestack.technology/walmart-target-join-google-to-launch-ecommerce-standard-for-ai-shopping/" rel="noopener noreferrer"&gt;UCP launched less than 14 weeks after OpenAI and Stripe announced ACP&lt;/a&gt;, the competing OpenAI-led commerce protocol. The two protocols overlap. UCP has the broader retailer coalition; ACP has live distribution inside ChatGPT. If your site sells products and you are picking one to keep on your radar today, UCP is the safer bet on coalition breadth.&lt;/p&gt;

&lt;h3&gt;
  
  
  Watch, do not build for yet
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;NLWeb.&lt;/strong&gt; A natural-language interface for websites, created by R.V. Guha, who also created RSS, RDF, and Schema.org. Heavy pedigree. &lt;a href="https://backlinko.com/agentic-ai-protocols" rel="noopener noreferrer"&gt;Early adopters include TripAdvisor, Shopify, Eventbrite, O’Reilly, and Hearst, announced at Microsoft Build 2025&lt;/a&gt;. Interesting long-term. Most websites do not need it yet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WebMCP.&lt;/strong&gt; A &lt;a href="https://backlinko.com/agentic-ai-protocols" rel="noopener noreferrer"&gt;Google-and-Microsoft W3C Community Group proposal, with an early preview shipping in Chrome in February 2026&lt;/a&gt;. Pre-standard. Worth watching, not worth implementing this quarter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ACP (Agent Commerce Protocol).&lt;/strong&gt; OpenAI and Stripe’s commerce protocol. Live in &lt;a href="https://opascope.com/insights/ai-shopping-assistant-guide-2026-agentic-commerce-protocols/" rel="noopener noreferrer"&gt;ChatGPT Instant Checkout since September 2025&lt;/a&gt;, with 900 million weekly ChatGPT users and a reported 4% merchant fee per Opascope’s synthesis. Real, but overlapping with UCP. If you only have budget for one commerce protocol implementation, the broader-coalition standard wins on portability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Run This on Your Own Site: A Five-Point Readiness Check
&lt;/h2&gt;

&lt;p&gt;Most websites only need to act on two or three of the five questions below. The point of running through all five is to know which two or three those are.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-29-J-agentic-protocol-stack-agency-03.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-29-J-agentic-protocol-stack-agency-03.svg" alt="Five-step protocol readiness audit: structured data, content recency check, manifest decision, MCP tool exposure, citation baseline" width="100" height="65.8974358974359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Structured-data baseline.&lt;/strong&gt; Schema.org coverage for Organization, Product, Service, FAQPage, and Article at minimum. If your structured data is incomplete, no protocol implementation will compensate, because agents still need the structured signals underneath. Run Osmani’s &lt;a href="https://github.com/addyosmani/agentic-seo" rel="noopener noreferrer"&gt;agentic-seo audit tool&lt;/a&gt; against your own domain. The tool runs ten checks across five categories (Discovery, Content, Token Efficiency, Agent Context, AI Usability) and scores out of 100. Free, public, fifteen minutes. Run it against a competitor’s domain in the same session if you want a calibration point.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Content recency check.&lt;/strong&gt; Amsive reported that &lt;a href="https://www.bigmoves.marketing/blog/ai-in-marketing-5-predictions-for-b2b-marketing-in-2026-and-beyond" rel="noopener noreferrer"&gt;50% of AI-cited content is less than 13 weeks old&lt;/a&gt;. If your last cornerstone publish was six months ago, fix that before anything else. Recency is the precondition; protocols are the amplifier. Cornerstone-content cadence is a bigger lever for AI visibility right now than any single manifest decision.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. /.well-known/ manifest decision.&lt;/strong&gt; There are three possible manifests, and not every site should publish all three. A UCP manifest at /.well-known/ucp is relevant if you sell products online. An LLMs.txt file is relevant for content-heavy sites that want to expose a curated reading order to AI agents. An agents.md file at the repository root is relevant if your site or codebase is going to be navigated by coding agents. Most sites need one or two of these, not all three. Decide what to publish, not all of it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. MCP tool exposure decision.&lt;/strong&gt; Do you have an internal API, database, or system an agent should reach? If yes, an MCP server wrapping that system is the right pattern. If no, and most brochure-site businesses are in this category, skip MCP entirely this quarter. There is no point building infrastructure for agents to use when there is nothing for them to use it for. If you do expose an internal system, build a &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-cost-circuit-breaker/" rel="noopener noreferrer"&gt;cost circuit breaker pattern&lt;/a&gt; in front of it before going live. Runaway agent calls produce surprise bills.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Citation baseline.&lt;/strong&gt; Before any protocol work, measure where your site is currently being cited in AI answers across Perplexity, ChatGPT, Gemini, Claude, and Google AI Mode. &lt;a href="https://www.conductor.com/academy/aeo-geo-benchmarks-report/" rel="noopener noreferrer"&gt;Conductor’s 2026 AEO/GEO Benchmarks&lt;/a&gt;, built on 13,770 domains and 17 million AI responses, give you the industry calibration. AI referral traffic averages around 1% of total and is growing roughly 1% per month. If you do not measure where you are cited today, you cannot tell whether anything you do tomorrow is working.&lt;/p&gt;

&lt;p&gt;Five questions, answerable in an afternoon. Most websites only need to act on two or three of them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When you can skip this entirely.&lt;/strong&gt; Sites with fewer than 50 indexed pages, sites in regulated verticals where agent transactions are not yet legal (regulated financial advice, healthcare prescribing, anything that requires a licensed human in the loop), and sites whose current content strategy is not producing anything citable in the first place. The structured-data and content-recency checks above will surface this quickly. If both fail, fix those first; the protocol questions can wait.&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%2F8udisexsr7bgjxak54sh.jpg" 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%2F8udisexsr7bgjxak54sh.jpg" alt="Two professionals reviewing multi-agent pipeline dashboards in a modern office — protocol deployment in practice" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where This Is Going (and What to Do About It)
&lt;/h2&gt;

&lt;p&gt;The trajectory is directionally certain and short-term modest, and that is the framing to take into your next planning meeting. &lt;a href="https://backlinko.com/agentic-ai-protocols" rel="noopener noreferrer"&gt;Backlinko&lt;/a&gt;, Pipe17, and the Google Developers Blog all published their protocol primers in Q1 2026. Search Engine Journal, SEMrush, and Ahrefs will follow this year. Conductor has already named “the parallel surface of visibility” as the canonical 2026 framing. Protocol-readiness is going to show up as a normal RFP requirement on a 12-to-24-month horizon, not a “by July” deadline. The current AI-referral share is small. The growth rate is the part that compounds.&lt;/p&gt;

&lt;p&gt;What is reasonable to do now if you run a website. Run Osmani’s &lt;a href="https://github.com/addyosmani/agentic-seo" rel="noopener noreferrer"&gt;agentic-seo tool&lt;/a&gt; on your domain (15 minutes). Audit your cornerstone content recency (1 hour). Decide whether you have an internal system that would benefit from MCP exposure (most websites do not, and “no” is a perfectly reasonable answer). If you sell products online, put a calendar reminder to revisit the UCP manifest question in Q3, when the retailer adoption curve will be clearer. None of this is a multi-quarter program. It is afternoon-scale work for most sites, and skip-entirely work for many of them.&lt;/p&gt;

&lt;p&gt;We are a technology studio that builds autonomous AI systems. The readiness work in this article sits in front of the platform layer we run for clients with bigger needs (clients running production agents, exposing internal systems through MCP, or building multi-agent workflows that coordinate over A2A) at &lt;a href="https://fountaincity.tech/services/managed-autonomous-ai-agents/" rel="noopener noreferrer"&gt;Fountain City’s managed autonomous AI agents&lt;/a&gt;.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  What is MCP (Model Context Protocol)?
&lt;/h3&gt;

&lt;p&gt;MCP is the standardized interface AI agents use to talk to tools and data sources. Anthropic launched MCP in November 2024, and it is now governed by the Agentic AI Foundation under the Linux Foundation, with adoption from OpenAI, Google, and Microsoft. According to Backlinko’s count of the PulseMCP directory, more than 10,000 MCP servers are live as of early 2026. Practically, if you have an internal system an AI tool should query, an MCP server is the standard wrapper.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is UCP (Universal Commerce Protocol)?
&lt;/h3&gt;

&lt;p&gt;UCP is the agent-to-commerce protocol announced by Google and Shopify at NRF 2026. Launch partners include Target, Walmart, Wayfair, Etsy, Mastercard, Visa, Stripe, and American Express, with 20+ additional partners endorsing the standard. UCP runs on OAuth 2.0 and PCI-DSS and includes MCP and A2A bindings. It exists so AI agents can complete purchases on behalf of shoppers using a standardized handshake instead of brittle scraping.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the difference between MCP, A2A, and UCP?
&lt;/h3&gt;

&lt;p&gt;MCP connects agents to tools and data. A2A connects agents to other agents. UCP connects agents to commerce checkout. Different layers of the same stack, and most websites only need one or two of them.&lt;/p&gt;

&lt;h3&gt;
  
  
  What does “protocol-ready” mean for a website?
&lt;/h3&gt;

&lt;p&gt;Protocol-ready means an AI agent can discover, query, and (where it makes sense) transact with the site through a standardized interface, instead of scraping HTML and guessing at structure. Concretely: structured-data coverage in place, recent cornerstone content, the right /.well-known/ manifest published, and (if internal systems are involved) an MCP server with auth and rate limits.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is this the same as GEO or AEO?
&lt;/h3&gt;

&lt;p&gt;Adjacent, not identical. GEO (Generative Engine Optimization) and AEO (Answer Engine Optimization) are about optimizing content to be cited by AI engines. Protocol readiness is the infrastructure layer underneath that. The standardized interfaces agents use to discover, query, and transact with a site. The five-point readiness check covers both, because the questions overlap.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does my site need all six protocols?
&lt;/h3&gt;

&lt;p&gt;No. For 2026 decisions, three matter (MCP, A2A, UCP), and three are worth tracking but not building for yet (NLWeb, WebMCP, ACP). Most websites only need one or two of the build-for-now three. The five-point readiness check is the way to figure out which.&lt;/p&gt;

&lt;h3&gt;
  
  
  When can I skip this entirely?
&lt;/h3&gt;

&lt;p&gt;Sites with fewer than 50 indexed pages, sites in regulated verticals where agent transactions are not yet legal, and sites whose current content is not producing anything citable in the first place. If the structured-data and content-recency checks both fail, fix those first; the protocol questions can wait.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>webdev</category>
      <category>seo</category>
    </item>
    <item>
      <title>Claude Code and Codex Together: Driver/Worker Orchestration in Production</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Fri, 01 May 2026 18:12:58 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/claude-code-and-codex-together-driverworker-orchestration-in-production-20ml</link>
      <guid>https://dev.to/sebastian_chedal/claude-code-and-codex-together-driverworker-orchestration-in-production-20ml</guid>
      <description>&lt;p&gt;The pattern that has held up across complex refactors, full WordPress migrations, and ground-up SAAS rebuilds is hierarchical: &lt;strong&gt;Claude Code (Opus 4.7) is the driver. Codex (GPT-5.5) is the worker.&lt;/strong&gt; Claude Code plans, calls Codex to do the heavy execution, gets the results back, reasons over them, decides what’s next.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The version stamps matter for an article like this. Opus 4.7 launched April 16, 2026. GPT-5.5 launched April 23, 2026. The framework we currently run on top of them — &lt;a href="https://github.com/dsifry/metaswarm/releases/tag/v0.11.0" rel="noopener noreferrer"&gt;BEADS with Metaswarm v0.11.0&lt;/a&gt; — landed mid-April. &lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Quick Verdict
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Workload&lt;/th&gt;
&lt;th&gt;Where it lives&lt;/th&gt;
&lt;th&gt;Why&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Planning, architecture, ambiguous specs&lt;/td&gt;
&lt;td&gt;Claude Code (driver)&lt;/td&gt;
&lt;td&gt;Long-context coherence, self-verification sub-agents&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Long terminal runs, mechanical execution&lt;/td&gt;
&lt;td&gt;Codex (worker)&lt;/td&gt;
&lt;td&gt;Sustained 45+ minute runs, ~72% fewer output tokens&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Reasoning over returned work, integration, review&lt;/td&gt;
&lt;td&gt;Claude Code (driver)&lt;/td&gt;
&lt;td&gt;Review is folded into the driver’s loop, not a separate step&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single-tool work that fits in one context window&lt;/td&gt;
&lt;td&gt;Either, alone&lt;/td&gt;
&lt;td&gt;Driver/worker overhead doesn’t earn its keep&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Benchmark anchors: &lt;a href="https://lushbinary.com/blog/gpt-5-5-vs-claude-opus-4-7-comparison-benchmarks-pricing/" rel="noopener noreferrer"&gt;Lushbinary, April 2026&lt;/a&gt;, cross-checked against &lt;a href="https://www.fwdslash.ai/blog/claude-opus-4-7-vs-gpt-5-5" rel="noopener noreferrer"&gt;FwdSlash&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Each Is Specifically Better At (April 2026)
&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%2F1wt9e7oom5m2f8cjepzt.jpg" 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%2F1wt9e7oom5m2f8cjepzt.jpg" alt="Developer at a dual-screen workstation with holographic code panels floating in warm golden-hour light — illustrating Claude Code and Codex running as driver and worker" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Where Claude Code (Opus 4.7) Wins
&lt;/h3&gt;

&lt;p&gt;Practitioners running both consistently describe Claude Code as the tool for the thinking work: the ambiguous problem, the large codebase, the architecture decision that will outlast the session. &lt;a href="https://chandlernguyen.com/blog/2026/03/13/codex-gpt-5-4-vs-claude-code-opus-4-6-dual-wielding-ai-coding-tools/" rel="noopener noreferrer"&gt;Chandler Nguyen’s follow-up post&lt;/a&gt; in late April put it plainly after weeks of running both: “Codex took the coding seat and Claude Code took everything else.” The “everything else” covers planning, comprehension, reviewing what came back from the worker, deciding when something is actually done.&lt;/p&gt;

&lt;p&gt;The benchmarks line up with that read. Opus 4.7 leads on &lt;a href="https://lushbinary.com/blog/gpt-5-5-vs-claude-opus-4-7-comparison-benchmarks-pricing/" rel="noopener noreferrer"&gt;SWE-bench Pro at 64.3%, SWE-bench Verified at roughly 87.6%, CursorBench at 70%, and GPQA Diamond at 94.2%&lt;/a&gt;. Two operational features show up in daily use beyond what those numbers capture: CLAUDE.md persistent project context (so the agent re-loads architecture decisions across sessions), and what Chandler called &lt;a href="https://chandlernguyen.com/blog/2026/03/13/codex-gpt-5-4-vs-claude-code-opus-4-6-dual-wielding-ai-coding-tools/" rel="noopener noreferrer"&gt;the killer feature&lt;/a&gt;, the harness spawning verification sub-agents without being asked. On long sessions, especially over 90 minutes of continuous work on the same problem, it holds the thread better than alternatives we’ve tested.&lt;/p&gt;

&lt;p&gt;Claude Code’s &lt;a href="https://thoughts.jock.pl/p/ai-coding-harness-agents-2026" rel="noopener noreferrer"&gt;token consumption is roughly 3-4x higher than Codex CLI&lt;/a&gt; on equivalent tasks. The harness is doing more (context preloading, sub-agent spawning, automatic verification passes) and you pay for that in tokens. For deep work, the cost is justified. For high-volume mechanical transformations, it isn’t. That gap is most of why the driver/worker split makes sense.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where Codex (GPT-5.5) Wins
&lt;/h3&gt;

&lt;p&gt;Among practitioners running both, Codex is where the long execution lives. It runs hard for stretches Claude Code wouldn’t sustain. &lt;a href="https://chandlernguyen.com/blog/2026/03/13/codex-gpt-5-4-vs-claude-code-opus-4-6-dual-wielding-ai-coding-tools/" rel="noopener noreferrer"&gt;Chandler’s experience report&lt;/a&gt; describes Codex working 45+ minutes continuously without losing the thread. The cloud-container architecture lets you fire-and-disconnect: hand off a task, close the laptop, come back when it’s done. That sustained-run profile is the operational reason it works as a worker. The driver doesn’t have to babysit it.&lt;/p&gt;

&lt;p&gt;GPT-5.5 leads on Terminal-Bench 2.0 at 82.7%, OSWorld-Verified (computer use) at 78.7%, GDPval at 84.9%, and Tau2-bench Telecom at 98.0%. &lt;a href="https://lushbinary.com/blog/gpt-5-5-vs-claude-opus-4-7-comparison-benchmarks-pricing/" rel="noopener noreferrer"&gt;OpenAI says 85%+ of the company uses Codex weekly&lt;/a&gt; across engineering, finance, comms, marketing, data science, and product. They run it because it executes.&lt;/p&gt;

&lt;p&gt;Token efficiency is where the gap compounds at scale. &lt;a href="https://lushbinary.com/blog/gpt-5-5-vs-claude-opus-4-7-comparison-benchmarks-pricing/" rel="noopener noreferrer"&gt;GPT-5.5 uses roughly 72% fewer output tokens than Opus 4.7 on equivalent coding tasks&lt;/a&gt;. When the worker is doing the bulk of the volume (terminal runs, mechanical transformations, parallelizable sub-tasks) that efficiency is what makes the dual-tool monthly bill defensible.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: An interactive chart comparing benchmark scores appears at this point in the original article. &lt;a href="https://fountaincity.tech/resources/blog/codex-claude-code-harness-together/#chart" rel="noopener noreferrer"&gt;View the chart on fountaincity.tech&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Harness Effect (Why This Comparison Is Mostly About the Harness, Not the Model)
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://thoughts.jock.pl/p/ai-coding-harness-agents-2026" rel="noopener noreferrer"&gt;Matt Mayer ran the same model&lt;/a&gt; through two different harnesses on identical tasks: Claude Opus scored 77% in Claude Code and 93% in Cursor. Same model, same tasks, sixteen percentage points from the harness alone.&lt;/p&gt;

&lt;p&gt;CORE-Bench reproduced the pattern more dramatically. Claude Opus scored 42% with a minimal scaffold and &lt;a href="https://thoughts.jock.pl/p/ai-coding-harness-agents-2026" rel="noopener noreferrer"&gt;78% inside Claude Code’s full harness&lt;/a&gt;. Thirty-six points of capability appeared from the wrapper, not the weights. &lt;a href="https://natesnewsletter.substack.com/p/same-model-78-vs-42-the-harness-made" rel="noopener noreferrer"&gt;Nate’s Newsletter&lt;/a&gt; reported the same gap in independent testing: a 36-point spread on identical tasks driven entirely by harness differences.&lt;/p&gt;

&lt;p&gt;The harness has four components, per &lt;a href="https://medium.com/jonathans-musings/inside-the-agent-harness-how-codex-and-claude-code-actually-work-63593e26c176" rel="noopener noreferrer"&gt;Jonathan Fulton’s architectural breakdown&lt;/a&gt;: a loop that decides when to call the model again, a context manager that handles compaction and memory, a tool registry with descriptions and schemas, and an approval system that intercepts tool calls. Codex and Claude Code converge on similar architectures here. The differences that drive the harness effect are subtler: how aggressively each one summarizes context, how many parallel sub-agents it manages, what the default tool descriptions look like, how the system prompt is structured.&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%2Fyl6x42nwz99w6smf30yh.jpg" 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%2Fyl6x42nwz99w6smf30yh.jpg" alt="Two software engineers collaborating at a whiteboard sketching an orchestration system diagram — planning driver worker architecture for agentic coding" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If 16-36 percentage points of capability come from the wrapper rather than the weights, then &lt;em&gt;nesting&lt;/em&gt; harnesses (putting one inside another in a driver/worker topology) is a way of stacking those gains, not averaging them. The driver gets the planning and integration capability of one wrapper. The worker gets the terminal autonomy and token efficiency of another. The combined system is bigger than either side, and the cross-harness review that emerges from the topology is what catches the bugs neither single harness sees.&lt;/p&gt;

&lt;h2&gt;
  
  
  How We Run Them Together: Driver/Worker Orchestration
&lt;/h2&gt;

&lt;p&gt;The pattern is hierarchical, not parallel. &lt;strong&gt;Driver/Worker Orchestration&lt;/strong&gt;: Claude Code drives. Codex executes when the driver delegates. Results return up to the driver. Working alternatives include the Planner-Driver Pattern and the Orchestrator/Worker Harness.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;th&gt;Why this side&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Driver keeps&lt;/strong&gt; (Claude Code)&lt;/td&gt;
&lt;td&gt;Planning, codebase comprehension, architecture decisions, deciding what to delegate, deciding when the task is done&lt;/td&gt;
&lt;td&gt;The driver’s job is to hold the whole picture. Long-context coherence and the self-verification sub-agents make it the right tool for the work that has to remember why earlier decisions were made.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Driver delegates to worker&lt;/strong&gt; (Codex)&lt;/td&gt;
&lt;td&gt;Long terminal runs, mechanical transformations, parallelizable sub-tasks, anything where 45+ minute uninterrupted execution and lower per-token cost are the right shape&lt;/td&gt;
&lt;td&gt;The worker doesn’t need to hold the whole picture. It needs a scoped task, the ability to run hard for an hour, and the discipline to report back cleanly. Codex’s terminal autonomy and token efficiency fit that shape.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Worker returns to driver&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Codex reports results, diffs, test outcomes, and any unresolved questions back up. Claude Code reads the returned work in its own context, reasons over it, integrates it, decides next steps&lt;/td&gt;
&lt;td&gt;Review is implicit in the topology rather than a separate “cross-model review pipeline step.” The driver always re-reads the worker’s output before merging it into the plan; cross-harness coverage is a side-effect, not a manual step bolted onto the end.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-29-J-codex-claude-code-harness-03.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-29-J-codex-claude-code-harness-03.svg" alt="Driver Worker Orchestration diagram: Claude Code as driver delegates to Codex as worker, which returns results in a continuous loop" width="100" height="65.38461538461539"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The driver’s loop never closes. Claude Code spawns Codex, waits for it to finish, then re-engages with the returned work. The next task usually emerges from reasoning over what came back, not from a pre-planned queue. That’s why the topology compounds. Each worker run sharpens the driver’s plan; each driver decision changes the next thing the worker gets asked to do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shared context, separate context files.&lt;/strong&gt; Claude Code reads CLAUDE.md at the project root; Codex reads from ~/.codex/skills/. Both have to know the same conventions or the worker’s output won’t fit cleanly back into the driver’s plan. Chandler’s &lt;a href="https://chandlernguyen.com/blog/2026/03/13/codex-gpt-5-4-vs-claude-code-opus-4-6-dual-wielding-ai-coding-tools/" rel="noopener noreferrer"&gt;cross-pollination workflow&lt;/a&gt; is the practical answer: have Codex study your existing Claude Code skills and produce equivalents under ~/.codex/skills. Same conventions, two file formats. The Skills standard is converging across both tools, but as of April 2026 you’re still translating between formats.&lt;/p&gt;

&lt;p&gt;The cleanest version of this runs Codex from inside the Claude Code session, through an orchestration framework that handles the spawn, wait, and return. The worker doesn’t see the user; it sees the driver. The user sees only the driver. That’s what makes the loop close: Claude Code is the only thing the engineer interacts with directly.&lt;/p&gt;

&lt;p&gt;The worker reports structured results: diffs, test results, log excerpts, unanswered questions. The driver reasons better when the worker’s return packet is shaped for reasoning rather than just for human review. This is mostly a matter of how the framework prompts the worker. Most orchestration frameworks now support structured return packets out of the box.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Orchestration Framework Layer (BEADS+Metaswarm and the 2026 Ecosystem)
&lt;/h2&gt;

&lt;p&gt;The driver/worker topology runs through a framework: the substrate that handles spawn, context handoff, structured return, and session bookkeeping so the driver can pick up where the worker left off. As of April 2026 we run on &lt;a href="https://github.com/dsifry/metaswarm/releases/tag/v0.11.0" rel="noopener noreferrer"&gt;BEADS with Metaswarm v0.11.0&lt;/a&gt;. Metaswarm provides the multi-agent orchestration layer; BEADS handles persistent issue tracking, context priming, and semantic summarization across sessions, exposed as a Claude Code plugin. It’s what we use today. It’s not what we’ll necessarily use next month.&lt;/p&gt;

&lt;p&gt;Framework choice is fluid in a way that didn’t exist before agentic coding. Switching between Metaswarm and an alternative is a per-project decision now, not a per-company one. You can scaffold one system, test a different framework on the next sprint, and migrate gradually if the new one earns it. The pattern (Driver/Worker Orchestration) is what holds across framework swaps.&lt;/p&gt;

&lt;p&gt;The wider 2026 ecosystem at the harness/framework layer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/steveyegge/beads" rel="noopener noreferrer"&gt;BEADS&lt;/a&gt; + &lt;a href="https://github.com/dsifry/metaswarm" rel="noopener noreferrer"&gt;Metaswarm&lt;/a&gt;:&lt;/strong&gt; our current stack. Metaswarm’s session hooks defer to the standalone BEADS plugin for context priming and decision tracking, which means the driver can survive context compaction without losing the thread.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/coleam00/Archon" rel="noopener noreferrer"&gt;Archon&lt;/a&gt;:&lt;/strong&gt; described in April 2026 research as the first open-source harness builder for orchestrating Claude Code and Codex together. Worth a look if you want to build your own multi-tool flow rather than wire up shell scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/SethGammon/Citadel" rel="noopener noreferrer"&gt;Citadel&lt;/a&gt;:&lt;/strong&gt; agent orchestration harness for Claude Code and Codex with parallel agents in isolated worktrees, four-tier intent routing, and persistent campaign memory across sessions. The closest in scope to BEADS + Metaswarm if you want a different shape on the same problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://www.humaninloop.dev/" rel="noopener noreferrer"&gt;HumanInLoop&lt;/a&gt;:&lt;/strong&gt; open-source strategy harness on top of Claude Code — DAG-based multi-agent coordination with cascade safety, focused on telling each agent what to build and why before delegation. Different angle on the orchestration question.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/ai-boost/awesome-harness-engineering" rel="noopener noreferrer"&gt;awesome-harness-engineering&lt;/a&gt;:&lt;/strong&gt; the canonical GitHub corpus on harness patterns. First read for anyone trying to understand what’s actually being built at this layer.&lt;/li&gt;
&lt;/ul&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%2Fiedhu5vv4zhk4g354ls8.jpg" 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%2Fiedhu5vv4zhk4g354ls8.jpg" alt="Professional at a workstation with holographic framework orchestration nodes floating in warm amber and cyan light — visualizing agentic coding framework layer" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/openai/codex" rel="noopener noreferrer"&gt;Codex CLI repo&lt;/a&gt; sits at 67k GitHub stars; &lt;a href="https://github.com/anthropics/claude-code" rel="noopener noreferrer"&gt;Claude Code&lt;/a&gt; at 114k. The community of practice around both is active enough that the driver/worker topology is being independently rediscovered week by week. Most teams who run both for more than a month end up at some version of it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where We’ve Run This (Three Production Categories)
&lt;/h2&gt;

&lt;p&gt;The pattern doesn’t pay for itself on small tasks. Three workload shapes earn it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Complex code refactoring.&lt;/strong&gt; Multi-file refactors across a large codebase, where the architecture decision drives a series of mechanical transformations downstream. The driver holds the architecture and the invariants the refactor has to preserve. The worker does the long mechanical pass, file by file, returning diffs and test results. The driver re-reads each return, catches the cases where the mechanical transformation broke an architectural assumption, and either fixes them in-place or sends the worker back with a tightened spec.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WordPress site and server migrations.&lt;/strong&gt; Building or migrating an entire WordPress site, including the underlying server. The work is a mix of architectural decisions (theme structure, plugin selection, server topology) and long mechanical execution (block migration, content import, server provisioning, deployment scripts). The driver/worker split fits naturally: Claude Code reasons about the architecture and the migration order, Codex executes the long terminal sessions and reports back. Some of these runs go for hours.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ground-up SAAS rebuilds.&lt;/strong&gt; Re-platforming an existing SAAS system with upgraded security, statefulness, and reliability. The driver holds the new architecture, the security model, the state-handling decisions. The worker rebuilds modules, runs migration scripts, executes the long test passes that catch regressions. The combined session has been the highest-leverage version of the pattern we run.&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%2Fnrmdhz3vcyng17ko8kxf.jpg" 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%2Fnrmdhz3vcyng17ko8kxf.jpg" alt="Small engineering team reviewing agentic coding results together around a monitor — team adoption of driver worker orchestration with Claude Code and Codex" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The economics across these three categories: teams running this report roughly 80% higher result quality versus single-tool runs of comparable shape, with substantially more code shipped per session and a lower per-task cost (because the worker is doing the volume on the more token-efficient model). Wall-clock per session is slightly slower than single-tool runs would be (the driver/worker handoffs add a few minutes each cycle), but you do other work while the worker runs, so wall-clock isn’t the right unit. The longest single combined run we’ve executed start-to-finish was just under four hours. None of those numbers are A/B-clean; they’re what we see in practice across these three workload shapes.&lt;/p&gt;

&lt;p&gt;The same pattern runs on our content side. Our &lt;a href="https://fountaincity.tech/resources/blog/inside-our-pipeline/" rel="noopener noreferrer"&gt;multi-agent content pipeline&lt;/a&gt; runs on the same driver/worker structure at a monthly cost equivalent to roughly 3 hours of a mid-level engineer (a planning agent that delegates execution to specialized workers and integrates the returned work). Different domain, same topology. &lt;a href="https://fountaincity.tech/resources/blog/meet-the-ai-agent-team/" rel="noopener noreferrer"&gt;The agent team&lt;/a&gt; running that pipeline is structured around the same driver/worker logic at a higher level of abstraction.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Costs (At Team Scale)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scale&lt;/th&gt;
&lt;th&gt;Monthly tooling spend&lt;/th&gt;
&lt;th&gt;Reference point&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Solo developer (driver + worker)&lt;/td&gt;
&lt;td&gt;$120-$400&lt;/td&gt;
&lt;td&gt;Claude Max $100-$200 + ChatGPT Plus $20 or Pro $200&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4-engineer team&lt;/td&gt;
&lt;td&gt;$480-$1,200&lt;/td&gt;
&lt;td&gt;4× Claude Max + shared/individual ChatGPT seats&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Our internal pipeline (10+ agents)&lt;/td&gt;
&lt;td&gt;~$450-$600&lt;/td&gt;
&lt;td&gt;Cost equivalent to roughly 3 hours of a mid-level engineer per month&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A mid-level engineer fully loaded runs $150K-$200K/year, which is $12K-$17K/month. The 4-engineer dual-tool stack pays for itself with single-digit hours of replaced work per engineer per month. The only published case study at large company scale we’ve seen is &lt;a href="https://lushbinary.com/blog/gpt-5-5-vs-claude-opus-4-7-comparison-benchmarks-pricing/" rel="noopener noreferrer"&gt;Anthropic’s own Rust C-compiler internal study&lt;/a&gt;: roughly 2,000 sessions, ~$20K total cost, on a 100K-line codebase. That’s vendor-published economics on a single-tool engagement, useful as a reference shape for what large-scale agentic work costs.&lt;/p&gt;

&lt;p&gt;The driver/worker version of the bill comes out lower than running everything on Claude Code, because the worker is doing the volume on the more token-efficient model.&lt;/p&gt;

&lt;h2&gt;
  
  
  A 90-Day Team Adoption Playbook
&lt;/h2&gt;

&lt;p&gt;The driver/worker pattern is teachable, but it doesn’t install itself. Teams that adopt it cleanly tend to follow some version of this rollout.&lt;/p&gt;

&lt;h3&gt;
  
  
  Weeks 1-2: Get one engineer fluent on the driver
&lt;/h3&gt;

&lt;p&gt;Pick the driver first. Claude Code is the safer default for the driver role for most teams, because the planning, comprehension, and review work is what the driver does and that’s where Claude Code currently leads. Get one engineer fluent before involving anyone else. Set up CLAUDE.md for your codebase. Don’t add the worker yet. The point of this phase is for the engineer to internalize what work the driver actually does and what work it should hand off.&lt;/p&gt;

&lt;h3&gt;
  
  
  Weeks 3-4: Add the worker inside the driver’s harness
&lt;/h3&gt;

&lt;p&gt;Same engineer now adds Codex as the worker. Pick a framework (BEADS+Metaswarm, Archon, or roll your own) that handles the spawn-and-return mechanics. The single calibration question this phase answers: what work should the driver delegate, and what should it keep? The answer is codebase-specific. By end of week 4, the engineer should have a one-page allocation document that captures it. Run cross-harness review on every non-trivial PR by virtue of the topology, not as a separate step.&lt;/p&gt;

&lt;h3&gt;
  
  
  Weeks 5-8: Roll out to the team
&lt;/h3&gt;

&lt;p&gt;Other engineers adopt the driver first, then add the worker. Publish your CLAUDE.md, your ~/.codex/skills, and your framework configuration in the repo so the team inherits the same context. Hold a weekly 30-minute review: what did the driver/worker flow catch that single-tool would have missed? What did the framework get in the way of? Adjust the framework config rather than the topology. The topology is the whole point.&lt;/p&gt;

&lt;h3&gt;
  
  
  Weeks 9-12: Measure and decide on the framework
&lt;/h3&gt;

&lt;p&gt;Three numbers to track. Token cost split between the two harnesses (worker should be doing meaningfully more of the volume; if it isn’t, the driver is over-keeping). Pull requests per engineer per week (delta from before adoption). Regression catch rate (driver re-reads of worker output should catch things that single-tool runs would have shipped). At the 12-week mark, the decision is usually about the framework, not the topology: keep BEADS+Metaswarm, swap to Archon, or move to whatever has appeared in the months since this article was written. The topology survives the framework swap.&lt;/p&gt;

&lt;h3&gt;
  
  
  Common Pitfalls
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Treating the worker as a peer.&lt;/strong&gt; The point isn’t redundancy or parallel allocation. The worker doesn’t see the user, doesn’t hold the architecture, doesn’t decide when something is done. Treating it as a peer collapses the pattern back into the parallel version that doesn’t compound.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skipping the result-integration step in the driver.&lt;/strong&gt; The whole topology depends on the driver re-reading the worker’s output before integrating it. If you let the worker’s diffs auto-merge, you’ve removed most of the value.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Over-anchoring on the framework.&lt;/strong&gt; Framework switching is cheap now. Pick one, run with it, swap it when something better lands. Don’t build the team’s entire workflow around any specific framework’s idiosyncrasies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ignoring token-cost monitoring.&lt;/strong&gt; Both harnesses can spike unexpectedly. Set thresholds and alerts; the cost-control pattern is detailed in &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-cost-circuit-breaker/" rel="noopener noreferrer"&gt;the cost circuit breaker post&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When You Should Not Use Both
&lt;/h2&gt;

&lt;p&gt;The driver/worker pattern earns its overhead on a specific shape of work. Outside that shape, single-tool is the right answer.&lt;/p&gt;

&lt;p&gt;If your work fits in one context window or sits cleanly in one category, pick the matching tool and go deep. Driver/worker pays off when the work is large enough that the driver has something to hand off; on small focused tasks or uniform workloads, the handoff overhead exceeds the gain. If your work is 100% terminal-heavy ops, Codex alone is fine. If it’s 100% deep architectural reasoning over a small codebase you can hold in your head, Claude Code alone is fine.&lt;/p&gt;

&lt;p&gt;Teams without operational discipline for the handoff topology should skip the second tool until they have it. Running two harnesses without the driver re-reading worker output is just running two harnesses; you get the cost of both with the catch rate of one. The structural discipline matters more than the tool count.&lt;/p&gt;

&lt;p&gt;If your team is on one tool and shipping fine, the upgrade priority is probably not adding the second tool. It’s getting better at the one you have. The harness-effect data above (16-36 percentage points hidden in better harness configuration) suggests most teams have meaningful headroom on their current tool before they need a second.&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%2F802cm4c6w7fi0vo3n1ro.jpg" 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%2F802cm4c6w7fi0vo3n1ro.jpg" alt="Elegant fountain in a sunset-lit plaza with water jets in motion and holographic data particles floating in the warm amber mist" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Fountain City Fits
&lt;/h2&gt;

&lt;p&gt;We run Driver/Worker Orchestration in our own pipeline and on client engagements. We teach it through &lt;a href="https://fountaincity.tech/services/agentic-coding-training/" rel="noopener noreferrer"&gt;agentic coding training&lt;/a&gt; for development teams and agencies. When teams want the orchestration built and operated for them rather than learning to run it themselves, that’s the work behind &lt;a href="https://fountaincity.tech/services/managed-autonomous-ai-agents/" rel="noopener noreferrer"&gt;managed autonomous AI agents&lt;/a&gt; (also see our &lt;a href="https://fountaincity.tech/services/agentic-development/" rel="noopener noreferrer"&gt;agentic development&lt;/a&gt; service for build-only engagements). The same driver/worker logic shows up in other agent applications too — see &lt;a href="https://fountaincity.tech/resources/blog/agentic-seo-practitioner-guide/" rel="noopener noreferrer"&gt;how the pattern shows up in agentic SEO&lt;/a&gt; for a different domain example.&lt;/p&gt;

&lt;p&gt;If you want to run this yourself, you have what you need. If you want help, that’s the conversation we have.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Is GPT-5.5 better than Claude Opus 4.7 for coding?
&lt;/h3&gt;

&lt;p&gt;Neither is uniformly better. Opus 4.7 leads on SWE-bench Pro (64.3% vs 58.6%) and on architecture-heavy benchmarks (CursorBench 70%, GPQA Diamond 94.2%). GPT-5.5 leads on Terminal-Bench 2.0 (82.7%), OSWorld-Verified (78.7%), and Tau2-bench Telecom (98.0%), and uses ~72% fewer output tokens on equivalent tasks. The right answer depends on what shape of work dominates your team. For mixed workloads, the answer is to use both, with Claude Code as the driver and Codex as the worker, per the topology described above.&lt;/p&gt;

&lt;h3&gt;
  
  
  Should I use Codex or Claude Code if I can only afford one?
&lt;/h3&gt;

&lt;p&gt;If your work is heavily terminal-based, ops-heavy, or token-cost-sensitive, pick Codex. If your work is architecture-heavy, involves long multi-file refactors, or requires sustained reasoning over ambiguous specs, pick Claude Code. Solo developers with mixed workloads typically default to Claude Code for the planning sophistication and add ChatGPT Plus ($20/mo) only when they hit a workload Claude Code is poor at, at which point they’re effectively running the driver/worker pattern at a small scale.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I use Claude Code’s CLAUDE.md context with Codex?
&lt;/h3&gt;

&lt;p&gt;Not directly. Codex reads from ~/.codex/skills/. The practical workaround is the cross-pollination pattern: ask Codex to study your CLAUDE.md and your Claude Code plugins, then generate equivalent skills under ~/.codex/skills. The Skills standard is converging across both tools, so over time this is becoming more portable, but as of April 2026 you’re still translating between formats.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the harness effect, and why does it matter for the driver/worker pattern?
&lt;/h3&gt;

&lt;p&gt;The harness effect is the capability gap between the same model running in two different harnesses. Matt Mayer’s research found Claude Opus scoring 77% in Claude Code and 93% in Cursor on identical tasks, with 16 percentage points coming purely from the harness. CORE-Bench found a 36-point gap in similar testing. The implication for the driver/worker pattern: nesting harnesses stacks the harness gains rather than averaging them. The driver gets one wrapper’s planning capability; the worker gets another’s terminal autonomy and token efficiency. That’s what makes the topology compound rather than dilute.&lt;/p&gt;

&lt;h3&gt;
  
  
  Are there open-source alternatives to Claude Code and Codex?
&lt;/h3&gt;

&lt;p&gt;Yes. OpenCode is the most prominent: open-source with an apply_patch tool tuned for Codex-model performance. Archon is the open-source harness builder for orchestrating multiple coding agents. The Skills standard (Anthropic-originated, now multi-tool) makes cross-tool portability practical. The &lt;a href="https://github.com/ai-boost/awesome-harness-engineering" rel="noopener noreferrer"&gt;awesome-harness-engineering&lt;/a&gt; GitHub repo is the canonical inventory. We currently run BEADS+Metaswarm on top of Claude Code as the driver and Codex as the worker; the framework choice is fluid.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long does it take a team to adopt the driver/worker workflow?
&lt;/h3&gt;

&lt;p&gt;Roughly 90 days from cold start to measured rollout. Two weeks for the first engineer to get fluent on the driver alone. Two more weeks to add the worker and calibrate the delegation pattern for that codebase. Four weeks of team rollout. Four weeks of measurement before deciding whether to keep the framework or swap it. The full playbook is in the section above.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Last updated: April 2026. Both Codex and Claude Code update frequently, and the framework layer (BEADS+Metaswarm, Archon, OpenCode, others) moves faster than either model. We’ll refresh this article as Opus 4.8 and GPT-5.6 land, and as the framework choice changes.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>automation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Agentic Engineering Is Here: What Karpathy&amp;#8217;s Naming Means for Your AI Investment</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Tue, 28 Apr 2026 18:12:15 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/agentic-engineering-is-here-what-karpathy8217s-naming-means-for-your-ai-investment-57g1</link>
      <guid>https://dev.to/sebastian_chedal/agentic-engineering-is-here-what-karpathy8217s-naming-means-for-your-ai-investment-57g1</guid>
      <description>&lt;p&gt;Your team adopted AI coding tools six months ago. Are they actually faster?&lt;/p&gt;

&lt;p&gt;If the answer is ambiguous, you’re in good company. The productivity claims for AI-assisted development have ranged from 55-88% improvement (early Copilot studies) down to negative results for experienced engineers working on codebases they know well. The gap between those numbers isn’t a measurement error. It describes two different situations, and the difference shapes every AI investment decision.&lt;/p&gt;

&lt;p&gt;In February 2026, Andrej Karpathy gave this gap a name. He proposed retiring the term “vibe coding” and replacing it with something more precise: &lt;strong&gt;agentic engineering&lt;/strong&gt;. Within weeks, monthly searches for the term grew from a few hundred to nearly 3,000. The naming stuck because the discipline behind it has its own skills, failure modes, and quality standards, distinct from both traditional software engineering and from casual AI prompting.&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%2Fot4nk8116x2xgsbsaepo.jpg" 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%2Fot4nk8116x2xgsbsaepo.jpg" alt="Developer at workstation with AI agent companions under human direction — agentic engineering in practice" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Karpathy Actually Said (And Why the Language Matters)
&lt;/h2&gt;

&lt;p&gt;Karpathy’s &lt;a href="https://x.com/karpathy/status/2019137879310836075" rel="noopener noreferrer"&gt;framing&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;“Agentic because the new default is that you are not writing the code directly 99% of the time, you are orchestrating agents who do and acting as oversight. Engineering to emphasize that there is an art &amp;amp; science and expertise to it.”&lt;/p&gt;

&lt;p&gt;Two things are happening in that sentence. First, the default mode of working has changed: instead of a developer writing code, a developer is directing agents that write code and then reviewing what comes back. Second, that orchestration takes expertise. It is not just a different interface for the same work. It’s a different discipline with its own skills, failure modes, and quality standards.&lt;/p&gt;

&lt;p&gt;Vibe coding was the early name for “give the AI a rough idea of what you want and see what it generates.” It worked well for prototypes, demos, and things that didn’t need to survive contact with reality. Agentic engineering is what you need when the output has to actually hold up.&lt;/p&gt;

&lt;p&gt;When a field gets a name that distinguishes craft from carelessness, it usually means the field is serious enough to have developed standards. That’s now true of this one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Productivity Paradox Business Leaders Need to Understand
&lt;/h2&gt;

&lt;p&gt;The productivity claims for AI-assisted development have ranged from 55-88% improvement (early Copilot studies from 2023-2024) down to zero or negative. A &lt;a href="https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/" rel="noopener noreferrer"&gt;METR study&lt;/a&gt; from mid-2025 found that experienced open-source developers were approximately 20% slower when using AI tools on their own codebases. The study ran 16 developers across real repositories averaging 22,000 GitHub stars, not toy projects.&lt;/p&gt;

&lt;p&gt;Research by Yegor Denisov-Blanch at Stanford puts the median productivity lift at 10-15%, not the 55-88% figure that circulated in early coverage.&lt;/p&gt;

&lt;p&gt;These numbers don’t contradict each other. They describe different situations. The high-end figures came from developers using AI on unfamiliar tasks: generating boilerplate, writing documentation, producing code in languages they knew less well. The lower or negative figures came from experienced developers working on complex codebases they already understood deeply. There, AI interrupted their flow more than it accelerated it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://addyosmani.com/blog/agentic-engineering/" rel="noopener noreferrer"&gt;Addy Osmani’s practitioner analysis&lt;/a&gt; states it directly: “Agentic engineering disproportionately benefits senior engineers. If you have deep fundamentals, you can leverage AI as a massive force multiplier.” The inverse is also true. Developers who use AI to skip fundamentals accumulate invisible debt. Code that demos fine fails six months later when something needs to change and nobody understands the underlying structure.&lt;/p&gt;

&lt;p&gt;According to IBM’s &lt;a href="https://www.ibm.com/think/topics/agentic-engineering" rel="noopener noreferrer"&gt;coverage of the Stack Overflow 2025 Developer Survey&lt;/a&gt;, 84% of developers use or intend to use AI-assisted programming, but only 3% say they “highly trust” AI-generated output. The people closest to the tools are the least convinced by them. Seasoned engineers reported the lowest rate of high trust (2.6%) and the highest rate of high distrust (20%). The developers who are best positioned to use these tools well are also the most skeptical of what the tools produce. That caution is itself a core agentic engineering practice.&lt;/p&gt;

&lt;p&gt;ROI from agentic engineering depends far more on the skill of the orchestrator than on the cost of the AI tools. A senior engineer or a team that has put in the deliberate practice required will get dramatically different results than someone who installed an AI extension and called it done. Tool cost is nearly irrelevant. The human running the system determines the outcome.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-agentic-engineering-karpathy-03.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-agentic-engineering-karpathy-03.svg" alt="Diagram comparing AI productivity outcomes: junior developers accumulate technical debt vs senior engineers gain compounding returns from agentic engineering" width="100" height="43.58974358974359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Two Things People Call Agentic Engineering (That Are Very Different)
&lt;/h2&gt;

&lt;p&gt;The term is being used for two distinct applications. They share a methodology but produce different value and require different evaluation criteria.&lt;/p&gt;

&lt;p&gt;The first meaning is the one Karpathy coined: an engineering team using AI agents to write, test, and refine code. The human developer orchestrates the agents, reviews outputs, sets standards, and owns the final system. This applies to software product teams building applications.&lt;/p&gt;

&lt;p&gt;The second meaning is newer and gets far less coverage: agents performing specific business functions end-to-end. Content production, research, data analysis, customer operations, process automation. No code is being written. Business work is being done. The orchestration discipline is the same, but the domain is operational rather than technical.&lt;/p&gt;

&lt;p&gt;If you’re evaluating a software development firm’s claim to “do agentic engineering,” you should be asking about their code review processes, their testing methodology, and how they handle agent-generated code that fails quietly. If you’re evaluating a vendor claiming to use agentic engineering for business operations, you should be asking about their quality gates, their output validation processes, and what their failure response looks like.&lt;/p&gt;

&lt;p&gt;The skills required are also different. Agentic engineering for software development requires deep engineering fundamentals. Agentic engineering for business operations requires deep domain expertise in whatever function the agent is performing, plus the architectural knowledge to design systems that catch their own errors.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-agentic-engineering-karpathy-05.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-agentic-engineering-karpathy-05.svg" alt="Diagram comparing two meanings of agentic engineering: software development vs business operations — shared methodology with different domain expertise requirements" width="100" height="51.282051282051285"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Agentic Engineering for Business Operations Actually Looks Like
&lt;/h2&gt;

&lt;p&gt;Most coverage of agentic engineering is developer-facing. The same discipline applies to ongoing business operations, and one worked example is the pipeline that produced this article.&lt;/p&gt;

&lt;p&gt;The article you are reading started as a content brief produced by our SEO research agent. The brief contained a target keyword cluster, a competitive analysis of the top ten SERP results, and a set of source links to anchor factual claims. The brief is the spec. Without it, the writing agent would be generating content from vibes, not from data. The task is designed before the agent touches it.&lt;/p&gt;

&lt;p&gt;Once the brief was approved, the writing agent loaded it along with the company’s brand voice rules, positioning documents, and recent article history. The agent writes a first draft, but the draft does not go to the human yet. It passes through a self-review stage where the same agent evaluates the draft against the voice guide, checking for banned patterns (guru framing, AI-sounding repetition, dramatic setups), verifying that every specific claim has a source, and flagging sections that feel thin. The review generates a report.&lt;/p&gt;

&lt;p&gt;Anthropic’s research on multi-agent harnesses surfaces the same pattern: when an agent is asked to evaluate work it produced, it tends toward confident self-approval rather than honest critique. Their engineering team published a &lt;a href="https://www.anthropic.com/engineering/harness-design-long-running-apps" rel="noopener noreferrer"&gt;reference architecture&lt;/a&gt; for this exact challenge, a planner, generator, and evaluator in sequence, and their finding was blunt: agents that generate content “confidently praise” their own output even when quality is mediocre. The solution is architectural: separate the generator from the evaluator so they’re not the same system assessing its own work.&lt;/p&gt;

&lt;p&gt;In our pipeline, the structural answer to this problem is adversarial review. After self-review, the draft goes to a separate review stage that evaluates it from a different angle: not “does this match the voice guide” but “does this article add something new that a reader couldn’t get from the other nine results on the SERP.” A single agent reviewing its own work will miss things. Two stages with different evaluation criteria catch more. The generator and the evaluator have to be structurally separate.&lt;/p&gt;

&lt;p&gt;Once the review passes, the human editor, Sebastian in our case, reads the final draft. He approves, requests changes, or rejects. The human owns the output even though an agent produced the draft. The approval is not a formality. Articles come back with revision instructions regularly, and the revision loop runs until the human is satisfied.&lt;/p&gt;

&lt;p&gt;The article then moves through art direction (image generation based on brand visual guidelines), deduplication checking (ensuring this article doesn’t repeat the same proof points as the last three published pieces), and finally publication to WordPress. At each stage, defined quality gates determine whether the article advances or goes back. The article doesn’t flow forward because someone clicked approve. It flows forward because it passed a mechanical check.&lt;/p&gt;

&lt;p&gt;This is one article. The same pipeline runs dozens of pieces per month. The same architectural shape, spec, generate, review, gate, publish, runs our software development pipeline, our SEO research, and the systems we build for clients. The vocabulary changes (“article” instead of “PR,” “editorial review” instead of “code review”), but the engineering posture is identical.&lt;/p&gt;

&lt;p&gt;For longer worked examples, see our case studies on the Voice Intelligence Platform (telephony + AI orchestration, zero human-written code) and the Hydraulic 3D Simulation (18,000 lines of physics code, $360 in API spend).&lt;/p&gt;

&lt;p&gt;Agentic engineering for business operations is orchestration design. The AI capability matters, but the system design, how tasks move, how quality is assessed, how errors get caught before they propagate, is where the engineering lives.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 5 Signs Your Team (or Vendor) Is Actually Doing Agentic Engineering
&lt;/h2&gt;

&lt;p&gt;Five markers separate professional practice from label adoption:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;They start with a spec, not a prompt.&lt;/strong&gt; Agentic engineering requires designing the task before AI touches it: what inputs, what outputs, what quality criteria, what failure modes. If someone jumps straight to prompting without this design phase, that’s vibe coding with extra steps, not agentic engineering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They review every output every time through a defined process, not spot-checks.&lt;/strong&gt; Systematic validation. The human owns the output even if an agent created it. A team genuinely doing agentic engineering will have a clear answer to “what is your output review process.” A team that isn’t will talk about how good the AI is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They have quality gates, not just outputs.&lt;/strong&gt; Results pass through defined criteria before moving to the next stage. Automated tests, structured review rubrics, or a validation step that must pass before handoff. If every stage produces output that flows directly to the next stage without validation, that’s a pipeline, not engineering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They can explain what went wrong.&lt;/strong&gt; Production agentic systems fail. The failure stories are the proof of production experience. A practitioner running real systems can tell you how a specific run failed, why it failed, and what changed in response. If someone has no failure stories, they have no production systems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Their agents do boring work reliably.&lt;/strong&gt; The best agentic systems are optimized for repeatability, not just capability. A system that produces impressive output occasionally is a demo. A system that produces good-enough output consistently is engineering. If every run requires significant cleanup, it’s not there yet.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These questions work for evaluating internal teams and vendors equally. The answers reveal whether someone has worked through the hard parts of production deployment, or is still describing what the technology is theoretically capable of.&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means for Your AI Budget in 2026
&lt;/h2&gt;

&lt;p&gt;Agentic engineering is not a tool you buy. It’s a capability you build, hire, or contract for. The AI subscriptions are a small part of the cost. The capability to orchestrate, validate, and run systems reliably is where the investment goes. Three paths get you there:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Build the capability in-house.&lt;/strong&gt; This requires hiring engineers who understand both the domain and the orchestration layer. Practitioner analysis suggests consistent productivity gains require roughly 30-100 hours of deliberate practice per person. This is not something that comes from onboarding documentation. Expect a real ramp time before the investment returns measurable value. The payoff, when it arrives, compounds: a senior engineer running agentic workflows can handle workloads that would otherwise require multiple people. The risk: if that engineer leaves, the capability leaves with them. For companies with thin technical teams, this is the strongest argument for the other two paths.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Train your existing team.&lt;/strong&gt; Structured training on agentic development, how to design tasks, validate outputs, and build quality gates, accelerates the learning curve significantly. This is what our &lt;a href="https://fountaincity.tech/services/agentic-coding-training/" rel="noopener noreferrer"&gt;agentic coding workshops&lt;/a&gt; are built to do: take developers who understand their domain and give them the orchestration discipline that makes their AI use productive rather than risky. Training distributes the knowledge across the team rather than concentrating it in one person, which mitigates the key-person risk.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Contract with a team already running production systems.&lt;/strong&gt; This is the lowest-risk path if the need is immediate. The cost is real, but you’re paying for operational depth, not just AI access. The key question to ask any vendor: “Show me a production system you’ve been running for more than six months. What failed, and what did you fix?” The answer tells you more than any capability list. If you’re evaluating this path, our &lt;a href="https://fountaincity.tech/services/agentic-development/" rel="noopener noreferrer"&gt;agentic development services&lt;/a&gt; are built on production systems that have been running and failing and improving for well over a year.&lt;/p&gt;

&lt;p&gt;Production agentic systems for business operations are not expensive to run once they’re built. The AI infrastructure cost is a fraction of what the equivalent human work would cost. The investment is in building and validating the system, not in running it. A well-designed agentic system runs at a fraction of the cost of manual execution. This holds only after the engineering work is done correctly.&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%2F6211qn97n1epscadbh1j.jpg" 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%2F6211qn97n1epscadbh1j.jpg" alt="Three illustrated paths for agentic engineering investment in 2026: build in-house, train your team, or partner with practitioners" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Consensus Behind the Name
&lt;/h2&gt;

&lt;p&gt;Karpathy’s naming didn’t create this paradigm. It named something that was already developing. What makes early 2026 a meaningful moment is that three independent signals converged on the same conclusion within weeks of each other.&lt;/p&gt;

&lt;p&gt;Karpathy named the discipline from the practitioner developer community. Separately, Anthropic published a &lt;a href="https://www.anthropic.com/engineering/harness-design-long-running-apps" rel="noopener noreferrer"&gt;reference architecture for multi-agent systems&lt;/a&gt;, the planner/generator/evaluator design they developed through running production multi-hour autonomous coding sessions. And Cloudflare launched their &lt;a href="https://blog.cloudflare.com/welcome-to-agents-week/" rel="noopener noreferrer"&gt;Agents Week&lt;/a&gt;, announcing infrastructure specifically designed for agentic workloads, built on the premise that agents require one-to-one compute isolation that the container model can’t provide efficiently at scale.&lt;/p&gt;

&lt;p&gt;The model creator named the discipline. A leading AI lab published its reference architecture. A major infrastructure provider built the plumbing for it. When those three things happen independently in the same month, the paradigm is established rather than emerging.&lt;/p&gt;

&lt;p&gt;Whether agentic engineering is established is no longer the question. How quickly your organization needs to develop or access the capability is, and which of the three paths fits your current team and timeline.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  Is agentic engineering the same as vibe coding?
&lt;/h3&gt;

&lt;p&gt;No. Vibe coding describes generating code through informal prompting without systematic validation: the AI builds something, you hope it works. Agentic engineering describes orchestrating AI agents with professional discipline: designing tasks before executing them, validating outputs systematically, and maintaining human ownership of results. Vibe coding produces prototypes. Agentic engineering produces systems that hold up.&lt;/p&gt;

&lt;h3&gt;
  
  
  What skills do you need to do agentic engineering?
&lt;/h3&gt;

&lt;p&gt;For software development: deep software engineering fundamentals plus the discipline to design, validate, and own AI-generated outputs. For business operations: deep domain expertise in whatever function the agent is performing, plus architectural knowledge of how to build multi-agent systems with reliable quality gates. In both cases, senior-level mastery of the underlying domain is the prerequisite. AI amplifies that expertise; it doesn’t substitute for it.&lt;/p&gt;

&lt;h3&gt;
  
  
  How long does it take to see productivity gains from agentic engineering?
&lt;/h3&gt;

&lt;p&gt;Practitioner research suggests 30-100 hours of deliberate practice before consistent gains appear. That’s per person, per domain. The gains compound over time: once the orchestration patterns are internalized, the productivity differential between AI-augmented and non-augmented work becomes substantial. Expecting immediate returns from minimal onboarding will produce disappointment, not results.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can agentic engineering be applied to business operations, not just software development?
&lt;/h3&gt;

&lt;p&gt;Yes. This is the use case that gets least coverage. Agents can perform specific business functions end-to-end: content production, market research, data analysis, customer operations, knowledge management, process documentation. The orchestration discipline is identical; the domain expertise required shifts to match the function. We design and deploy these systems, and the methodology is the same as for software: spec the task, validate the output, gate the handoffs.&lt;/p&gt;

&lt;h3&gt;
  
  
  What’s the difference between agentic engineering and AI automation?
&lt;/h3&gt;

&lt;p&gt;AI automation describes rule-based or AI-assisted workflows where the logic is predefined and the AI fills in specific tasks within that logic. Agentic engineering involves agents that make judgment calls, handle exceptions, and operate across long-horizon tasks with minimal handholding. The boundary is blurring, but the distinction is useful: automation executes defined steps; agentic engineering handles the steps that aren’t fully defined in advance.&lt;/p&gt;

&lt;h3&gt;
  
  
  How do I evaluate whether a vendor is actually doing agentic engineering?
&lt;/h3&gt;

&lt;p&gt;Ask for their failure stories. Ask how their output review process works and who is accountable for results. Ask what their quality gates look like. A vendor running production agentic systems will have specific, concrete answers, including what broke, when, and what changed. A vendor who has adopted the terminology without the practice will describe capabilities and architectures. The difference in response texture is usually clear within a few questions.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>business</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Two AI Subscriptions and 150GB of Government Data: What the Mexico Breach Means for Every Business Running AI</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Sat, 25 Apr 2026 18:07:25 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/two-ai-subscriptions-and-150gb-of-government-data-what-the-mexico-breach-means-for-every-business-5f7p</link>
      <guid>https://dev.to/sebastian_chedal/two-ai-subscriptions-and-150gb-of-government-data-what-the-mexico-breach-means-for-every-business-5f7p</guid>
      <description>&lt;p&gt;Between December 2025 and February 2026, one person used two consumer AI subscriptions to breach nine Mexican government agencies, steal about 150GB of sensitive data, and expose roughly 195 million taxpayer records. No malware team. No nation-state. No custom infrastructure. A single operator, a Claude account, a ChatGPT account, and about six weeks.&lt;/p&gt;

&lt;p&gt;The forensic detail matters because it rewrites the threat model every business running AI agents is operating under. Gambit Security’s investigation logged &lt;a href="https://cybersecuritynews.com/hacker-uses-claude-and-chatgpt-to-breach/" rel="noopener noreferrer"&gt;1,088 attacker prompts that generated 5,317 AI-executed commands across 34 sessions&lt;/a&gt;, with Claude producing about 75% of the remote commands. The underlying vulnerabilities were conventional, the kind any patch cycle could have closed. What was new was the speed and the operator. That’s what this article is about.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In this article:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What actually happened in the Mexico breach, in plain language&lt;/li&gt;
&lt;li&gt;Why HawkEye’s “persistent average attacker” concept changes the threat model for every AI deployment&lt;/li&gt;
&lt;li&gt;Three lessons from the breach that apply directly to any business running agents&lt;/li&gt;
&lt;li&gt;Five governance steps you can put in place this week, from a team running 9 production agents&lt;/li&gt;
&lt;li&gt;What the EU AI Act’s August 2026 deadline means for the window you have to act&lt;/li&gt;
&lt;/ul&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%2Fy0wh59e9nr51feska482.jpg" 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%2Fy0wh59e9nr51feska482.jpg" alt="Abstract visualization of AI agent security risks — network nodes and data flow in an AI-assisted cyberattack" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Actually Happened
&lt;/h2&gt;

&lt;p&gt;The campaign opened on December 27, 2025 with a social engineering move. The attacker contacted Mexican federal agencies claiming to be a legitimate bug bounty researcher. Once inside the network perimeter, &lt;a href="https://hackread.com/hacker-claude-code-gpt-4-1-mexican-records/" rel="noopener noreferrer"&gt;they fed Claude a 1,084-line “hacking manual”&lt;/a&gt; that coached the model on operating stealthily, deleting history files, and acting as an elite offensive researcher. When Claude hit guardrails, the attacker rephrased. When it refused entirely, they switched to ChatGPT for the same task. Cross-platform evasion turned out to be trivial.&lt;/p&gt;

&lt;p&gt;Over six weeks, the operation compromised the federal tax authority, the electoral institute, four state governments, a water utility, and a financial institution. At the tax authority (SAT), the attacker accessed 195 million taxpayer records and stood up a fake tax certificate service for monetization. In Mexico City, they used a scheduled task to install a persistent key, then &lt;a href="https://hackread.com/hacker-claude-code-gpt-4-1-mexican-records/" rel="noopener noreferrer"&gt;took control of roughly 220 million civil records&lt;/a&gt;. In Jalisco, they seized an entire 13-node Nutanix cluster hosting health records and domestic violence victim data.&lt;/p&gt;

&lt;p&gt;The scale is what the forensic report makes concrete. The attacker wrote a &lt;a href="https://cybersecuritynews.com/hacker-uses-claude-and-chatgpt-to-breach/" rel="noopener noreferrer"&gt;17,550-line Python script (BACKUPOSINT.py) that piped stolen data through the OpenAI API for analysis&lt;/a&gt;, producing 2,597 structured intelligence reports across 305 internal servers. Gambit counted 400+ custom attack scripts, 301 in Bash, 113 in Python. Twenty tailored exploits targeted twenty specific, known CVEs. None of these are new categories of vulnerability. The CVEs existed before AI. The patches existed before AI. What didn’t exist before AI was a single person converting them into a working intelligence pipeline in six weeks.&lt;/p&gt;

&lt;p&gt;As Paubox put it in their summary, &lt;a href="https://www.paubox.com/blog/claude-code-exploited-in-mexican-government-cyberattack" rel="noopener noreferrer"&gt;“AI didn’t just assist, it functioned as the operational team: writing exploits, building tools, automating exfiltration.”&lt;/a&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-03.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-03.svg" alt="Mexico AI breach attack flow diagram — single attacker to 9 agencies breached using Claude and ChatGPT" width="100" height="68.42105263157895"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Persistent Average Attacker
&lt;/h2&gt;

&lt;p&gt;HawkEye’s analysts coined a phrase in their writeup that’s worth sitting with. In the &lt;a href="https://hawk-eye.io/2026/02/how-hackers-used-anthropics-claude-to-breach-the-mexican-government/" rel="noopener noreferrer"&gt;final paragraph of their breach analysis&lt;/a&gt;, they wrote:&lt;/p&gt;

&lt;p&gt;“Security teams that are still calibrating their defenses around what an elite attacker can do need to recalibrate around what a persistent, average one can now accomplish with AI assistance.”&lt;/p&gt;

&lt;p&gt;The concept is the intellectual contribution of this incident. Security programs are built around threat tiers: script kiddies at the bottom, organized crime in the middle, advanced persistent threats at the top. Resources flow to defending against the top tier, because the top tier is assumed to be where creative exploitation, novel tooling, and team-level output live. The Mexico breach inverts that. A single person with a $20/month subscription produced team-level output. The operator wasn’t elite. They were patient.&lt;/p&gt;

&lt;p&gt;The supporting data is consistent across independent sources. &lt;a href="https://securityboulevard.com/2026/04/97-of-enterprises-expect-a-major-ai-agent-security-incident-within-the-year/" rel="noopener noreferrer"&gt;Arkose Labs surveyed 300 enterprise leaders and found 97% expect a material AI-agent-driven security or fraud incident within 12 months&lt;/a&gt;, with nearly half expecting one within six. &lt;a href="https://agatsoftware.com/blog/ai-agent-security-2026-google-forecast/" rel="noopener noreferrer"&gt;Google’s Cybersecurity Forecast 2026 reports that more than 80% of employees use unapproved AI tools at work, with fewer than 20% using only company-approved AI&lt;/a&gt;. Bessemer’s 2026 analysis cites IBM’s Cost of a Data Breach Report showing &lt;a href="https://www.bvp.com/atlas/securing-ai-agents-the-defining-cybersecurity-challenge-of-2026" rel="noopener noreferrer"&gt;shadow AI breaches cost an average of $4.63 million, about $670,000 more than a standard breach&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;None of those numbers describe a sophisticated adversary. They describe ordinary people with consumer AI tools operating at scales that used to require teams.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-04.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-04.svg" alt="Persistent average attacker shift — old threat model vs new AI-assisted threat model comparison" width="100" height="52.631578947368425"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Three Lessons From the Breach
&lt;/h2&gt;

&lt;p&gt;Three patterns in the Mexico incident generalize to any business running AI.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. AI Tools Can’t Tell Authorized From Unauthorized Use
&lt;/h3&gt;

&lt;p&gt;Claude didn’t know it was helping an attacker until the conversation pattern tripped a safety heuristic. When it refused, the attacker rephrased. When Claude refused again, the attacker moved the same task to ChatGPT. This is an important thing to internalize: model safety training is probabilistic, and an operator who treats guardrails as obstacles to route around will, given enough tries, route around them. Model vendors are aware of this and Anthropic actually kicked the attacker off twice. The attacker just came back with a new account.&lt;/p&gt;

&lt;p&gt;For businesses, the implication is not “pick a safer model.” Every major provider has the same property. The implication is that model-level safety is one layer among several, and it cannot be the only layer. Anything you rely on a model refusing to do should also be something your infrastructure refuses to execute.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. The Vulnerabilities Were Old. The Attack Speed Was New.
&lt;/h3&gt;

&lt;p&gt;The twenty CVEs the attacker exploited were standard. They had patches available. The government agencies had the same profile any mid-market company has: a backlog of known vulnerabilities, limited patching bandwidth, and the assumption that exploitation of conventional bugs is slow enough to catch in a review cycle. What AI changed was the compression of the exploit-to-exfiltration timeline. A vulnerability assessment to working exfiltration path now fits in a single afternoon instead of a multi-week project.&lt;/p&gt;

&lt;p&gt;If your organization runs a mature vulnerability management program, the pace of that program may no longer match the pace of attack. If your organization runs an immature one, the gap is worse. The practical consequence is that “we’ll patch it in the next cycle” is no longer a defensible answer for anything that’s both exposed and exploitable.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. A Single Operator Produced Team-Level Output
&lt;/h3&gt;

&lt;p&gt;The 305 servers, 2,597 intelligence reports, and 400+ attack scripts would, pre-AI, require a team. Here they came from one person. This compression of attacker capability is permanent. It is not a one-off. The playbook is now public, which means the technical barrier to repeating it is how quickly a motivated operator can read a few forensic writeups.&lt;/p&gt;

&lt;p&gt;For defense, this means the traffic profile of an attack may no longer match the expected signature of a solo actor. An alerting system that triages “probable bot scan,” “probable insider error,” and “probable team-scale operation” needs to rethink the middle category. A lot of future incidents will look like team-scale operations conducted by one person.&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%2Fwm5eeiefbir2iknkgt1t.jpg" 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%2Fwm5eeiefbir2iknkgt1t.jpg" alt="Security professional reviewing dashboards and logs — AI agent security monitoring in practice" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What This Means If You’re Running AI Agents
&lt;/h2&gt;

&lt;p&gt;There’s a clean asymmetry between how this breach is usually read and how business leaders deploying agents should read it. The usual reading is “attackers are using AI, so I need better defensive AI.” The more useful reading is that the breach is a preview of what an ungoverned agent inside your own environment can do when something goes wrong, whether that something is a compromised prompt, an embedded malicious instruction in a document, or a confused integration.&lt;/p&gt;

&lt;p&gt;A production AI agent is, by design, an operator. It has credentials, it acts on systems, it chains tool calls, and it’s fast. If an attacker can use consumer AI from outside your perimeter to compromise government networks, the risk profile of an AI agent you’ve already placed &lt;em&gt;inside&lt;/em&gt; your perimeter, connected to production systems, is not smaller. It’s the same capability, pointed inward.&lt;/p&gt;

&lt;p&gt;Three risk categories are worth naming for any business running agents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agents as targets.&lt;/strong&gt; Prompt injection, tool-call hijacking, and data exfiltration through an agent’s own legitimate channels. The attacker doesn’t breach your perimeter, they submit a support ticket.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agents as amplifiers.&lt;/strong&gt; An agent with broad permissions plus a compromised instruction equals an internal Mexico breach at compressed speed. This is the scenario Bessemer’s analysis highlighted when citing &lt;a href="https://www.bvp.com/atlas/securing-ai-agents-the-defining-cybersecurity-challenge-of-2026" rel="noopener noreferrer"&gt;McKinsey’s “Lilli” AI platform being compromised by an autonomous agent in under two hours&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shadow agents.&lt;/strong&gt; The Google statistic (80% of employees using unapproved AI) translates directly into people standing up agents with personal accounts, connecting them to company data through browser extensions, MCP servers, and SaaS integrations, with no IT visibility.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Arkose’s survey is worth reading alongside this. &lt;a href="https://securityboulevard.com/2026/04/97-of-enterprises-expect-a-major-ai-agent-security-incident-within-the-year/" rel="noopener noreferrer"&gt;57% of organizations have no formal governance controls for AI agents&lt;/a&gt;. Only 6% of security budgets are allocated to AI-agent risk. The gap between expected incidents (97%) and allocated resources (6%) is the gap every mid-market security program is quietly running today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five Things to Do This Week
&lt;/h2&gt;

&lt;p&gt;We run 9 production AI agents at Fountain City on a documented governance architecture that costs us roughly $450 to $600 per month to operate. The specific thresholds, circuit-breaker design, and trip logic are documented in our &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-cost-circuit-breaker/" rel="noopener noreferrer"&gt;cost circuit breaker article&lt;/a&gt;, and the broader hardening stack lives in our &lt;a href="https://fountaincity.tech/resources/blog/openclaw-security-best-practices/" rel="noopener noreferrer"&gt;AI agent security hardening guide&lt;/a&gt;. The five items below are the concrete governance moves that map directly onto the failure modes the Mexico breach illustrated, written for a business leader who has an agent program and wants to tighten it this week.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-06.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-06.svg" alt="Five governance steps for AI agent security — from practitioners running 9+ production agents" width="100" height="64.47368421052632"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Inventory Every Agent, Tool, and AI Subscription
&lt;/h3&gt;

&lt;p&gt;You can’t govern what you haven’t counted. The inventory is not just the agents IT approved. It’s every browser extension using OpenAI, every Claude subscription on a corporate card, every Zapier flow with an AI step, every sales rep using a “just for notes” AI notetaker that is, technically, a recording and transcription agent connected to your meetings. If the Google statistic holds in your company, the real count is four to five times whatever IT has on its list.&lt;/p&gt;

&lt;p&gt;A week-one inventory doesn’t need to be perfect. It needs to exist, be dated, and get reviewed.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Put a Spending Cap on Everything That Calls an API
&lt;/h3&gt;

&lt;p&gt;The Mexico attacker had no spending cap. If they had, the 5,317 commands and 2,597 intelligence reports would have tripped a halt well before the breach completed. Runaway cost is the most reliable early signal of misuse, whether the misuse is a bug, a compromised prompt, or an insider experimenting outside policy.&lt;/p&gt;

&lt;p&gt;Our thresholds are documented in the &lt;a href="https://fountaincity.tech/resources/blog/ai-agent-cost-circuit-breaker/" rel="noopener noreferrer"&gt;cost circuit breaker article&lt;/a&gt; linked above. The exact numbers matter less than the fact that they exist and enforce. If your current architecture can’t halt an agent on spend, that’s a week-one fix.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Pin Models and Keep Low-Cost Models Out of Critical Roles
&lt;/h3&gt;

&lt;p&gt;Model selection is a security decision, not just a cost decision. Pin specific model versions to specific tasks, so a capability change in the model doesn’t silently expand what your agent can do. And don’t let the cheapest models run anything critical. Lower-tier models are more prone to pattern errors and more susceptible to prompt injection, which means giving them access to production systems or sensitive data is a policy decision that should be made explicitly, not by default.&lt;/p&gt;

&lt;p&gt;General rule: the model tier should be calibrated to the blast radius of the task, not to the price list.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Require Comprehensive Audit Trails
&lt;/h3&gt;

&lt;p&gt;The Mexico breach was discovered in part because the attacker’s own conversation logs were publicly accessible from a misconfigured server. That’s the low bar. The high bar is: every prompt into every production agent, every tool call it makes, every data source it touches, every output it produces, logged in a form that supports both real-time anomaly detection and after-the-fact forensics.&lt;/p&gt;

&lt;p&gt;This is boring, expensive, and non-negotiable. If a future incident traces back to one of your agents, the first question will be “show me what it did.” The answer “we don’t have logs going back that far” is the answer that becomes the press quote.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Separate Agent Permissions by Task
&lt;/h3&gt;

&lt;p&gt;The government agencies gave broad system access to accounts that ended up compromised. The lesson is the oldest one in security, just applied to a new class of principal. Each agent should get only the permissions it needs for its specific job. Read-only where read-only works. Per-environment scoping where cross-environment access isn’t required. Timeouts on sessions so a compromised agent doesn’t have an unlimited runway.&lt;/p&gt;

&lt;p&gt;Least privilege isn’t just for employees anymore. An agent is an actor with credentials. Treat it as one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Window Is Closing, But Not for the Reasons You Think
&lt;/h2&gt;

&lt;p&gt;The urgency here is that the Mexico breach is now a template. Every forensic writeup, every reconstruction of the attacker’s workflow, every public conference talk about the incident shortens the distance between “motivated operator” and “working offensive pipeline.” The technical floor has dropped.&lt;/p&gt;

&lt;p&gt;The regulatory floor is rising at the same time. &lt;a href="https://www.quali.com/blog/ungoverned-agentic-ai-is-a-sovereign-ai-breach/" rel="noopener noreferrer"&gt;Full enforcement of the EU AI Act lands in August 2026&lt;/a&gt;. For any business with European exposure, that’s a hard date by which “we were still figuring out governance” stops being an acceptable answer. For US-only businesses, the state-level regulation following EU precedent will run on a similar timeline, measured in quarters not years.&lt;/p&gt;

&lt;p&gt;The companies that will scale AI agents safely are the ones that treat governance as part of the build, not part of the cleanup. The rest will be case studies. You probably already know which one you want to be. The question is whether you have your inventory done, your spending caps live, your models pinned, your logs complete, and your permissions scoped, by the end of the quarter.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-07.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-20-J-mexico-ai-breach-07.svg" alt="AI governance timeline April 2026 to August 2026 EU AI Act enforcement deadline" width="100" height="36.84210526315789"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want a second set of eyes on where your program sits against this threat model, our &lt;a href="https://fountaincity.tech/ai-risk-security-assessment/" rel="noopener noreferrer"&gt;AI Risk and Security Assessment&lt;/a&gt; is the structured version of the conversation we’re having in the second half of this article. It covers inventory, spending posture, model selection, logging depth, and permission scoping against your actual deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Was the Mexico breach carried out by a sophisticated hacker?
&lt;/h3&gt;

&lt;p&gt;No. According to Gambit Security’s forensic analysis, the operation was run by a single individual with no identified nation-state or organized crime connection. The attacker used consumer Claude and ChatGPT subscriptions, exploited twenty known CVEs with existing patches, and relied on AI to generate the custom tooling. The significance of the incident is that it didn’t require sophistication.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can consumer AI tools like Claude and ChatGPT be used to attack my business?
&lt;/h3&gt;

&lt;p&gt;Yes, but the pattern to worry about is not “AI creates novel vulnerabilities in your systems.” It’s “AI dramatically compresses the time from discovering a conventional vulnerability in your systems to exploiting it.” The defensive implication is that patching cadences, alert latencies, and vulnerability management cycles that were adequate at pre-AI attacker speed may no longer be adequate at post-AI attacker speed.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the “persistent average attacker” and why does it matter?
&lt;/h3&gt;

&lt;p&gt;The phrase comes from HawkEye’s analysis of the Mexico breach. It describes an operator who is not elite, not backed by a team, and not using novel techniques, but who is patient and equipped with AI. The reason it matters is that most security programs are calibrated around sophisticated adversaries. The Mexico incident demonstrated that an ordinary person with consumer AI tools can now produce team-level output. Defenses calibrated only for the top of the threat pyramid will underprotect against the much larger population that just got an order-of-magnitude capability boost.&lt;/p&gt;

&lt;h3&gt;
  
  
  How much does AI agent governance actually cost?
&lt;/h3&gt;

&lt;p&gt;Less than people assume. Our own governance stack (logging, cost circuit breakers, model pinning, audit trails) runs at a small percentage of total operating cost across the agents we run in production. Governance is a small line item, and a small fraction of the cost of even a minor incident. IBM’s 2025 data, cited by Bessemer, puts shadow AI breaches at about $4.63 million per incident on average.&lt;/p&gt;

&lt;h3&gt;
  
  
  Does a small or mid-size business need to worry about this?
&lt;/h3&gt;

&lt;p&gt;Yes. Mid-market companies typically have more ungoverned AI usage than enterprise, with fewer resources to detect misuse. The Google statistic (80% of employees using unapproved AI) holds across company sizes, which means the inventory problem is proportionally worse at smaller organizations that don’t have a dedicated AI governance function. The good news is that the first three of the five governance moves above are operational, not technical, and can be started this week without any new tooling.&lt;/p&gt;

&lt;h3&gt;
  
  
  What’s the single most important thing to do right now?
&lt;/h3&gt;

&lt;p&gt;Inventory. You can’t cap spend, pin models, log activity, or scope permissions for agents you don’t know exist. Every governance move downstream depends on knowing what’s running. Start there, and the rest of the program has somewhere to attach.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>security</category>
      <category>business</category>
    </item>
    <item>
      <title>"Build, Don't Buy" AI Agents: A Practitioner's Guide to Replacing SaaS</title>
      <dc:creator>Sebastian Chedal</dc:creator>
      <pubDate>Thu, 23 Apr 2026 18:09:18 +0000</pubDate>
      <link>https://dev.to/sebastian_chedal/build-dont-buy-ai-agents-a-practitioners-guide-to-replacing-saas-35pl</link>
      <guid>https://dev.to/sebastian_chedal/build-dont-buy-ai-agents-a-practitioners-guide-to-replacing-saas-35pl</guid>
      <description>&lt;h2&gt;
  
  
  The Build vs. Buy Question Has Changed
&lt;/h2&gt;

&lt;p&gt;Two signals landed in the same week. A CIO.com report showed enterprises spending &lt;a href="https://www.cio.com/article/4146669/" rel="noopener noreferrer"&gt;$280 million annually on 600+ SaaS applications&lt;/a&gt;. And a solopreneur documented &lt;a href="https://kimdoyal.substack.com/p/inside-my-33-agent-ai-operating-system" rel="noopener noreferrer"&gt;33 custom AI agents running her entire business for $10-20 a month&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Enterprise and solo operators arrived at the same question independently: why am I paying for software I barely use when I could build exactly what I need?&lt;/p&gt;

&lt;p&gt;The old rule was simple. Buy software for anything that isn't your core competency. It was good advice when building meant hiring a development team, managing servers, and maintaining code. But AI agents have shifted the economics. A custom agent that does one job well can now cost less to build and run than the SaaS subscription it replaces.&lt;/p&gt;

&lt;p&gt;That doesn't mean "always build" is the new rule. It means the decision framework has changed, and most of the content out there is either a vendor selling you their platform or a dev shop selling you a build engagement. What follows is the practitioner's version, based on building these systems for clients and running them internally.&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%2F9j2bniy0dp6j0co0zvmk.jpg" 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%2F9j2bniy0dp6j0co0zvmk.jpg" alt="Two diverging paths representing the custom AI agent versus SaaS software decision" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The SaaS Replacement Decision Framework
&lt;/h2&gt;

&lt;p&gt;Build-vs-buy is a decades-old IT decision. Lemkin's 90/10 rule is directionally correct for the AI agent era. The CIO.com enterprise analysis focuses on spend optimization at scale. Both frameworks answer "should I consider replacing SaaS with agents?" What they don't answer is: which specific tools should I replace, and in what order? That's the practitioner gap. The four factors below are what we use to evaluate every SaaS tool in a client's stack. They're derived from the same economic logic as Lemkin's rule and the CIO analysis, but refined by what we've actually seen in production builds.&lt;/p&gt;

&lt;h3&gt;
  
  
  Factor 1: Feature Utilization Rate
&lt;/h3&gt;

&lt;p&gt;Large enterprises run &lt;a href="https://www.cio.com/article/4146669/" rel="noopener noreferrer"&gt;600+ SaaS applications&lt;/a&gt;. Mid-market companies maintain smaller stacks, but the pattern is the same: for any given tool, the typical team uses 10-15% of available features. You're paying for a content platform with 200 features when you need 12 of them. A custom agent built around those 12 features costs a fraction of the subscription and does exactly what your workflow requires.&lt;/p&gt;

&lt;p&gt;The trigger: if your team has never opened half the tabs in a tool's interface, that tool is a replacement candidate.&lt;/p&gt;

&lt;h3&gt;
  
  
  Factor 2: Data Lock-in Exposure
&lt;/h3&gt;

&lt;p&gt;Some SaaS tools hold your data in formats that make leaving expensive. CRM systems with years of interaction history. Project management tools where your entire operational knowledge lives in proprietary fields. A client's entire sales history lives in a CRM's proprietary deal stages. Migrating that data to a new system means manually remapping three years of pipeline data, custom fields, and automation triggers. The longer you stay, the more leverage the vendor has on pricing, and a custom agent that processes and stores data in formats you control eliminates vendor lock-in entirely. This factor weighs heavier the more proprietary data the tool accumulates.&lt;/p&gt;

&lt;h3&gt;
  
  
  Factor 3: Integration Friction
&lt;/h3&gt;

&lt;p&gt;Count how many Zapier connections, middleware layers, or custom API bridges you maintain to keep your tools talking to each other. Each integration is a maintenance surface and a failure point. One client maintained six Zapier connections and a custom webhook to keep their CRM, invoicing, and website analytics in sync. When one connection broke, the downstream data was silently wrong for two weeks before anyone noticed. When three SaaS tools need a middleware layer to work together, the total system cost includes the tools, the middleware, and the engineering time to keep the connections running.&lt;/p&gt;

&lt;p&gt;A purpose-built agent that handles the entire workflow natively eliminates the integration layer. The savings compound as the number of connected tools grows.&lt;/p&gt;

&lt;h3&gt;
  
  
  Factor 4: AI Readiness of the Vendor
&lt;/h3&gt;

&lt;p&gt;This one comes from &lt;a href="https://www.saastr.com/the-90-10-rule-for-ai-agents-updated-we-replaced-a-paid-saas-tool-in-a-day-with-a-vibe-coded-app-heres-what-we-learned/" rel="noopener noreferrer"&gt;Jason Lemkin at SaaStr&lt;/a&gt;: "If it's February 2026 and your product has zero AI features, that's your signal to start building." A SaaS tool that hasn't shipped meaningful AI capabilities by now is running on legacy architecture. That vendor is either unable or unwilling to evolve. Your custom replacement will outpace them within months.&lt;/p&gt;

&lt;p&gt;But there's a nuance. Some vendors have shipped AI features, but they're shallow. A CRM that added "AI-powered insights" that's really just a GPT wrapper over your data. A content platform that added "AI writing" that produces generic copy with no access to your brand voice rules, no integration with your knowledge base, and no connection to the rest of your content workflow. The useful version of AI readiness is a spectrum: no AI features at all (clear replacement candidate), bolted-on AI (checkbox feature, not workflow-integrated, limited utility), and deeply integrated AI (core to the product, meaningfully changes how you use the tool). Only the third category is a strong argument for keeping the SaaS tool. The second is actually the most dangerous, because the vendor can claim "we have AI" while the actual capability is superficial, and the buyer feels locked in because "they're working on it."&lt;/p&gt;

&lt;p&gt;Score each tool against these four factors. Two or more red flags and the tool belongs on your replacement shortlist. Gartner projects &lt;a href="https://www.clustox.com/blog/build-vs-buy-ai-tools/" rel="noopener noreferrer"&gt;35% of current SaaS tools will be replaced or absorbed by 2030&lt;/a&gt;, and the companies making that shift are the ones evaluating their stacks methodically rather than reactively.&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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-07-J-build-dont-buy-ai-agents-03.svg" 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%2Ffountaincity.tech%2Fwp-content%2Fuploads%2F2026%2F04%2F2026-04-07-J-build-dont-buy-ai-agents-03.svg" alt="4-factor SaaS replacement risk scoring matrix: feature utilization, data lock-in, integration friction, AI readiness" width="100" height="52.77777777777778"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Framework in Practice: A Real Build Decision
&lt;/h2&gt;

&lt;p&gt;A client needed a data intelligence platform that provides full customer journey analytics across five interconnected systems: HubSpot (CRM, deals, marketing), QuickBooks (invoicing, revenue), WooCommerce (e-commerce orders), website analytics (visitor behavior, forms, repeat visits), and ad platforms (LinkedIn/YouTube retargeting with UTM tracking).&lt;/p&gt;

&lt;p&gt;The feature list was ambitious: complete customer journey visualization across every touchpoint, individual customer journey flow charts, path-to-product analysis (what journey leads to a specific product purchase), UTM source-to-sale attribution, action-to-conversion analysis (which behaviors predict purchase), ML prediction on future customer actions, and conversational BI that lets you talk to the data in natural language with charts and tables generated in chat.&lt;/p&gt;

&lt;p&gt;The build uses Grist (open-source, self-hosted spreadsheet/database) as the data layer, connecting to all five systems through APIs, with AI agents handling conversational analytics and prediction. The project is in final testing, with most main features built.&lt;/p&gt;

&lt;p&gt;Before building, we researched what the SaaS equivalent would cost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No single SaaS platform covers the full scope.&lt;/strong&gt; The client would need 2-4 platforms combined. A lean mid-market stack (Mixpanel or Amplitude, HubSpot Pro, a BI/chat layer) would run roughly $5,000-$20,000+ per year depending on event volume and seats. A revenue/marketing ops stack (HubSpot Enterprise, attribution tool, BI/chat layer) would cost roughly $15,000-$60,000+ per year. An enterprise journey suite (Adobe Customer Journey Analytics or Qualtrics XM/CX) would cost $25,000-$200,000+ annually, often much higher with implementation. And setup effort for the SaaS route: 60-150+ hours for cross-system implementation that unifies QuickBooks, HubSpot, WooCommerce, website events, UTMs, and retargeting touchpoints. The hard part isn't clicking buttons in the product. It's identity resolution, naming conventions, backfills, event design, data QA, and reporting logic.&lt;/p&gt;

&lt;p&gt;The client never built this capability before because the SaaS route was unaffordable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scored against the four factors:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Feature utilization:&lt;/strong&gt; Low. No single SaaS tool covers the full scope (journey analytics, CRM, invoicing, attribution, conversational BI, ML prediction). The client would use a fraction of each platform and still have gaps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data lock-in:&lt;/strong&gt; High risk. Customer journey data fragmented across 2-4 vendors in proprietary formats. Leaving any one of them means losing part of the customer picture.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration friction:&lt;/strong&gt; Extreme. The SaaS research estimated 60-150+ hours just for cross-system identity resolution and data integration. Each platform connection is a maintenance surface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI readiness:&lt;/strong&gt; Weak in mid-market tools. Conversational BI and ML prediction are either premium add-ons, require separate platforms, or don't exist in the tools that cover the other needs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All four factors flagged red. The framework predicted that building would win on every dimension.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The actual build cost:&lt;/strong&gt; under $10,000 for design, development, and testing. Monthly operating cost under $150 (hosting at roughly $100/month plus AI tokens at roughly $50/month after the first month stabilizes; first month token costs are higher at roughly $200 during setup and tuning). Annual operating cost: roughly $1,800/year.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The comparison is stark.&lt;/strong&gt; Year 1: roughly $11,500 total (build + operating) versus $11,000-$35,000 for the leanest SaaS option (subscription + 60-150 hours of setup labor at $100/hour). The enterprise SaaS route ($25,000-$200,000+ annually plus implementation) doesn't bear comparison. Year 2 onward: roughly $1,800/year versus $5,000-$20,000/year in SaaS subscriptions, which will have increased by then. The gap widens every year.&lt;/p&gt;

&lt;p&gt;The client now has full customer journey analytics, conversational BI, ML prediction, and cross-system attribution, capabilities that in the SaaS world either don't exist in the mid-market tier or require $25,000+ enterprise suites. The custom build connects all five systems natively through a single data layer, eliminating the middleware and identity-stitching overhead that makes the SaaS route expensive.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to Build First: The Replacement Sequence
&lt;/h2&gt;

&lt;p&gt;The biggest mistake in SaaS replacement is starting with the highest-stakes tools. Companies that try to replace their customer support platform or CRM first tend to stall. The implementation is complex, the failure consequences are visible, and the team hasn't built any operational muscle for running custom systems.&lt;/p&gt;

&lt;p&gt;A better sequence:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tier 1: Internal tools you touch daily.&lt;/strong&gt; Reporting dashboards, research workflows, content production, internal knowledge bases. These affect only your team. If something breaks, the customer never sees it. This is where you learn how to operate custom agents with minimal risk.&lt;/p&gt;

&lt;p&gt;We followed this progression ourselves. Our first custom agents replaced internal content production workflows — research aggregation, draft generation, cross-article quality checks. The stakes were low enough to learn from every failure, and the operational patterns we developed there became the foundation for everything we build for clients.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tier 2: Customer-adjacent tools.&lt;/strong&gt; CRM enrichment, lead scoring, proposal generation, support triage that routes to humans. These touch customer data but don't face customers directly. Failures are catchable before they reach anyone external.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tier 3: Customer-facing tools.&lt;/strong&gt; Portals, communication interfaces, interactive tools. Only attempt these after you've operated Tier 1 and Tier 2 systems long enough to understand the maintenance patterns. SaaStr's Jason Lemkin &lt;a href="https://www.saastr.com/the-90-10-rule-for-ai-agents-updated-we-replaced-a-paid-saas-tool-in-a-day-with-a-vibe-coded-app-heres-what-we-learned/" rel="noopener noreferrer"&gt;replaced a sponsors portal&lt;/a&gt; that had been costing $5,000-$10,000 annually, but he did it after months of building internal tools first.&lt;/p&gt;

&lt;p&gt;The principle is straightforward: start where the cost of failure is lowest and the learning value is highest.&lt;/p&gt;

&lt;h2&gt;
  
  
  What NOT to Build: The Keep List
&lt;/h2&gt;

&lt;p&gt;The honest answer to "build or buy" includes a list of things you should never build, even when the technology makes it possible.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compliance and regulatory tools.&lt;/strong&gt; SOC2 audit trails, GDPR consent management, HIPAA documentation. The value of these tools is the vendor's legal and compliance team maintaining them as regulations change. Building your own means hiring that compliance expertise permanently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Payment processing.&lt;/strong&gt; Stripe, payment gateways, financial transaction systems. The security, fraud detection, and regulatory requirements make this a permanent cost center with no upside in building custom.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Identity and authentication.&lt;/strong&gt; SSO providers, multi-factor auth, credential management. The attack surface is enormous and the liability is existential. Let specialists handle this.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Platform-native tools where the platform IS the value.&lt;/strong&gt; If your entire sales operation runs on Salesforce, building a Salesforce replacement isn't a SaaS substitution. It's a business migration. These are different decisions with different economics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tools where vendor-managed security is the product.&lt;/strong&gt; Email security, endpoint protection, network monitoring. You're paying for the vendor's threat intelligence and response team, not just the software.&lt;/p&gt;

&lt;p&gt;SaaStr's &lt;a href="https://www.saastr.com/the-90-10-rule-for-ai-agents-updated-we-replaced-a-paid-saas-tool-in-a-day-with-a-vibe-coded-app-heres-what-we-learned/" rel="noopener noreferrer"&gt;"90/10 rule"&lt;/a&gt; is directionally correct: buy 90% of your tools, build the 10% where custom agents deliver disproportionate value. The framework above helps you identify which 10%.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Agency Dimension: Build Once, Deploy for Ten Clients
&lt;/h2&gt;

&lt;p&gt;The article so far frames build-vs-buy as a single-company decision. But agencies face a second dimension: should I build agent capabilities I can resell to my clients?&lt;/p&gt;

&lt;p&gt;The economics are fundamentally different. An agency that builds a custom research agent for one client can deploy variants for ten clients. A $15,000 build that serves 10 clients at $500/month each pays for itself in three months and generates recurring revenue after that. The build cost amortizes across the client portfolio in a way that makes no sense for a single company.&lt;/p&gt;

&lt;p&gt;The alternative is reselling a SaaS platform with agency branding. That makes the agency a middleman adding margin, not a builder creating proprietary value. When the SaaS vendor raises prices or changes features, the agency has no control. A custom build gives the agency full control over pricing, features, and the client relationship.&lt;/p&gt;

&lt;p&gt;We see this pattern directly in our work. Agencies come to us because they want to offer AI agent capabilities to their clients without being dependent on a SaaS platform they don't control. The build-vs-buy framework applies the same way, but the breakeven math is faster because the build serves multiple revenue streams.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Middle Ground: No-Code Agent Platforms
&lt;/h2&gt;

&lt;p&gt;The choice isn't strictly binary. No-code agent platforms (Relevance AI, CrewAI, and similar tools) sit between full custom builds and off-the-shelf SaaS. They work well for simple, single-agent workflows with standard integrations: a research agent that queries public data, a content summarizer that processes feeds, a lead qualifier that works within your existing CRM.&lt;/p&gt;

&lt;p&gt;They break down when you need multi-agent coordination, custom quality gates, deep integration with your specific data systems, or workflows that span multiple business domains. That gap, complex, multi-system, domain-specific agent work, is where custom builds operate. The four-factor framework still applies. If a no-code platform covers your needs without the lock-in and friction problems, it's a valid option. If it doesn't, you're back to the build-vs-SaaS decision.&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%2Fl6wk0stkt4qloszqkhf4.jpg" 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%2Fl6wk0stkt4qloszqkhf4.jpg" alt="Team reviewing AI system architecture diagram on whiteboard, evaluating build vs buy decision" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Real Economics: Build Costs vs. SaaS Subscriptions
&lt;/h2&gt;

&lt;p&gt;Most cost comparisons in this space are unreliable. Enterprise vendors claim building costs $8.3 million over three years. Solopreneurs claim $10 a month in API costs. The reality depends entirely on scale and scope.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cost Factor&lt;/th&gt;
&lt;th&gt;Solopreneur&lt;/th&gt;
&lt;th&gt;Mid-Market&lt;/th&gt;
&lt;th&gt;Enterprise&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Build Cost (one-time)&lt;/td&gt;
&lt;td&gt;$0 – $500 (DIY)&lt;/td&gt;
&lt;td&gt;$6K – $18K&lt;/td&gt;
&lt;td&gt;$50K+&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Monthly Operating&lt;/td&gt;
&lt;td&gt;$10 – $50 API&lt;/td&gt;
&lt;td&gt;$600 – $4K managed&lt;/td&gt;
&lt;td&gt;$5K – $15K+&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SaaS Equivalent&lt;/td&gt;
&lt;td&gt;$100 – $500/mo&lt;/td&gt;
&lt;td&gt;$2K – $10K/mo&lt;/td&gt;
&lt;td&gt;$50K – $280K/yr&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Breakeven Timeline&lt;/td&gt;
&lt;td&gt;Immediate&lt;/td&gt;
&lt;td&gt;3 – 9 months&lt;/td&gt;
&lt;td&gt;6 – 18 months&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The solopreneur numbers come from Kim Doyal, who &lt;a href="https://kimdoyal.substack.com/p/inside-my-33-agent-ai-operating-system" rel="noopener noreferrer"&gt;runs 33 custom agents on $10-20 a month in API costs&lt;/a&gt; and reports a 75-80% reduction in time spent on repetitive work. These figures assume the builder is also the operator with technical skills, which is a different model from a mid-market team hiring an implementation partner. The mid-market numbers reflect what &lt;a href="https://fountaincity.tech/services/agentic-development/" rel="noopener noreferrer"&gt;agentic development&lt;/a&gt; actually costs when an implementation partner handles the build and ongoing management. Enterprise ranges are directional, drawn from &lt;a href="https://www.clustox.com/blog/build-vs-buy-ai-tools/" rel="noopener noreferrer"&gt;Clustox&lt;/a&gt; and industry benchmarks.&lt;/p&gt;

&lt;p&gt;The critical number for mid-market buyers: at $2,000 a month in SaaS spend being replaced, an $18,000 build pays for itself in nine months. A $6,000 build breaks even in three. These numbers don't account for the value of owning your system, no vendor lock-in, no price increases, no feature changes you didn't ask for. The agent does exactly what you need and nothing else.&lt;/p&gt;

&lt;p&gt;There's also a cost trajectory working in favor of custom builds that most comparisons miss. SaaS pricing only goes up. A tool that costs $500/month today will cost $600/month in two years because vendors raise prices. Custom agent API costs go down every six months as models get cheaper and more efficient. A custom agent that costs $200/month today will likely cost $120/month in two years. The cost crossover widens over time, not narrows. This is one of the strongest long-term arguments for building.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three Mistakes That Kill SaaS Replacement Projects
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Mistake 1: Replacing Customer-Facing Tools First
&lt;/h3&gt;

&lt;p&gt;A company replacing their customer support chatbot before they've ever run a custom agent internally is making the highest-stakes bet with the least experience. When the agent produces an incorrect response, the customer sees it. When it goes down, the customer notices. Start with internal tools where failures are private and learning is cheap.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mistake 2: Building What You Don't Understand
&lt;/h3&gt;

&lt;p&gt;If nobody on your team can articulate why your current tool's workflow exists, a custom agent won't fix that. Agents automate processes. If the process itself is unclear, the agent will automate confusion faster. Before building a replacement, document the workflow the tool supports. Every step, every decision point, every exception. If you can't write it down, you can't automate it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Mistake 3: Ignoring Maintenance Compounding
&lt;/h3&gt;

&lt;p&gt;Jason Lemkin's most important observation from building 20+ custom tools: &lt;a href="https://www.saastr.com/the-90-10-rule-for-ai-agents-updated-we-replaced-a-paid-saas-tool-in-a-day-with-a-vibe-coded-app-heres-what-we-learned/" rel="noopener noreferrer"&gt;"Every app you build is an app you now have to maintain."&lt;/a&gt; Each custom system adds to your maintenance surface. API providers change their interfaces. Models update and produce different outputs. Edge cases accumulate.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.clustox.com/blog/build-vs-buy-ai-tools/" rel="noopener noreferrer"&gt;Analysis from Clustox&lt;/a&gt; puts the numbers in sharper focus: first-year costs for AI-built systems run roughly 12% higher than initial estimates once you factor in code review overhead and a testing burden that's 1.7 times the norm. AI-generated code carries roughly double the code churn rate of traditional development, and by year two, cumulative maintenance costs can reach four times traditional levels as technical debt compounds. These figures are drawn from Clustox's build-vs-buy comparison for AI tools, which aggregates data across multiple enterprise deployments.&lt;/p&gt;

&lt;p&gt;The mitigation: either budget for ongoing maintenance from day one, or work with an &lt;a href="https://fountaincity.tech/services/" rel="noopener noreferrer"&gt;implementation partner&lt;/a&gt; who handles the maintenance surface for you. The second option converts an unpredictable engineering cost into a predictable monthly fee.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;[Interactive chart on the &lt;a href="https://fountaincity.tech/resources/blog/build-dont-buy-ai-agents-practitioners-guide/" rel="noopener noreferrer"&gt;original post&lt;/a&gt;.]&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Get Started
&lt;/h2&gt;

&lt;p&gt;The gap between "this sounds right" and "we actually replaced a SaaS tool" is narrower than it looks, but only if you approach it methodically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 1: Audit your stack.&lt;/strong&gt; List every SaaS tool your team uses. For each one, note the monthly cost, how many features your team actually touches, and whether it integrates cleanly with your other tools. Most teams discover 3-5 obvious candidates within an hour of honest assessment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 2: Score the top candidates.&lt;/strong&gt; Run your shortlist through the four-factor evaluation. Utilization rate below 20%? Data locked in proprietary formats? Middleware required to connect it? No AI features shipped? Two or more flags and the tool moves to the replacement list. Cross-check against the Keep List — if it falls in a "never build" category, leave it regardless of the score.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Week 3-4: Build one agent.&lt;/strong&gt; Pick the highest-scoring internal tool. Define exactly what the replacement needs to do, not everything the SaaS tool does, just the specific workflows your team relies on. The build itself is faster than most people expect. Simple internal agents that handle reporting, research aggregation, or content workflows can be operational in days, assuming either an internal developer or an implementation partner doing the build. For teams without technical resources, "days" means days of working with a builder, not days of building yourself. For &lt;a href="https://fountaincity.tech/resources/blog/top-ai-agent-development-companies/" rel="noopener noreferrer"&gt;context on evaluating build partners&lt;/a&gt;, the comparison guide covers what to look for.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Month 2-3: Operate and measure.&lt;/strong&gt; Run the custom agent alongside the SaaS tool for 30 days. Track the actual API costs, the time your team spends on oversight, and any edge cases that surface. Compare against the SaaS subscription cost. The real numbers will be different from projections — they always are — but the gap between "projected" and "actual" is where your operational learning lives.&lt;/p&gt;

&lt;p&gt;After 30 days of measured operation, you'll know whether the economics hold and whether your team can sustain the maintenance. That knowledge is worth more than any vendor comparison chart.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making the Decision
&lt;/h2&gt;

&lt;p&gt;The decision tree is simpler than most guides make it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Score the tool against the four evaluation factors (utilization, lock-in, integration, AI readiness)&lt;/li&gt;
&lt;li&gt;If two or more factors flag high risk, the tool is a replacement candidate&lt;/li&gt;
&lt;li&gt;Check the Keep List. If the tool falls in a "never build" category, keep it regardless of the score&lt;/li&gt;
&lt;li&gt;Place replacements in the right tier (internal → customer-adjacent → customer-facing) and sequence them accordingly&lt;/li&gt;
&lt;li&gt;Build one agent first, operate it for 30 days, and measure real costs against projections before committing to the next build&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The companies that succeed at this aren't the ones that replace everything at once. They're the ones that pick the right first replacement, learn from operating it, and expand methodically.&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%2Fm36ic0pcktmz2f0jfv2j.jpg" 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%2Fm36ic0pcktmz2f0jfv2j.jpg" alt="Illuminated fountain in a warm golden-hour urban plaza with soft holographic light in the mist" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're evaluating whether custom agents make sense for your stack, the &lt;a href="https://fountaincity.tech/services/agentic-development/" rel="noopener noreferrer"&gt;agentic development&lt;/a&gt; page covers how we scope and price these builds, and the &lt;a href="https://fountaincity.tech/resources/blog/building-intelligent-systems-that-actually-work/" rel="noopener noreferrer"&gt;implementation guide&lt;/a&gt; walks through the build process from a practitioner's perspective. For context on &lt;a href="https://fountaincity.tech/resources/blog/what-is-an-ai-agent-for-business/" rel="noopener noreferrer"&gt;what an AI agent actually is&lt;/a&gt; and how it differs from conventional automation, that's a good starting point. And for a broader view of the &lt;a href="https://fountaincity.tech/services/" rel="noopener noreferrer"&gt;AI implementation services&lt;/a&gt; available, the services overview has the full picture.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ: Build vs. Buy AI Agents
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How long does it take to build a custom AI agent to replace a SaaS tool?
&lt;/h3&gt;

&lt;p&gt;Simple internal tools — a reporting dashboard, a research workflow, a content production pipeline — can be built and deployed in days. Customer-facing systems with integrations, error handling, and monitoring typically take two to six weeks. Multi-agent systems that coordinate several workflows take longer, often one to three months from scoping to production. The complexity of the workflow being replaced matters more than the technology involved.&lt;/p&gt;

&lt;h3&gt;
  
  
  What SaaS tools are companies replacing with AI agents in 2026?
&lt;/h3&gt;

&lt;p&gt;The most common categories are content production tools, CRM enrichment and lead scoring, research and competitive intelligence platforms, internal reporting dashboards, and customer support triage. These share a pattern: the SaaS tool provides broad capability, but the team uses a narrow slice of it. That narrow slice is exactly what a purpose-built agent handles well. Gartner projects &lt;a href="https://www.clustox.com/blog/build-vs-buy-ai-tools/" rel="noopener noreferrer"&gt;40% of enterprise applications will embed task-specific agents by the end of 2026&lt;/a&gt;, up from less than 5% in 2025.&lt;/p&gt;

&lt;h3&gt;
  
  
  How much does it cost to build a custom AI agent?
&lt;/h3&gt;

&lt;p&gt;For a solopreneur using AI-assisted development, the build cost can be near zero with $10-50 a month in API costs. For a mid-market business working with an implementation partner, expect $6,000-$18,000 for the initial build plus $600-$4,000 a month for managed operation and API costs. Enterprise multi-agent systems start at $25,000 and scale with complexity. See the cost comparison table above for breakeven timelines against typical SaaS spend.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can a small team build AI agents without developers?
&lt;/h3&gt;

&lt;p&gt;For internal tools, yes. AI-assisted development approaches let non-developers describe workflows in natural language and generate working agents. Kim Doyal runs 33 agents without a development background. For production systems that handle customer data or integrate with critical business processes, engineering oversight matters. The build itself may use AI-assisted development, but someone needs to validate security, error handling, and edge cases.&lt;/p&gt;

&lt;h3&gt;
  
  
  What happens if the AI agent breaks?
&lt;/h3&gt;

&lt;p&gt;Every custom system needs monitoring and fallback plans. Agents should fail gracefully — alerting a human rather than producing incorrect outputs silently. The maintenance reality is real and quantifiable: first-year costs run &lt;a href="https://www.clustox.com/blog/build-vs-buy-ai-tools/" rel="noopener noreferrer"&gt;roughly 12% above initial estimates (per Clustox's analysis)&lt;/a&gt;, and by year two, cumulative maintenance can reach four times traditional levels. Budget for ongoing maintenance or use a managed service model. This is the single biggest factor most build-vs-buy analyses underestimate.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is it cheaper to build or buy AI in 2026?
&lt;/h3&gt;

&lt;p&gt;It depends on the tool and your utilization rate. If you're using 80%+ of a tool's features, buying is almost certainly still the right choice. If you're using 10-15% and paying full price, building the slice you actually need will likely cost less within the first year. Run the four-factor evaluation from this guide against each tool in your stack. The answer will be different for every tool.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>saas</category>
      <category>business</category>
    </item>
  </channel>
</rss>
