<?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: Bhavik Shah</title>
    <description>The latest articles on DEV Community by Bhavik Shah (@bhavik_shah_129e58b0661ff).</description>
    <link>https://dev.to/bhavik_shah_129e58b0661ff</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4032679%2F1452a80a-d89f-4abb-aa02-49ec0e845241.jpg</url>
      <title>DEV Community: Bhavik Shah</title>
      <link>https://dev.to/bhavik_shah_129e58b0661ff</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bhavik_shah_129e58b0661ff"/>
    <language>en</language>
    <item>
      <title>From MLOps to AgentOps: Redrawing the Three Lines of Defense</title>
      <dc:creator>Bhavik Shah</dc:creator>
      <pubDate>Thu, 10 Sep 2026 18:11:12 +0000</pubDate>
      <link>https://dev.to/bhavik_shah_129e58b0661ff/from-mlops-to-agentops-redrawing-the-three-lines-of-defense-3dj0</link>
      <guid>https://dev.to/bhavik_shah_129e58b0661ff/from-mlops-to-agentops-redrawing-the-three-lines-of-defense-3dj0</guid>
      <description>&lt;p&gt;In my last post I made the broader case that agentic AI breaks every governance playbook built for traditional software and traditional models. That argument was deliberately wide. This one is narrow on purpose.&lt;/p&gt;

&lt;p&gt;I have spent years building and reviewing MLOps systems, including model inventories, validation pipelines, drift monitoring, and approval workflows across enterprise and financial services environments. None of that gets thrown out when an organization moves to LLMs and agents. What changes is more specific than most people assume, and that’s what this post is about.&lt;/p&gt;

&lt;p&gt;Picture a model risk team getting a routine intake request. Their form asks the standard questions: what data was this trained on, what’s the version number, what’s the approval status, when was it last checked for drift. They’ve processed multiple of these. Then they read the description of the system in front of them: four agents, six tools between them, a retrieval layer that refreshes daily, and a decision that comes out the other end of a chain where no single step was wrong on its own. The form has no field for that. McKinsey’s 2026 AI Trust survey of roughly five hundred organizations found something consistent with what that team is about to discover: &lt;a href="https://www.mckinsey.com/capabilities/tech-and-ai/our-insights/tech-forward/state-of-ai-trust-in-2026-shifting-to-the-agentic-era" rel="noopener noreferrer"&gt;only about a third of enterprises report governance maturity levels adequate for the autonomous agents they are already running&lt;/a&gt;. Most of the rest are filling out the same intake form and hoping it’s close enough.&lt;/p&gt;

&lt;p&gt;It usually isn’t. Here’s specifically where it stops being close enough, and what closing that gap actually requires.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What MLOps governance is, and how it fits into MLOps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Start with what the intake form already gets right.&lt;/p&gt;

&lt;p&gt;MLOps governance is the set of controls that make sure a traditional machine learning model stays trustworthy from training through retirement. In practice that means model versioning so you always know which model is in production and why, drift monitoring that watches for performance degradation as input data shifts, data lineage back to what a model was trained and validated on, approval gates before anything reaches production, and the CI/CD and change management discipline any production software system needs. Software governance sits inside this, not off to the side as a separate track. None of these controls enforce themselves, though. Someone has to own each one, and someone else has to check that the owner actually did the job.&lt;/p&gt;

&lt;p&gt;It helps to be precise about who is responsible for each of these controls, and the model I use is the three lines of defense, a framework banking and other regulated industries have used for years to assign accountability. One accuracy note: the Institute of Internal Auditors renamed this the Three Lines Model in 2020, shifting the emphasis toward value creation rather than pure defense. The older term has stuck in finance and model-risk circles regardless, so I use it here, but it is worth knowing the name has technically moved on even if the industry has not.&lt;/p&gt;

&lt;p&gt;Applied to a traditional MLOps program, the first line is product, data, and engineering: they own model development, testing, deployment, and documentation. The second line is compliance and risk: they set model use policy, monitor for bias, and review high-risk applications before anything ships. The third line is internal audit, and their job is narrower than either of the other two: independently verify that the first two lines are doing what they claim, not build or approve anything themselves. This structure is mature, well understood, and it works, for the systems it was designed around: models with a fixed structure that gets validated once and monitored between review cycles.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;What AgentOps governance is, and how it fits into AgentOps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AgentOps governance starts from the same three-line structure as MLOps, but the substance each line has to check is different, because the systems themselves behave differently.&lt;/p&gt;

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

&lt;p&gt;A traditional model is one artifact. The four-agent system has the underlying model, four system prompts, six tool definitions, and a retrieval layer that updates on its own schedule. The first line now has to version and test all of that, not just the model. In practice this looks less like a model registry entry and more like treating prompts and tool schemas as code: stored in version control, reviewed through pull requests, and run through canary tests against a holdout set before a change is promoted to production, the same discipline used for any other production software change. Version the model alone in a system like this and you have covered maybe a quarter of what actually determines behavior.&lt;/p&gt;

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

&lt;p&gt;A traditional model is deterministic given the same input, which is what makes validation straightforward. An LLM can give two different, both-defensible answers to the same prompt on two different runs. The second line’s review process has to shift from checking whether an output is correct to checking whether it falls within an acceptable range most of the time. Concretely, that means an evaluation gate with explicit thresholds, for example requiring a defined pass rate against a labeled test set before promotion, plus a trigger for human review whenever an agent’s output confidence or evaluation score drops below a set floor. Writing that threshold, and getting compliance to sign off on what “acceptable most of the time” means for a specific use case, is its own project. It is not a policy update you make in an afternoon.&lt;/p&gt;

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

&lt;p&gt;A single model making a single prediction has a clear owner. The four-agent system does not. When the outcome is wrong and no individual step was wrong on its own, tracing which step actually caused it requires a decision log that records not just the final output but the intermediate handoffs: what each agent received as input, what it decided, and what it passed to the next agent in the chain. Without that log, “which of the four agents is accountable” is a question nobody can actually answer, and the first line and second line end up arguing about it after the fact instead of before deployment.&lt;/p&gt;

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

&lt;p&gt;The third line’s job changes too. Drift monitoring watches whether predictions are degrading against a known baseline. It does not watch what an agent actually does while it runs: which tools it called, what actions it took, whether it stayed inside its intended scope. A newer category of agent observability platforms has emerged specifically for this: they capture the full execution trace of an agent run, not just the final output, including which tools were called, what parameters were passed, and how one agent’s output became another agent’s input. Many build on open instrumentation standards like OpenTelemetry so traces stay portable across tools rather than locked into one vendor’s format. For our four-agent system, that trace is the only artifact that would actually let an auditor reconstruct what happened after the fact. Without it, the third line is auditing a black box and calling it independent verification.&lt;/p&gt;

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

&lt;p&gt;Last, the retraining cadence itself breaks. Traditional models retrain on a calendar: monthly, quarterly, whenever there is enough new data to justify it. A system built on RAG or continuous fine-tuning can shift its effective behavior as often as the knowledge base underneath it updates, which can be daily. If the four-agent system’s retrieval layer refreshes every night, a third line built around a quarterly review cadence is checking the system roughly ninety times less often than the system is actually changing.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;The comparison, the gap, and what closes it&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Laid side by side, the two programs share a spine and diverge on substance. Both assign the same three lines. Both need versioning, testing, review, and independent audit. What differs is granularity, frequency, and what each control actually has to look at.&lt;/p&gt;

&lt;p&gt;The gap is not that MLOps governance is wrong for the four-agent system. It is that MLOps governance answers a set of questions that assumed a model’s behavior stays fixed between review cycles, and a system with a nightly-refreshing retrieval layer does not hold still long enough for that assumption to work. Every one of the five deltas above traces back to that single broken assumption: a model that could change monthly is now a system that can change behavior daily, sometimes without anyone changing the model itself.&lt;/p&gt;

&lt;p&gt;Closing the gap does not mean building an entirely new governance function from scratch. It means extending the existing three lines with capabilities they did not previously need, and being honest about what each one costs. The first line needs prompt and tool version control with canary testing before promotion, which is mostly an engineering practice change, not a new team. The second line needs an evaluation gate with explicit acceptance thresholds and a documented escalation path for chained decisions, which is a genuine policy-writing project that will take real negotiation with legal and compliance the first time through. The third line needs runtime observability tooling plus the skill set to audit a decision log rather than a static model card, and for most model risk functions that is a new hire or a real training investment, not a checkbox added to an existing review template. None of these are optional if the goal is to actually answer, credibly, which of the four agents made the call.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where the regulators stand&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;No single regulatory framework has fully caught up to agentic AI yet, but three existing models, from three different industries, are worth watching for where this is heading.&lt;/p&gt;

&lt;p&gt;The EU AI Act takes a horizontal approach that applies across sectors. Its Article 50 transparency obligations &lt;a href="https://ai-act-service-desk.ec.europa.eu/en/ai-act/timeline/timeline-implementation-eu-ai-act" rel="noopener noreferrer"&gt;take effect August 2, 2026&lt;/a&gt; regardless of other developments. Its heavier Annex III high-risk obligations were originally set for the same date, but a proposed Digital Omnibus package, &lt;a href="https://www.insideglobaltech.com/2026/05/28/eu-ai-act-update-timeline-relief-targeted-simplification-and-new-prohibitions/" rel="noopener noreferrer"&gt;agreed in principle in May 2026 but not yet formally adopted&lt;/a&gt;, would push those specifically to December 2027. Worth treating as pending rather than settled if you are building a compliance calendar around it.&lt;/p&gt;

&lt;p&gt;The FDA’s approach to AI-enabled medical devices is a genuinely different model: vertical, product-based, and built around a mechanism called a Predetermined Change Control Plan. A PCCP lets a manufacturer &lt;a href="https://intuitionlabs.ai/articles/fda-ai-ml-samd-guidance-compliance" rel="noopener noreferrer"&gt;pre-authorize specific future model changes within defined performance bounds&lt;/a&gt; as part of the original approval, paired with Good Machine Learning Practice guidance and quality system alignment toward ISO 13485. It is essentially a change-control gate built directly into the regulatory pathway rather than a compliance requirement layered on after the fact.&lt;/p&gt;

&lt;p&gt;Finance offers a different kind of case, partly because of what it does not cover. I have written elsewhere in this series about SR 26–2, the interagency guidance that replaced SR 11–7 in 2026, and its explicit exclusion of generative and agentic AI from formal scope. That gap is itself instructive. A mature, well-established regulatory framework is acknowledging that the tools it built for one generation of models do not automatically extend to the next. Enterprises operating under it are, in practice, already building governance for agentic systems ahead of formal supervisory guidance catching up to them.&lt;/p&gt;

&lt;p&gt;None of these three is a template to copy wholesale. Together they point at where things are heading: pre-authorized change boundaries, tiered risk classification, and an acknowledged gap between existing rules and what agentic systems actually do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A checklist for both generations&lt;/strong&gt;&lt;/p&gt;

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

&lt;p&gt;Back to the model risk team. They don’t need to throw out their intake form. They need a second one for the multi-agent system, mapped against the same three lines they already trust, and they need to accept that filling it out honestly is real work, not a formality. If you are running LLM or agent-based systems through an existing model risk function, I am curious which step in this roadmap your governance program has actually caught up to first. My guess is versioning gets solved early, because it looks like a version control problem engineers already know how to solve. Accountability for chained decisions is the one I would bet stays unresolved the longest, because it is an org design problem wearing a technical costume, and no evaluation gate fixes an org design problem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;em&gt;McKinsey &amp;amp; Company.&lt;/em&gt; &lt;a href="https://www.mckinsey.com/capabilities/tech-and-ai/our-insights/tech-forward/state-of-ai-trust-in-2026-shifting-to-the-agentic-era" rel="noopener noreferrer"&gt;&lt;em&gt;State of AI Trust in 2026: Shifting to the Agentic Era&lt;/em&gt;&lt;/a&gt;&lt;em&gt;. AI Trust Maturity Survey of approximately 500 organizations, 2026.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;European Commission.&lt;/em&gt; &lt;a href="https://ai-act-service-desk.ec.europa.eu/en/ai-act/timeline/timeline-implementation-eu-ai-act" rel="noopener noreferrer"&gt;&lt;em&gt;Timeline for the Implementation of the EU AI Act&lt;/em&gt;&lt;/a&gt;&lt;em&gt;. AI Act Service Desk.&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.insideglobaltech.com/2026/05/28/eu-ai-act-update-timeline-relief-targeted-simplification-and-new-prohibitions/" rel="noopener noreferrer"&gt;&lt;em&gt;EU AI Act Update: Timeline Relief, Targeted Simplification, and New Prohibitions&lt;/em&gt;&lt;/a&gt;&lt;em&gt;. Inside Global Tech, May 28, 2026.&lt;/em&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;4. IntuitionLabs.&lt;/em&gt; &lt;a href="https://intuitionlabs.ai/articles/fda-ai-ml-samd-guidance-compliance" rel="noopener noreferrer"&gt;&lt;em&gt;FDA AI/ML SaMD Guidance: Complete 2026 Compliance Guide&lt;/em&gt;&lt;/a&gt;&lt;em&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;5. Institute of Internal Auditors, Three Lines Model (2020 revision).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mlops</category>
      <category>agents</category>
      <category>aigovernance</category>
    </item>
    <item>
      <title>The Data Layer Behind the Agent</title>
      <dc:creator>Bhavik Shah</dc:creator>
      <pubDate>Fri, 21 Aug 2026 02:36:45 +0000</pubDate>
      <link>https://dev.to/bhavik_shah_129e58b0661ff/the-data-layer-behind-the-agent-4c98</link>
      <guid>https://dev.to/bhavik_shah_129e58b0661ff/the-data-layer-behind-the-agent-4c98</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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F27tu3wz4k72sck2xyp75.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F27tu3wz4k72sck2xyp75.jpeg" width="800" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Data usually moves through a few stages before anything gets to reason over it. It starts in transaction systems, servicing platforms, SaaS tools, and document repositories. From there it lands in a lake, typically in three stages: bronze, silver, and gold. Bronze is raw data, barely touched. Silver is cleaned up and standardized. Gold is the finished version, ready to use.&lt;/p&gt;

&lt;p&gt;At every one of those stages, someone is making governance decisions. Who’s allowed to see this. How long it gets retained. Whether it needs to be masked before it moves forward. Whether it’s even trustworthy enough to promote to the next layer. That work is supposed to happen quietly in the background, so that by the time data reaches gold, an analyst building a report doesn’t have to think about any of it.&lt;/p&gt;

&lt;p&gt;Agents are starting to sit right where that analyst used to sit, sometimes at the gold layer, sometimes reaching further upstream than that. And almost none of the governance built into that pipeline was designed with an autonomous actor on the other end. It assumed a person, a query, and a dashboard. Not something that reads the data and then goes and does something with it.&lt;/p&gt;

&lt;p&gt;Most of what’s being written about agentic AI right now is orchestration frameworks, memory, tool-calling, multi-agent patterns. Almost none of it asks the more basic question: can the agent actually trust the data it’s reaching into? If the answer is no, none of the orchestration sophistication matters. You’ve just built something that fails faster and with more confidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why this is a different problem than “AI-ready data”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Enterprises have been chasing AI-ready data for years now. Clean it, catalog it, govern it, make it available for models to train on or reason over. That work matters, but it was built around a specific assumption: a human or a model is going to read this data and produce an answer.&lt;/p&gt;

&lt;p&gt;Agents break that assumption. An agent doesn’t just read data and summarize it. It reads data and then acts on it, approves something, routes something, updates a record, kicks off a downstream process, often without a human checking its work first. That changes what “ready” actually means.&lt;/p&gt;

&lt;p&gt;A stale customer record is a minor annoyance in a dashboard. It’s a real problem when an agent acts on it. A dataset with unclear lineage is fine for a BI report nobody’s betting money on. It’s not fine when an agent’s decision needs to be explained to a regulator six months later, and nobody can say for certain where the underlying number came from.&lt;/p&gt;

&lt;p&gt;So the bar for “AI-ready” quietly moves. It’s not just about quality and structure anymore. It’s about whether the data can support an autonomous action, and whether you can reconstruct what the agent saw and why afterward.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A walkthrough: the hardship review agent&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s take an example. Picture an agent built to triage loan hardship requests, something a servicer might use to decide whether a request gets fast-tracked for a forbearance plan or routed to a person for review.&lt;/p&gt;

&lt;p&gt;To do this well, the agent needs to reason across three different kinds of data, and of the three, only the structured data actually made the bronze to silver to gold journey I described above in any meaningful way.&lt;/p&gt;

&lt;p&gt;The structured layer is the loan servicing system: payment history, current balance, delinquency status. Clean rows, clear schema, row-level security and audit logs behind it in most shops. This is the layer governance programs are genuinely built for.&lt;/p&gt;

&lt;p&gt;The semi-structured layer is the hardship application itself, usually a form submission or an income verification feed. JSON or something close to it, with fields that aren’t always filled in the same way twice (income entered as “$4,500" in one submission and “4500.00" in another). Manageable if the schema is documented and versioned, though in practice it usually stops between bronze and silver, since reaching gold takes modeling investment that operational data like this rarely gets ahead of an actual consumer asking for it. Nothing about JSON prevents it from being modeled all the way to gold. It’s a backlog problem, not a technical ceiling, and an agent that needs to reason over this data is exactly the kind of consumer that finally justifies doing that modeling work.&lt;/p&gt;

&lt;p&gt;The unstructured layer is everything else. The hardship letter the borrower actually wrote. A pay stub uploaded as a PDF. Maybe a transcript from a call with a servicing rep last month. This layer typically bypasses the medallion pipeline entirely. It goes from a document repository straight into a vector index, because that’s the path that makes it retrievable, and retrievability is what the agent project needed. That bypass is where the trouble starts, and it’s worth being precise about why.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;What actually happens to access control when you embed a document&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When a document gets chunked and embedded, you’re creating a derived artifact that lives in a different system, under a different storage model, with a different access path than the source ever had. Whatever ACL sat on that pay stub in the document repository doesn’t follow it into the index unless someone deliberately carried it across.&lt;/p&gt;

&lt;p&gt;There are roughly four ways teams handle this, and they fail differently.&lt;/p&gt;

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

&lt;p&gt;None of these four are wrong exactly. The point is that “we handle access control on the vector store” is not a complete answer, and the follow-up question is which of these you’re doing and where the enforcement actually sits.&lt;/p&gt;

&lt;p&gt;Then there’s re-embedding. Documents get updated, chunking strategies get tuned, embedding models get swapped for better ones, and each event regenerates the derived artifacts. Access metadata has to survive that regeneration. I’ve seen setups where the original ingestion carefully propagated ACLs, and the re-indexing job, written six months later by someone else, didn’t.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scoping access when the consumer has a task instead of a job&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Most data access models were built around people and their job functions. An analyst in finance sees finance data, and that grant is durable, tied to identity, reviewed on some quarterly cadence.&lt;/p&gt;

&lt;p&gt;An agent doesn’t have a job function in that sense. It has a task. Back to the hardship agent: on one particular run, it needs this borrower’s payment history, this borrower’s application, and this borrower’s uploaded documents. It does not need every borrower’s records, which is what it almost certainly has, because the service account it runs under was provisioned against the servicing domain rather than the invocation.&lt;/p&gt;

&lt;p&gt;That gap between what the task requires and what the identity permits is where most of the real exposure sits, and it’s not obvious how to close with the tools most enterprises have.&lt;/p&gt;

&lt;p&gt;The direction I think this has to go is attribute-based access control evaluated per invocation rather than per session: the agent doesn’t hold a standing grant to the servicing domain, it presents a token scoped to loan number X for the duration of this task, and the data layer enforces that scope on every read regardless of which system the read lands in.&lt;/p&gt;

&lt;p&gt;That’s clean to describe and hard to build, for three reasons.&lt;/p&gt;

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

&lt;p&gt;I don’t think anyone has fully solved this. But I’d rather see a team say “we know our agent’s identity is over-provisioned relative to its task, here’s our compensating control” than assume the service account model covers it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lineage that has to survive a question six months later&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Lineage has always been a governance artifact. Someone produces a diagram, it goes in a catalog, it’s reviewed when an auditor asks. With agents it becomes something closer to a runtime obligation, because the question changes from “where does this table come from” to “what did this specific agent run see, and why did it act the way it did.” For the hardship agent, that’s the difference between a diagram of the servicing pipeline in general and being able to say exactly what it read before recommending one borrower’s forbearance decision.&lt;/p&gt;

&lt;p&gt;Answering that means capturing, per invocation, the task context, the queries issued and against what, the specific chunks retrieved with source identifiers and versions, the tool calls made, and the decision produced. Not a summary. Durable references you can resolve later.&lt;/p&gt;

&lt;p&gt;The structured side of this is tractable. Queries are loggable, tables are versioned, a warehouse can usually tell you what a query returned at a point in time.&lt;/p&gt;

&lt;p&gt;The unstructured side is where it falls apart, and the reason is the re-embedding problem again. If you log chunk identifiers for that pay stub or hardship letter, and the corpus gets re-chunked eight months later, those identifiers point at nothing, or worse, at different text. Reconstructing what the agent actually read requires either immutable chunk storage with real versioning, or logging the retrieved content itself rather than pointers to it. The first is operationally heavier than most teams expect. The second creates a second copy of your sensitive data sitting in your audit store, which is its own governance problem.&lt;/p&gt;

&lt;p&gt;That tension is real and I don’t think there’s a free answer. But it’s worth deciding deliberately rather than discovering it during an examination.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Where This Fits in Build, Scale, Govern&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is the same Build, Scale, Govern pattern, just one layer down from the agent. In Build, teams give agents whatever data access is easiest to set up. Getting it working matters more than getting the access right. In Scale, that shortcut starts to hurt. New agents copy the same broad access, and the gaps add up. In Govern, this is what gets checked. Not “is your data clean” but “did this system know only what it should have.”&lt;/p&gt;

&lt;p&gt;The data layer doesn’t move through Build, Scale, Govern on its own schedule. It follows the agent layer, usually a step behind.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I’d actually watch for&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I don’t think the answer here is a new platform category, and I’d be skeptical of anyone selling one. Most of what’s needed is existing governance machinery applied at a granularity it wasn’t designed for.&lt;/p&gt;

&lt;p&gt;The question worth asking isn’t lakehouse versus warehouse, or which vendor has the best vector search. Plenty of systems can log what an agent retrieved. Plenty can check permissions at the moment of retrieval. Far fewer can put those two things together into evidence that still holds up later, showing exactly what unstructured content was touched and under what access rules, months after the fact. That’s the real test, and for unstructured data, most platforms today aren’t built for it.&lt;/p&gt;

&lt;p&gt;That gap gets more expensive as agents move from pilots into things that run unattended. It’s the layer I think deserves more attention than it’s getting. Not the agent. What’s underneath it.&lt;/p&gt;

&lt;p&gt;References&lt;/p&gt;

&lt;p&gt;Board of Governors of the Federal Reserve System, OCC, FDIC. SR 26–2, “Revised Guidance on Model Risk Management,” April 17, 2026. &lt;a href="https://www.federalreserve.gov/supervisionreg/srletters/SR2602.htm" rel="noopener noreferrer"&gt;https://www.federalreserve.gov/supervisionreg/srletters/SR2602.htm&lt;/a&gt; (full text: &lt;a href="https://www.federalreserve.gov/supervisionreg/srletters/SR2602a1.pdf" rel="noopener noreferrer"&gt;https://www.federalreserve.gov/supervisionreg/srletters/SR2602a1.pdf&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;NIST Special Publication 800–162, “Guide to Attribute Based Access Control (ABAC) Definition and Considerations.” &lt;a href="https://csrc.nist.gov/pubs/sp/800/162/upd2/final" rel="noopener noreferrer"&gt;https://csrc.nist.gov/pubs/sp/800/162/upd2/final&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OWASP Cheat Sheet Series, “RAG Security Cheat Sheet.” &lt;a href="https://cheatsheetseries.owasp.org/cheatsheets/RAG%5C_Security%5C_Cheat%5C_Sheet.html" rel="noopener noreferrer"&gt;https://cheatsheetseries.owasp.org/cheatsheets/RAG\_Security\_Cheat\_Sheet.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Databricks, “What is the medallion lakehouse architecture?” &lt;a href="https://docs.databricks.com/aws/en/lakehouse/medallion" rel="noopener noreferrer"&gt;https://docs.databricks.com/aws/en/lakehouse/medallion&lt;/a&gt;&lt;/p&gt;

</description>
      <category>dataengineering</category>
      <category>artificialintelligen</category>
      <category>datagovernance</category>
      <category>agents</category>
    </item>
    <item>
      <title>The Govern Phase: AI Agents Break Every Governance Playbook</title>
      <dc:creator>Bhavik Shah</dc:creator>
      <pubDate>Mon, 03 Aug 2026 05:04:40 +0000</pubDate>
      <link>https://dev.to/bhavik_shah_129e58b0661ff/the-govern-phase-ai-agents-break-every-governance-playbook-480g</link>
      <guid>https://dev.to/bhavik_shah_129e58b0661ff/the-govern-phase-ai-agents-break-every-governance-playbook-480g</guid>
      <description>&lt;p&gt;In &lt;a href="https://medium.com/@bhavik123/how-cloud-adoption-and-microservices-teach-us-where-agentic-ai-is-headed-6ab5863f4692" rel="noopener noreferrer"&gt;my last post&lt;/a&gt; I argued that agentic AI is following the same Build, Scale, Govern arc that cloud and microservices followed, just compressed. I ended it with a guess: that the governance layer for agents, the service mesh moment, would arrive faster than most roadmaps assume.&lt;/p&gt;

&lt;p&gt;So this post is the follow-through. What actually makes governing autonomous agents different, what the most regulated industries are doing about it, what the platforms have started to solve, and what is still nobody’s solved problem.&lt;/p&gt;

&lt;p&gt;— -&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why the old playbook doesn’t stretch&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We already know how to govern software. I spent years of my career doing it: API gateways, IAM policies, distributed tracing, cost allocation tags. So the tempting assumption is that agents are just another workload that plugs into the same machinery.&lt;/p&gt;

&lt;p&gt;They are not, and the reason is simple. Everything in that machinery assumes request-response systems with deterministic behavior. You send a request, the service runs fixed logic, you get a response. With an agent, you hand over a goal and the system works out the steps itself at runtime. That one difference breaks the playbook in four places.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Observability:&lt;/strong&gt; Tracing an HTTP call tells you what happened. With an agent, you also need to know why. Why did it pick tool A over tool B? What context did it have? What did it ignore? Traditional APM (application performance monitoring — the tooling we use to watch services in production) has no concept of reasoning. A trace of an agent’s execution is not an explanation of its decision.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost:&lt;/strong&gt; A buggy microservice retries and fails. A buggy agent loops, spawns sub-agents, and burns tokens with no natural ceiling. In my last post I told the story of the finance review nobody could answer: why did this month’s bill jump forty percent. With agents, that question can arrive after a single bad afternoon. Cost used to be an infrastructure line item. Now it is a runtime behavior that needs runtime controls.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Identity and access:&lt;/strong&gt; An agent acts on behalf of a user but runs with its own identity. Classic IAM was never built to express “this agent may call this tool, with these parameters, only while acting for this user.” Agents also bring an attack surface services never had: prompt injection, where malicious content in the agent’s inputs becomes an instruction. Your agent’s context window is now part of your security perimeter.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Audit:&lt;/strong&gt; When a deterministic system makes a decision, you point at the code. When an agent makes a decision, the honest answer involves a probability distribution. There is no shared definition yet of what an audit trail means for a system whose behavior is not fixed between reviews.&lt;/p&gt;

&lt;p&gt;— -&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the regulators just told us&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If anyone should have answers, it is the industries that have governed models for decades. What they are telling us right now is revealing, and a little uncomfortable.&lt;/p&gt;

&lt;p&gt;Banking has had formal model risk management since 2011, when US regulators issued SR 11–7. An entire discipline grew around it: model inventories, independent validation teams, model risk committees. In April 2026, the Federal Reserve, OCC, and FDIC &lt;a href="https://www.databricks.com/blog/model-risk-management-2026-bankers-guide-revised-interagency-guidance" rel="noopener noreferrer"&gt;replaced it with SR 26–2&lt;/a&gt; , the first major revision in about fifteen years. The revision &lt;a href="https://www.forbes.com/sites/zennonkapron/2026/04/22/the-governance-gap-that-could-break-financial-markets/" rel="noopener noreferrer"&gt;explicitly scopes out generative and agentic AI&lt;/a&gt;, calling these technologies novel and rapidly evolving.&lt;/p&gt;

&lt;p&gt;Read that carefully. The most mature model governance regime in the world just told banks that the systems they are actively deploying sit outside the framework. According to &lt;a href="https://blogs.nvidia.com/blog/ai-in-financial-services-survey-2026/" rel="noopener noreferrer"&gt;NVIDIA’s 2026 State of AI in Financial Services report&lt;/a&gt;, based on a survey of more than 800 industry professionals, 42% of financial firms are already using or assessing agentic AI, and 21% have already deployed agents. Agent-specific guidance is signaled but not yet issued. Until it arrives, the deployment curve is ahead of the governance curve.&lt;/p&gt;

&lt;p&gt;The reason for the exclusion matters, because it confirms the argument above. Traditional validation &lt;a href="https://www.garp.org/risk-intelligence/operational/sr-11-7-age-agentic-ai-260227" rel="noopener noreferrer"&gt;assumes a model’s structure and behavior stay stable between review cycles&lt;/a&gt;. You validate it once, monitor it, document it. An agent that adapts its own steps at runtime breaks the assumption underneath all three pillars. The principles are still sound. The methods behind them no longer fit.&lt;/p&gt;

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

&lt;p&gt;Pharma tells a similar story from a different angle. There is no single AI rulebook in life sciences. Validation teams piece together governance from &lt;a href="https://intuitionlabs.ai/articles/agentic-ai-platform-pharma-gxp-validation" rel="noopener noreferrer"&gt;a patchwork of frameworks&lt;/a&gt;: FDA’s Computer Software Assurance guidance, a 2025 draft guidance on AI credibility, ICH quality risk management, GAMP AI guidance, and voluntary standards like ISO 42001. The FDA and EMA jointly issued ten good AI practice principles in early 2026, and EU AI Act high-risk obligations are phasing in this year.&lt;/p&gt;

&lt;p&gt;The FDA’s underlying position is the one worth holding onto: &lt;a href="https://xevalics.com/fda-ai-pharmaceutical-quality-2026/" rel="noopener noreferrer"&gt;AI may inform the work, but it does not own the accountability&lt;/a&gt;. A human must remain responsible for the decision and be able to explain why it was appropriate. No dashboard satisfies that requirement on its own.&lt;/p&gt;

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

&lt;p&gt;Two heavily regulated industries, one conclusion. Existing frameworks assume systems whose behavior can be pinned down at validation time. Agents cannot be pinned down that way. The frameworks are being rewritten in real time, and enterprises deploying agents today are writing their own interim rules. Having watched enterprises do exactly that during early cloud adoption, I can tell you how it tends to go: unevenly.&lt;/p&gt;

&lt;p&gt;— -&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where the platforms are converging&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;While regulation catches up, the platform layer is moving. A common architectural pattern is emerging across vendors, one I think will outlast any single product: enforce governance outside the agent, at a boundary the agent cannot reason around.&lt;/p&gt;

&lt;p&gt;AWS’s Amazon Bedrock AgentCore is the most complete concrete example of the pattern today (AgentCore from here on). Its &lt;a href="https://aws.amazon.com/bedrock/agentcore/faqs/" rel="noopener noreferrer"&gt;policy capability&lt;/a&gt;, generally available since March 2026, sits at a gateway between the agent and its tools. Every tool call crosses that boundary and gets checked against rules written in Cedar, a purpose-built policy language. The rules define which tools an agent may call, what parameters it may pass, and under what conditions.&lt;/p&gt;

&lt;p&gt;The design choice that matters most: the checks run at the gateway layer, outside the agent’s code. The agent never sees the policy, so it cannot work around it. AWS describes this in its own documentation as probabilistic detection with deterministic enforcement — the model’s judgment can be uncertain, but the final allow-or-deny decision is not. Whatever you think of the product, that separation is the clearest governance principle for agents I have come across.&lt;/p&gt;

&lt;p&gt;The same boundary now also hosts guardrails. As of mid-2026, AgentCore can &lt;a href="https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-bedrock-agentcore-policy-guardrails-generally-available/" rel="noopener noreferrer"&gt;evaluate tool call inputs and agent outputs in real time&lt;/a&gt; for prompt injection, sensitive data, and harmful content, and block them before they reach downstream systems. Telemetry comes out in &lt;a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability.html" rel="noopener noreferrer"&gt;OpenTelemetry-compatible format&lt;/a&gt;, with per-agent logs that keep traces, prompts, and policy decisions together — what an auditor would actually ask for. Policies can also run in log-only mode before moving to active enforcement. Anyone who has rolled out service mesh policies will recognise the pattern: dry run first, enforce second.&lt;/p&gt;

&lt;p&gt;AWS is not alone in this. The big clouds are converging on the same boundary. &lt;a href="https://learn.microsoft.com/en-us/azure/api-management/genai-gateway-capabilities" rel="noopener noreferrer"&gt;Azure API Management now acts as an AI gateway&lt;/a&gt; that exposes APIs as MCP servers (MCP — the Model Context Protocol — is an open standard for connecting agents to tools), governs agent-to-agent traffic, and applies content safety checks at the gateway. Google’s Apigee has added &lt;a href="https://hexaware.com/blogs/mcp-support-in-apigee-bridging-enterprise-apis-with-ai-agent-ecosystems/" rel="noopener noreferrer"&gt;MCP support and a central catalog for governed tools&lt;/a&gt;. Open-source and AI-native gateways like LiteLLM and Portkey put token budgets, guardrails, and MCP-level controls at a proxy in front of the model. Different products, same architectural bet. AgentCore is the worked example in this post because it currently expresses the pattern most fully, not because the pattern is AWS’s alone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0yrb9x4xx4aa9q0j1pbk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0yrb9x4xx4aa9q0j1pbk.png" width="800" height="427"&gt;&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%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjmetlrwsrdlnpi8jya4e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjmetlrwsrdlnpi8jya4e.png" width="799" height="580"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;— -&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What nobody has solved&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The platform primitives are arriving. The governance program is not. Five gaps, in the order I would worry about them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The boundary only governs what crosses it&lt;/strong&gt;. Gateway-based policy applies to tool calls routed through the gateway. If an agent calls an SDK directly from its own code, that call never touches the policy layer. Skip the gateway and you skip the governance, silently. Keeping every tool call on the governed path is an engineering discipline problem, not a product feature. Service mesh taught this lesson the hard way: coverage gaps are where incidents happen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Execution audit is not reasoning audit.&lt;/strong&gt; You can now trace every step an agent took. Explaining to a regulator why it took those steps is a different problem, and nobody has solved it. Telemetry is evidence, not an explanation. The FDA’s accountability standard — a human who can explain why the decision was appropriate — is still met by humans, not by dashboards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cost governance is mostly reporting, not enforcement.&lt;/strong&gt; Dashboards show token spend per agent. Hard budget ceilings, per-agent spend limits, automatic circuit breakers on runaway loops: teams are still building these themselves, the same way we all built cloud cost controls by hand after the first unexpected bill.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cross-platform governance does not exist.&lt;/strong&gt; AgentCore governs AgentCore. Azure governs Azure. Real enterprises run agents across clouds, internal frameworks, and vendor products, and there is no single governed layer across all of them. If the framework fragmentation in the Build phase was frustrating, the governance fragmentation in the Govern phase will be worse, because the stakes are higher.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The platform gives primitives, not a program.&lt;/strong&gt; Policy engines and audit logs are necessary. They are not sufficient. You still need your own identity model, tool schemas, audit retention, incident response plan, and a named human who is accountable when an agent does something no policy anticipated.&lt;/p&gt;

&lt;p&gt;— -&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where this leaves us&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In the cloud era, real governance tooling arrived roughly a decade after adoption started. In the microservices era, closer to five years. With agents, serious governance primitives are shipping within two to three years of the technology going mainstream. The compression I wrote about last time is real.&lt;/p&gt;

&lt;p&gt;But notice what compressed and what did not. The tooling compressed. The hard problems did not. Explainability, cross-platform control, cost enforcement, and regulatory clarity are all still open — and open at the exact moment banks and pharma companies are deploying agents into frameworks that just admitted they do not fully cover them.&lt;/p&gt;

&lt;p&gt;If you are running agents in production, or planning to, I am curious which of these gaps bites your team first. My bet is on the gateway bypass problem, because it is the one that looks solved right up until the day it is not.&lt;/p&gt;

&lt;p&gt;— -&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;References&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;1. Federal Reserve, OCC, FDIC. Revised interagency guidance on model risk management (SR 26–2 / OCC Bulletin 2026–13), April 17, 2026. Analysis:&lt;/em&gt; &lt;a href="https://www.databricks.com/blog/model-risk-management-2026-bankers-guide-revised-interagency-guidance" rel="noopener noreferrer"&gt;&lt;em&gt;Databricks, Model risk management in 2026: A banker’s guide to the revised interagency guidance&lt;/em&gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;2. Kapron, Z.&lt;/em&gt; &lt;a href="https://www.forbes.com/sites/zennonkapron/2026/04/22/the-governance-gap-that-could-break-financial-markets/" rel="noopener noreferrer"&gt;&lt;em&gt;The Governance Gap That Could Break Financial Markets.&lt;/em&gt;&lt;/a&gt; _Forbes, April 22, 2026.  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Sharma, K._ &lt;a href="https://www.garp.org/risk-intelligence/operational/sr-11-7-age-agentic-ai-260227" rel="noopener noreferrer"&gt;&lt;em&gt;SR 11–7 in the Age of Agentic AI: Where the Framework Holds and Where It Strains.&lt;/em&gt;&lt;/a&gt; &lt;em&gt;GARP Risk Intelligence, February 27, 2026.&lt;br&gt;
4.&lt;/em&gt; &lt;a href="https://arxiv.org/pdf/2607.04103" rel="noopener noreferrer"&gt;&lt;em&gt;Governing Generative AI Across Financial Institutions: An SR 26–2-Compatible Framework&lt;/em&gt;&lt;/a&gt;_. arXiv preprint.
&lt;/li&gt;
&lt;li&gt;AWS._ &lt;a href="https://aws.amazon.com/bedrock/agentcore/faqs/" rel="noopener noreferrer"&gt;&lt;em&gt;Amazon Bedrock AgentCore FAQs.&lt;/em&gt;&lt;/a&gt;
&lt;em&gt;6. AWS.&lt;/em&gt; &lt;a href="https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-bedrock-agentcore-policy-guardrails-generally-available/" rel="noopener noreferrer"&gt;&lt;em&gt;Amazon Bedrock AgentCore now supports Bedrock Guardrails in policy&lt;/em&gt;&lt;/a&gt;_. AWS What’s New, June 17, 2026.
&lt;/li&gt;
&lt;li&gt;AWS._ &lt;a href="https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/observability.html" rel="noopener noreferrer"&gt;&lt;em&gt;Observe your agent applications on Amazon Bedrock AgentCore Observability.&lt;/em&gt;&lt;/a&gt; _AWS Documentation.
&lt;/li&gt;
&lt;li&gt;IntuitionLabs._ &lt;a href="https://intuitionlabs.ai/articles/agentic-ai-platform-pharma-gxp-validation" rel="noopener noreferrer"&gt;&lt;em&gt;Best Agentic AI Platform for Pharma GxP Validation (2026)&lt;/em&gt;&lt;/a&gt;_.
&lt;/li&gt;
&lt;li&gt;IntuitionLabs._ &lt;a href="https://intuitionlabs.ai/articles/pharma-ai-validation-evidence-fda-ema" rel="noopener noreferrer"&gt;&lt;em&gt;Pharma AI Validation Packages for FDA and EMA Compliance&lt;/em&gt;&lt;/a&gt;_.
&lt;/li&gt;
&lt;li&gt;Xevalics._ &lt;a href="https://xevalics.com/fda-ai-pharmaceutical-quality-2026/" rel="noopener noreferrer"&gt;&lt;em&gt;FDA’s Position on AI in Pharmaceutical Quality Systems (2026)&lt;/em&gt;&lt;/a&gt;_.
&lt;/li&gt;
&lt;li&gt;Microsoft._ &lt;a href="https://learn.microsoft.com/en-us/azure/api-management/genai-gateway-capabilities" rel="noopener noreferrer"&gt;&lt;em&gt;AI gateway capabilities in Azure API Management.&lt;/em&gt;&lt;/a&gt; _Microsoft Learn.
&lt;/li&gt;
&lt;li&gt;NVIDIA._ &lt;a href="https://blogs.nvidia.com/blog/ai-in-financial-services-survey-2026/" rel="noopener noreferrer"&gt;&lt;em&gt;State of AI in Financial Services: 2026 Trends.&lt;/em&gt;&lt;/a&gt; &lt;em&gt;Survey of 800+ industry professionals, published January 22, 2026.&lt;/em&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
      <category>aigovernance</category>
      <category>agents</category>
    </item>
    <item>
      <title>How Cloud Adoption and Microservices Teach Us Where Agentic AI Is Headed</title>
      <dc:creator>Bhavik Shah</dc:creator>
      <pubDate>Sat, 25 Jul 2026 13:01:02 +0000</pubDate>
      <link>https://dev.to/bhavik_shah_129e58b0661ff/how-cloud-adoption-and-microservices-teach-us-where-agentic-ai-is-headed-351m</link>
      <guid>https://dev.to/bhavik_shah_129e58b0661ff/how-cloud-adoption-and-microservices-teach-us-where-agentic-ai-is-headed-351m</guid>
      <description>&lt;p&gt;How Cloud Adoption and Microservices Teach Us Where Agentic AI Is Headed&lt;/p&gt;

&lt;p&gt;I published a piece last week &lt;a href="https://medium.com/@bhavik123/agent-architecture-vs-agentic-platform-architecture-why-your-second-agent-is-a-different-problem-6ffc22de4849" rel="noopener noreferrer"&gt;https://medium.com/@bhavik123/agent-architecture-vs-agentic-platform-architecture-why-your-second-agent-is-a-different-problem-6ffc22de4849&lt;/a&gt; arguing that your second agent is a different problem than your first — that scaling from one agent to a fleet of them changes the architecture question entirely. A reader read that piece and said something that’s stuck with me since::&lt;/p&gt;

&lt;p&gt;*We’ve seen this before.*&lt;/p&gt;

&lt;p&gt;They meant that cloud adoption went through this same mess years ago. So did microservices. And now agentic AI is going through it too — just faster.&lt;/p&gt;

&lt;p&gt;I think they’re right, and I don’t say that from theory. I’ve lived through both of the earlier shifts myself, first as an engineer and later as an architect, across several different companies and industries. I remember when “should we move this to the cloud” turned into a year-long argument about which tools to standardize on. And I remember a similar argument happening again a few years later, when “let’s break up this monolith into microservices” led to the exact same kind of fight — just with new names attached: Kubernetes versus Docker Swarm versus Mesos, instead of AWS versus Azure versus Google Cloud.&lt;/p&gt;

&lt;p&gt;Different technology, different decade, same underlying fight: *how do we run a lot of small, independent pieces without everything falling apart?*&lt;/p&gt;

&lt;p&gt;So when people ask me where agentic AI is headed — the exact question my last post was circling — I’m not really guessing. It feels familiar, because I’ve watched this exact sequence play out twice already.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pattern, in three steps
&lt;/h2&gt;

&lt;p&gt;Here’s the pattern I keep seeing, as simply as I can put it:&lt;/p&gt;

&lt;p&gt;**Step 1 — Everyone builds their own version.**&lt;br&gt;&lt;br&gt;
A new technology becomes good enough to use in real, production systems — not just demos. But there’s no standard way to run it yet. So every company builds its own version of the plumbing: how to monitor it, secure it, and keep it running. It’s wasteful, and everyone knows it’s wasteful, but there’s nothing better to use yet.&lt;/p&gt;

&lt;p&gt;**Step 2 — A few tools compete to become “the standard.”**&lt;br&gt;&lt;br&gt;
Once a lot of companies are running these systems, a new question takes over: *how do we manage dozens or hundreds of these at once, reliably?* This is when two or three competing tools show up, each trying to become the default answer. Betting on the wrong one is a real risk — teams that pick a tool that later loses out often have to redo a lot of work.&lt;/p&gt;

&lt;p&gt;**Step 3 — The “boring” but essential stuff shows up.**&lt;br&gt;&lt;br&gt;
Eventually, one tool wins (or a couple survive side by side), and attention shifts to the less exciting work: who’s allowed to do what, how much it costs, how to track what happened when something breaks. This is governance — unglamorous, but it’s the thing that decides whether a system survives an audit or a bad night.&lt;/p&gt;

&lt;p&gt;I’ve watched this play out with cloud infrastructure. I’ve watched it play out with microservices. And right now, I’m watching the very early stage of the same thing happening with AI 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fauwz78s4kpdyb0aokohp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fauwz78s4kpdyb0aokohp.png" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Cloud, from where I sat
&lt;/h2&gt;

&lt;p&gt;AWS put the technology on the table in 2006. Almost nobody I worked with in enterprise IT took it seriously for years after that. It was a startup and engineering-playground thing — useful if you were building something new and had nothing to lose, not something a large enterprise staked a real migration on. The gap between “the technology exists” and “enterprises actually trust it” was itself close to five years.&lt;/p&gt;

&lt;p&gt;That changed around 2011 and 2012, once Azure and Google Cloud gave enterprises more than one credible vendor to choose from and the conversation shifted from “should we consider this” to “which workloads, and how fast.” But here’s the part that matters: enterprises didn’t just adopt what startups had been using. The moment large companies committed real workloads, they came with demands startups never had to make — real access control, real cost accountability, real audit trails, compliance sign-off. A lot of what became “cloud governance” wasn’t the providers getting ahead of the problem. It was enterprises pushing for it once they were actually in, and providers building it out in response.&lt;/p&gt;

&lt;p&gt;The automation problem showed up first. Each provider answered it in a way that only worked on their own platform — AWS with CloudFormation, Azure with Resource Manager, Google with Deployment Manager. As an architect, this is the decision that actually keeps you up at night, because it isn’t a technology choice, it’s a lock-in choice. I sat in the room when a company committed to one provider’s tooling, built two years of automation around it, and then a merger or a pricing renegotiation meant we needed to run workloads on a second cloud. None of that automation traveled. We rebuilt it. Terraform arrived later and solved exactly this — write it once, run it on whichever cloud you’re actually using — but for the companies that adopted early, that fix came a few years too late to save the rework.&lt;/p&gt;

&lt;p&gt;Governance was the part nobody put on the roadmap, and it cost us for exactly that reason. Access control, cost accountability, audit trails — early on they got the bare minimum: an IAM policy someone set up once and never revisited. That worked fine when ten people had cloud access. It stopped working the moment a few hundred did, spread across a dozen business units, each one able to spin up resources nobody else could see. The turning point wasn’t a technology maturing — it was the first time a finance review asked “why did this month’s bill jump forty percent” and nobody could answer in less than a week. After that, access control, cost tracking, and audit logging stopped being something we’d get to eventually and became a requirement before anything went to production.&lt;/p&gt;

&lt;p&gt;That’s why I think the cloud curve is genuinely the longest of the three. It’s not just adoption to maturity — it’s invention, then a multi-year trust gap before enterprises moved at all, then the scramble to build the governance layer enterprises then demanded on their way in. Startups didn’t need most of that. Enterprises insisted on it, and the providers spent years catching up to the requirement.&lt;/p&gt;

&lt;p&gt;Looking back, that whole arc — from AWS putting the idea on the table in 2006 to governance being table stakes around 2022 — comes out to about sixteen years, by my own count.&lt;/p&gt;
&lt;h2&gt;
  
  
  Microservices, closer to home
&lt;/h2&gt;

&lt;p&gt;Spring Boot and its peers matured around 2010 to 2015, and every team I knew with an aging monolith started cutting it apart. I was one of them. And the early period was rough in a very specific way — service discovery, distributed tracing, trying to figure out why request 4 of 12 in a chain failed at 2am with nothing but a log line and a hunch. We were all learning this at the same time, badly, in production.&lt;/p&gt;

&lt;p&gt;The orchestration fight is the part I watched most closely, because I was in the room for it more than once. Mesos, Docker Swarm, Cloud Foundry — all of them were credible for a stretch. Kubernetes showed up in 2014 and by 2017 or so it had basically won, not because it launched first but because it stayed open and portable while everyone else’s roadmap got tangled up in vendor politics. I moved more than one platform onto it, and the teams that had already built some operational muscle during the chaos years adjusted faster than the teams that sat on the sidelines waiting for a winner.&lt;/p&gt;

&lt;p&gt;Then came service mesh — tools like Istio and Linkerd, or the cloud-managed flavors of the same idea if you’d rather not run it yourself: AWS pushes you toward VPC Lattice or ECS Service Connect now, GCP folded its offering into Cloud Service Mesh, and Azure ships a managed Istio add-on for AKS. Whichever version you use, what it actually does is sit between all your services and quietly handle the stuff that never shows up in a demo: routing traffic to healthy instances instead of broken ones, encrypting traffic between services automatically, retrying a request that failed the first time, and cutting off calls to a service that’s clearly having a bad day so its problems don’t cascade into everyone else’s. None of that is glamorous. It’s also the reason a system stays up when something breaks at 4pm on a Friday instead of taking the whole platform down with it.&lt;/p&gt;

&lt;p&gt;That cycle took maybe ten to twelve years. Faster than cloud.&lt;/p&gt;
&lt;h2&gt;
  
  
  And now, agents
&lt;/h2&gt;

&lt;p&gt;You can probably see where this goes.&lt;/p&gt;

&lt;p&gt;Back in 2023 and 2024, LangGraph, CrewAI, AutoGen and the rest matured to the point where teams stopped experimenting and started actually shipping agents into production. True to form, everyone built their own version of orchestration and monitoring underneath it, because no standard existed yet. That was phase one, and it’s already behind us.&lt;/p&gt;

&lt;p&gt;Right now, in 2026, we’re squarely in the middle of the orchestration fight. AWS has AgentCore, and — like Microsoft with Azure AI Foundry — has adopted Google’s A2A protocol rather than try to compete with it. Google has Vertex AI Agent Builder. Salesforce has Agentforce. There’s LangGraph Platform, CrewAI Enterprise, and no small number of teams still building it themselves the way we all did with cloud and with microservices. If you want the historical comparison, this is the Kubernetes-vs-Mesos moment — several credible options, no clear winner yet, and a real cost to guessing wrong.&lt;/p&gt;

&lt;p&gt;The governance layer is just starting to take shape: policy engines, cost tracking, agent identity and access control, budget enforcement so an agent loop doesn’t quietly burn through your model spend. It’s the service mesh moment for agents. Having built the last one by hand, my guess is it arrives faster than most roadmaps currently assume.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why it keeps getting faster
&lt;/h2&gt;

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

&lt;p&gt;Line the three timelines up and it’s a little unsettling:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Cloud: 2006 → 2012 → 2017 → 2022  
Microservices: 2010 → 2015 → 2019 → 2024  
Agentic AI: 2023 → 2025 → 2027 → 2030?  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Cloud took about sixteen years start to finish, if you count from when AWS made the technology available rather than from when enterprises actually trusted it. Microservices took ten to twelve. If the pattern holds, agents do it in six or seven, because we’re not starting from zero this time. Enough of us have already built an orchestration layer under duress, and already built a governance layer after the fact, that the whole industry has some muscle memory it didn’t have in 2010.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I’d actually tell a team deciding right now
&lt;/h2&gt;

&lt;p&gt;Here’s the practical version of all this, and it comes with a caveat: I’ve seen both sides of the “move now or wait” decision play out, and it’s genuinely not obvious which one is right.&lt;/p&gt;

&lt;p&gt;In the cloud era, the teams that moved early built everything themselves and paid for it in complexity. The teams that waited got a much smoother ride once standards settled — but by then the early movers had years of scars that turned out to be useful. Cloud eventually stabilized either way, so the early-mover advantage was real but not decisive.&lt;/p&gt;

&lt;p&gt;In the microservices era I watched this split happen inside the same organization, sometimes on adjacent teams. The team that built on Spring Boot early and rode the wave into Kubernetes ended up with people who understood failure modes nobody could have explained on a whiteboard. The team that waited got an easier technical path but showed up a few years behind on operational judgment. That gap mattered for a while — three or four years — before it leveled out.&lt;/p&gt;

&lt;p&gt;Agents feel higher stakes to me than either of those, and here’s why: cloud and microservices were infrastructure. Agents are increasingly the business logic itself. The lessons you learn running them in production — how they drift, where they fail silently, what governance actually needs to catch — aren’t the kind of thing you can pick up from a case study later. You kind of have to have broken something to know it.&lt;/p&gt;

&lt;p&gt;So if you’re building now, you’re buying operational experience while the standards are still unsettled, and that’s worth something regardless of which framework wins. If you’re waiting, you’ll get a cleaner path eventually, but you’re trading that for time your competitors are spending learning what actually breaks.&lt;/p&gt;

&lt;p&gt;Neither choice is wrong. I just don’t think you get to pretend the pattern isn’t there.&lt;/p&gt;

&lt;h2&gt;
  
  
  A few guesses, on the record
&lt;/h2&gt;

&lt;p&gt;If history repeats the way I think it will, by 2027 or 2028:&lt;/p&gt;

&lt;p&gt;Some version of A2A, or whatever succeeds it, becomes the de facto way agents talk to each other — the HTTP-for-agents outcome. One or two orchestration platforms end up dominant, and most of today’s contenders quietly fall off. Governance stops being a differentiator and becomes a checklist item, the same way IAM did for cloud and service mesh did for microservices. And rolling your own orchestration becomes possible but rare, the way running your own Kubernetes cluster from scratch is possible but rare today.&lt;/p&gt;

&lt;p&gt;I could easily be wrong about the specific winners. I’d put more money on the general shape, mostly because I’ve now watched that shape happen twice, from the inside, in different companies with different constraints, and it rhymed both times.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this leaves us
&lt;/h2&gt;

&lt;p&gt;None of this is really a prediction in the crystal-ball sense. It’s just pattern matching, done slowly, over a career.&lt;/p&gt;

&lt;p&gt;Frameworks, then orchestration, then governance — that’s cloud, that’s microservices, and that’s where agentic AI is heading, just compressed. The teams that notice this early don’t have to be caught flat-footed by the governance phase. They can build the observability and policy hooks in now, before the industry decides those are mandatory instead of optional.&lt;/p&gt;

&lt;p&gt;That’s the thing I wish someone had told me before my first cloud migration instead of after it.&lt;/p&gt;

&lt;p&gt;If governance is genuinely coming whether we like it or not, the real question is whether you build that layer yourself now, or design things flexibly enough to plug into whatever standard eventually wins. I don’t think there’s one right answer. I’d be curious where your team lands on it.&lt;/p&gt;

</description>
      <category>cloudcomputing</category>
      <category>aigovernance</category>
      <category>agenticai</category>
      <category>ai</category>
    </item>
    <item>
      <title>Agent Architecture vs. Agentic Platform Architecture: Why Your Second Agent Is a Different Problem</title>
      <dc:creator>Bhavik Shah</dc:creator>
      <pubDate>Fri, 17 Jul 2026 21:31:02 +0000</pubDate>
      <link>https://dev.to/bhavik_shah_129e58b0661ff/agent-architecture-vs-agentic-platform-architecture-why-your-second-agent-is-a-different-problem-3c99</link>
      <guid>https://dev.to/bhavik_shah_129e58b0661ff/agent-architecture-vs-agentic-platform-architecture-why-your-second-agent-is-a-different-problem-3c99</guid>
      <description>&lt;p&gt;Building one agent is the easy part. The real architecture questions show up when you try to run several.&lt;/p&gt;

&lt;p&gt;Every few days a recruiter or hiring manager reaches out about an “AI Architect” role, and the goal is usually some version of the same idea:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“We want to build agents to automate different parts of the business — support triage, supply-chain tasks, code migrations, some finance ops…”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It’s a reasonable goal, and the enthusiasm is real. But when the conversation reaches the operational questions — &lt;em&gt;how will agents authenticate to each other? who caps token spend when something misbehaves? how do events move between agents? where does a human approve the risky actions?&lt;/em&gt; — it usually becomes clear those parts haven’t been scoped yet.&lt;/p&gt;

&lt;p&gt;That’s not a knock on anyone. The distinction at play is genuinely easy to miss — I’ve watched experienced teams miss it, and I’ve gotten it wrong myself. &lt;strong&gt;Agent architecture&lt;/strong&gt; (how a single autonomous entity thinks and acts) and &lt;strong&gt;agentic platform architecture&lt;/strong&gt; (the infrastructure that lets several of them run reliably) are different problems that happen to share a word. Build a handful of agents without the second one and things tend to work fine in the demo — then get fragile and expensive in production.&lt;/p&gt;

&lt;p&gt;This post walks through both: what’s inside each, where each shines and hurts, real platform examples (AWS Bedrock AgentCore and its peers), the failure modes that show up in production, and the practices that help avoid them.&lt;/p&gt;

&lt;h3&gt;
  
  
  The core distinction: the car and the highway system
&lt;/h3&gt;

&lt;p&gt;An &lt;strong&gt;agent architecture&lt;/strong&gt; describes one autonomous worker from the inside: how it reasons, what it remembers, which tools it can reach, and what limits bind it. It is the design of a high-performance car.&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;agentic platform architecture&lt;/strong&gt; is everything that lets hundreds of those cars share the road safely: the road network, the traffic rules, the fueling stops, and the licensing office. It treats each agent as a small, replaceable service and carries — as shared infrastructure — everything the agents shouldn’t have to.&lt;/p&gt;

&lt;p&gt;One answers &lt;em&gt;“how does this specific agent accomplish its task?”&lt;/em&gt; The other answers &lt;em&gt;“how does an organization run, watch, and govern a growing fleet of agents that different teams keep shipping?”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy9tvd0od5p1pwk8k24r5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy9tvd0od5p1pwk8k24r5.png" width="800" height="475"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Figure 1 — The same building blocks, coupled inside one app vs. provided as shared, governed platform services.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Part 1: Inside a single agent
&lt;/h3&gt;

&lt;p&gt;Strip away the hype and a production-grade agent is five parts working together:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The model — the reasoning core.&lt;/strong&gt; The engine that decides what to do next, sequences the steps, and recovers when a step goes wrong. Tune it for task accuracy before you worry about cost or latency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Instructions — the operating contract.&lt;/strong&gt; Your team’s procedures translated into the prompt: a tightly scoped brief, worked examples, the edge cases spelled out, and what the agent should do when each thing fails.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The reasoning loop — the cognitive pattern.&lt;/strong&gt; The agent doesn’t just answer; it &lt;em&gt;plans, acts, observes the result, and reflects&lt;/em&gt;, looping until the task is done. This is where patterns like ReAct (Reason + Act), Plan-and-Solve, and self-correction live. A useful test for whether you’ve built an agent at all: step away from the keyboard. If the task keeps advancing without you, it’s an agent; if it stalls waiting for your next message, it’s a chatbot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Memory — and it’s three things, not one.&lt;/strong&gt; &lt;em&gt;Short-term&lt;/em&gt; working memory holds the current task state and recent steps. &lt;em&gt;Long-term / episodic&lt;/em&gt; memory persists past interactions, user preferences, and previously successful runs. &lt;em&gt;Semantic&lt;/em&gt; memory is your enterprise knowledge, chunked into a vector store (pgvector, Qdrant, Pinecone) and retrieved via RAG. Skip the distinction and your agent is brilliant for one turn and amnesiac the next.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Tools — the hands.&lt;/strong&gt; Capabilities exposed via strict schemas: a web-search tool, a code executor, database queries, an email/Slack API, a browser, a CRM updater. Increasingly these are wired through the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt;, the emerging standard for describing tools so any agent can discover and call them. Alongside tools sit &lt;strong&gt;skills&lt;/strong&gt;  — packaged, reusable instructions the agent loads on demand, like a report-writer, a code-reviewer, or an invoice-parser.&lt;/p&gt;

&lt;p&gt;You rarely build all of this from scratch. &lt;strong&gt;Agent frameworks&lt;/strong&gt;  — LangGraph (graph-based, stateful orchestration), CrewAI (role-based multi-agent teams), Microsoft’s AutoGen, AWS Strands Agents, LlamaIndex — give you the loop, tool bindings, and memory hooks as libraries. But note what they are: &lt;em&gt;authoring&lt;/em&gt; tools. They help you write the agent. They do not run, govern, or scale it — that is the platform’s job, and conflating the two is where teams get burned.&lt;/p&gt;

&lt;h3&gt;
  
  
  Advantages of the single-agent approach
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Speed to value.&lt;/strong&gt; You can ship something genuinely useful in days, not quarters.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full control.&lt;/strong&gt; Every prompt, retry, and tool binding is yours to tune for one specific job.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low ceremony.&lt;/strong&gt; No message buses, no multi-tenant identity, no platform team required.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cheap to run — at first.&lt;/strong&gt; One process, one model bill, one deploy pipeline.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Disadvantages
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nothing is reusable.&lt;/strong&gt; The loop, the logging, the tool wiring — all rebuilt for the next agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability is whatever you remembered to log.&lt;/strong&gt; Debugging means grepping print statements and guessing what the model did.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scaling is vertical.&lt;/strong&gt; A traffic spike means a bigger box; one slow request stalls the rest.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Governance by good intentions.&lt;/strong&gt; Keys in the codebase, access rules in the prompt, budgets in someone’s head.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Where a single agent is genuinely the right call
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Prototypes and proofs-of-concept where the question is “does this work at all?”&lt;/li&gt;
&lt;li&gt;A single, well-scoped internal task: triaging one inbox, summarizing one report type, migrating one codebase.&lt;/li&gt;
&lt;li&gt;Teams of one or two engineers with no platform organization behind them.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Structural challenges at the agent level
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Loop runaway.&lt;/strong&gt; The most common way agents fail in production: a tool errors or returns something ambiguous, the agent retries, the retry fails the same way, and the cycle spins all night on your token bill. The runtime — not the prompt — must enforce a ceiling on steps per task and a hard spend limit per request.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context-window decay.&lt;/strong&gt; On long runs, accumulated reasoning traces crowd the window and answer quality drifts downward. You need compaction — summarize and prune as you go — to hold quality steady.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Brittle structured extraction.&lt;/strong&gt; Relying on the LLM to format complex API arguments works until a model upgrade subtly changes its output habits. Validate every tool call against its schema; never trust, always parse.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Monolithic Agent Trap
&lt;/h3&gt;

&lt;p&gt;Here’s how the single-agent approach fails in slow motion. You build agent #2 and copy the loop. Agent #3, you copy it again — but tweak the retry logic, so now they’ve quietly drifted apart. By agent #10, infrastructure concerns — connection pools, secret keys, homegrown logging, a hard-pinned model endpoint, security rules — are baked into every agent’s code, each slightly differently.&lt;/p&gt;

&lt;p&gt;Then the company switches model providers, or legal updates one compliance rule — and the change fans out into a hand-edit of &lt;em&gt;every agent you own.&lt;/em&gt; Nothing stops the marketing team’s agent from calling an internal finance API — no matter what its prompt says — because access control was never a system property, only a prompt suggestion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The trap in one sentence:&lt;/strong&gt; infrastructure baked into agent code works for one agent, and fails combinatorially for twenty.&lt;/p&gt;

&lt;p&gt;None of these are &lt;em&gt;agent&lt;/em&gt; problems. They’re &lt;em&gt;platform&lt;/em&gt; problems — and you’ve been solving them one agent at a time, which doesn’t compose.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1rdzd29xcjrih1zm8ybe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1rdzd29xcjrih1zm8ybe.png" width="800" height="707"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Figure 2 — Layer by layer: the pain with one agent, and how a platform removes it.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Part 2: The agentic platform — infrastructure for a fleet
&lt;/h3&gt;

&lt;p&gt;An agentic platform is the shared runtime an enterprise puts underneath all of its agents — hosting them, brokering their communication, auditing their actions, and enforcing its rules on every one. The agents become thin — mostly a prompt plus a policy — and everything hard moves down into shared services:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Unified front door &amp;amp; API gateway.&lt;/strong&gt; Multi-tenant boundaries, functional routing, incoming webhooks and events. Departmental “front doors” (HR assistant, finance copilot, support agents) all land on the same platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent runtime / harness.&lt;/strong&gt; One standardized, versioned reasoning scaffold — loop, retries, timeouts, context assembly, step caps — that every agent inherits instead of reinventing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orchestration &amp;amp; agent-to-agent communication.&lt;/strong&gt; Managed handoffs between agents — supervisor, pipeline, or peer-to-peer — whether over an event bus (Kafka, Redis streams) or the emerging &lt;strong&gt;Agent-to-Agent (A2A) protocol&lt;/strong&gt;, which standardizes how agents from different teams (or vendors) exchange structured work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data &amp;amp; knowledge layer.&lt;/strong&gt; Centralized knowledge graphs, vector stores and semantic indexes, streaming data — shared grounding instead of per-agent silos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory services.&lt;/strong&gt; Short-term, long-term/episodic, and semantic memory offered as managed services with retention control.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool &amp;amp; API fabric.&lt;/strong&gt; Tools registered once — increasingly via the Model Context Protocol (MCP) — permissioned centrally, reused by any agent that needs them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model gateway / inference router.&lt;/strong&gt; Routes each sub-task to the right model (frontier model for hard reasoning, cheap fast model for parsing), with caching, rate-limiting, and automatic failover between providers. A provider outage becomes a config change, not a 2 a.m. refactor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Governance, identity &amp;amp; guardrails.&lt;/strong&gt; IAM/RBAC so agents have real identities and scoped permissions; centralized input/output guardrails; audit logs; enforced budgets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-loop service.&lt;/strong&gt; One approval engine for the whole fleet: when any agent reaches for a high-risk action — a refund, a production change, an outbound customer email — the platform freezes that run until a person approves, then resumes it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability &amp;amp; evaluations.&lt;/strong&gt; End-to-end tracing of every step, tool call, token and dollar (OpenTelemetry, LangSmith, Arize Phoenix), plus automated evals that catch quality regressions before they ship.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lifecycle management.&lt;/strong&gt; Provision, version, pause, and deprecate agents like any other production service, with CI/CD and staged rollouts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  A worked example: AWS Bedrock AgentCore
&lt;/h3&gt;

&lt;p&gt;If the platform concept feels abstract, look at how AWS productized it. &lt;strong&gt;Amazon Bedrock AgentCore&lt;/strong&gt;  — generally available since October 2025 — is essentially the platform column of this article sold as composable managed services. Its building blocks map almost one-to-one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Runtime&lt;/strong&gt;  — serverless, session-isolated execution with long-running windows (up to eight hours) and Agent-to-Agent (A2A) protocol support. Works with any framework (LangGraph, CrewAI, Strands, LlamaIndex) and any model, inside or outside Bedrock.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gateway&lt;/strong&gt;  — turns APIs and Lambda functions into agent-compatible tools and connects to existing MCP servers, acting as one secure endpoint where agents discover and use tools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory&lt;/strong&gt;  — managed session and long-term memory with pluggable extraction/consolidation strategies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity&lt;/strong&gt;  — agents get real identities, OAuth/IAM-based authorization, and secure token vaults so they can act on behalf of users with scoped access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Policy&lt;/strong&gt;  — centralized, natural-language or policy-as-code controls over what agents are permitted to do (reached GA in early 2026).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Observability &amp;amp; Evaluations&lt;/strong&gt;  — step-by-step execution tracing plus built-in evaluators for response quality, safety, task completion, and tool usage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A managed harness&lt;/strong&gt;  — the newest piece (GA mid-2026): define an agent with one API call, invoke it with another, with the loop, tools, memory and tracing handled by the platform.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The strategic read: a hyperscaler looked at what every enterprise was hand-rolling — runtime, gateway, memory, identity, policy, observability — and shipped exactly that list. That’s strong independent confirmation of where the platform boundary sits.&lt;/p&gt;

&lt;h3&gt;
  
  
  Other platforms worth knowing
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google Vertex AI Agent Builder / Agent Engine&lt;/strong&gt;  — Google Cloud’s managed agent infrastructure, with native RAG and A2A support; natural fit for BigQuery/Gemini-centric shops.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Azure AI Foundry Agent Service&lt;/strong&gt;  — Microsoft’s developer-grade managed runtime with per-agent Entra identity, private networking, and multi-framework support (LangGraph, OpenAI Agents SDK, Claude Agent SDK).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LangGraph Platform&lt;/strong&gt;  — the managed deployment layer for LangGraph agents, with state persisted at every execution step; maximum control over the execution graph, portable across clouds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Salesforce Agentforce&lt;/strong&gt;  — the CRM-native agentic platform: agents built directly on Salesforce data, workflows, and permissioning, aimed at sales and service automation for organizations already living in that ecosystem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CrewAI Enterprise&lt;/strong&gt;  — the managed tier of the fastest route to multi-agent prototypes, when role-based collaboration is your primary pattern.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom platforms&lt;/strong&gt;  — asynchronous runtimes built on distributed task queues (Celery + Redis) over Kubernetes/EKS, for teams that need full control and accept full operational burden.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A pragmatic 2026 heuristic: if you’re committed to one cloud, use that hyperscaler’s platform for deployment — but keep your agent logic in portable framework code so the authoring layer isn’t locked in.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Frameworks vs. platforms, in one line:&lt;/strong&gt; LangGraph and CrewAI help you &lt;em&gt;write&lt;/em&gt; an agent; AgentCore, Vertex AI Agent Builder, and Agentforce help you &lt;em&gt;run a fleet of them&lt;/em&gt; — with identity, guardrails, observability, and scale handled for you. Most production stacks use one of each.&lt;/p&gt;

&lt;h3&gt;
  
  
  Advantages of the platform approach
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Write-once infrastructure.&lt;/strong&gt; The loop, guardrails, tracing, and tool fabric are built once and inherited by every agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Governance as a system property.&lt;/strong&gt; Access control, budgets, and approvals are enforced by the platform — not requested politely in a prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Organizational leverage.&lt;/strong&gt; Data scientists tune prompts and reasoning; the platform team owns scale, security, and cost. Different teams ship agents without re-solving infrastructure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resilience by default.&lt;/strong&gt; Model failover, worker isolation, and staged rollouts mean one bad agent or one provider outage doesn’t take down the fleet.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Disadvantages
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Upfront cost and ceremony.&lt;/strong&gt; A platform is real engineering. Built too early, it’s expensive scaffolding around a product that doesn’t exist yet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New failure surface.&lt;/strong&gt; Message buses, identity systems, and gateways can themselves fail — and platform bugs affect every agent at once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Potential lock-in.&lt;/strong&gt; Managed platforms trade portability for convenience; choose where you accept that trade deliberately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Organizational overhead.&lt;/strong&gt; Someone has to own the platform — its roadmap, its SLAs, its upgrades.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Platform-level engineering challenges
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-tenant state management.&lt;/strong&gt; Keeping every tenant’s data walled off from every other’s — while long-running agent sessions still reach their own state quickly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unsustainable scale costs.&lt;/strong&gt; Token bills compound across a fleet. Survival requires caching (prompt and semantic) plus routing discipline: reserve frontier models for the reasoning that needs them, and push parsing and extraction to small, cheap ones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Distributed auditing complexity.&lt;/strong&gt; When a workflow fails three handoffs deep, per-agent logs won’t tell you where the payload went bad. You need traces that follow one request across every agent it touched.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The shield is deeper than it looks: four layers of defense
&lt;/h3&gt;

&lt;p&gt;“We added guardrails” usually means one moderation call on the output. In production, protection works better as defense in depth — four layers, each guarding a different thing, with every request crossing all of them:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Inbound defense — screen what reaches the model.&lt;/strong&gt; Request and file validation, injection and jailbreak screening, isolation of system instructions, rate and size limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge integrity — trust what the agent reasons over.&lt;/strong&gt; Source vetting for anything RAG pulls in, grounding and freshness checks, PII redaction in retrieval, and memory hygiene: clear rules for what gets stored, recalled, and retained.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Action control — bound what the agent can do.&lt;/strong&gt; Least-privilege tool scopes, sandboxed execution, transaction and write ceilings, and human sign-off on high-risk calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runtime assurance — watch how the whole run behaves.&lt;/strong&gt; Loop and anomaly detection, step caps and spend budgets, output policy validation, and an end-to-end audit trail. This layer never sleeps: it wraps every stage of every run.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In a single agent you hand-roll pieces of these layers and hope. On a platform all four live once, as shared, versioned policy every agent inherits — the difference between “we added some safety checks” and “safety is enforced by default, everywhere.”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1j0exeiknml0zc0bhgt9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1j0exeiknml0zc0bhgt9.png" width="800" height="429"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Figure 3 — Defense in depth: a request crosses three gates to reach the agent core, inside an always-on assurance layer.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  When agents team up: three topologies
&lt;/h3&gt;

&lt;p&gt;Once a platform exists, agents start collaborating — and the &lt;em&gt;shape&lt;/em&gt; of the collaboration is an architectural decision:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Supervisor (hierarchical).&lt;/strong&gt; A lead agent breaks the goal apart, farms the pieces out to specialists, and assembles the final result. Suits complex, cross-functional work — a product-spec agent feeding a coding agent feeding a QA agent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pipeline (sequential).&lt;/strong&gt; Work flows in one direction: each agent’s structured output becomes the next one’s input. Suits predictable, linear back-office flows — invoice intake, then audit, then entry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Peer-to-peer (network).&lt;/strong&gt; Autonomous peers coordinate directly, pulling each other in when they need help. Suits open-ended, dynamic problems like supply-chain negotiation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reach for multiple agents only when the work truly needs parallel effort or distinct specialisms. A single well-instrumented agent beats a poorly governed swarm every time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe5qbpsng9w0k5kpvrst7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe5qbpsng9w0k5kpvrst7.png" width="800" height="350"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Figure 4 — Supervisor, pipeline, and peer-to-peer: match the topology to the work.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Best practices — and the pitfalls they prevent
&lt;/h3&gt;

&lt;p&gt;Best practiceThe pitfall it prevents &lt;strong&gt;Standardize the harness first.&lt;/strong&gt; One versioned reasoning scaffold — loop, retries, context assembly — shared by all agents.Ten hand-rolled loops that quietly drift apart, each with different bugs. &lt;strong&gt;Hard step caps and per-request budgets, enforced by the runtime.&lt;/strong&gt; Loop runaway — the #1 production failure — burning tokens against a failing tool all night. &lt;strong&gt;Trace everything from day one.&lt;/strong&gt; Every step, tool call, token and dollar, with distributed tracing across agent handoffs.Debugging by grepping print statements; being unable to explain why Agent B received garbage from Agent A. &lt;strong&gt;Evals in CI, not vibes in prod.&lt;/strong&gt; Golden test sets, behavioral assertions, expected tool sequences — run on every prompt or model change.Silent quality regressions shipped because “the demo still looked fine.” &lt;strong&gt;Route models through a gateway.&lt;/strong&gt; Cheap models for parsing, frontier models for hard reasoning, automatic failover.Emergency refactors on a provider outage; a cost curve that kills the project at scale.&lt;strong&gt;Give agents real identities (IAM/RBAC), not prompt-based trust.&lt;/strong&gt;The marketing agent calling the finance API because nothing but a sentence in a prompt said it couldn’t. &lt;strong&gt;Centralize human-in-the-loop as a service.&lt;/strong&gt; One approval engine, risk thresholds defined per action class.High-risk mutations (refunds, prod writes, customer emails) executing with no human gate — or every team building its own inconsistent one.&lt;strong&gt;Register tools once (MCP), permission them centrally.&lt;/strong&gt;Bespoke integrations and API keys duplicated across codebases. &lt;strong&gt;Design memory in three tiers&lt;/strong&gt; (short-term, episodic, semantic) with retention rules.Amnesiac agents, unbounded context windows, and sensitive data retained forever. &lt;strong&gt;Start simple; extract the platform when you feel the pain twice.&lt;/strong&gt; Build agent #1 as an app. When agent #2 needs the same plumbing, that’s the platform’s birthday.Both failure modes at once: premature platform ceremony, or the Monolithic Agent Trap.&lt;/p&gt;

&lt;h3&gt;
  
  
  So which do you need?
&lt;/h3&gt;

&lt;p&gt;If you’re shipping your first agent, or a single well-scoped one — build the agent. A platform you don’t need yet is expensive ceremony.&lt;/p&gt;

&lt;p&gt;But if your roadmap has ten agents on it, then building each as a standalone app means maintaining ten reasoning loops, ten logging schemes, ten copies of your security rules, and zero shared visibility. At that point the platform isn’t over-engineering. It’s the thing that keeps the fleet debuggable, affordable, and safe.&lt;/p&gt;

&lt;p&gt;In an agent architecture, the cross-cutting concerns — the harness, observability, scalability, governance — are plumbing you hide inside the app. In a platform architecture, &lt;strong&gt;they are the product.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Build the agent first. Just know the second one is a different kind of problem — and design for it before it designs for you.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Are you building a multi-agent system right now? I’d love to hear how you’re handling agent runtime isolation, global guardrails, and cost control in your stack — drop a comment.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  References &amp;amp; Further Reading
&lt;/h3&gt;

&lt;p&gt;This article builds on established research and tooling from the AI engineering community. Key references:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Research &amp;amp; Patterns&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;“Reason+Act” (ReAct)&lt;/strong&gt; — Yao et al., 2022. Foundational agent reasoning pattern. &lt;a href="https://arxiv.org/abs/2210.03629" rel="noopener noreferrer"&gt;arxiv.org/abs/2210.03629&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;“Plan and Solve Prompting”&lt;/strong&gt;  — Wang et al., 2023. Multi-step agentic reasoning. &lt;a href="https://arxiv.org/abs/2305.04091" rel="noopener noreferrer"&gt;arxiv.org/abs/2305.04091&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Frameworks &amp;amp; Standards&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LangGraph&lt;/strong&gt;  — LangChain’s stateful agent framework. &lt;a href="https://langchain-ai.github.io/langgraph/" rel="noopener noreferrer"&gt;langchain-ai.github.io/langgraph/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CrewAI&lt;/strong&gt;  — Role-based multi-agent orchestration. &lt;a href="https://crewai.com/" rel="noopener noreferrer"&gt;crewai.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AutoGen&lt;/strong&gt;  — Microsoft’s multi-agent conversation framework. &lt;a href="https://microsoft.github.io/autogen/" rel="noopener noreferrer"&gt;microsoft.github.io/autogen/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; — Anthropic’s standard for agent-tool integration. &lt;a href="https://modelcontextprotocol.io/" rel="noopener noreferrer"&gt;modelcontextprotocol.io&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Platforms &amp;amp; Services&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AWS Bedrock AgentCore&lt;/strong&gt;  — Amazon’s managed agent runtime. &lt;a href="https://aws.amazon.com/bedrock/agentcore/" rel="noopener noreferrer"&gt;aws.amazon.com/bedrock/agentcore/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Vertex AI Agent Builder&lt;/strong&gt;  — Google Cloud’s agent development platform. &lt;a href="https://cloud.google.com/vertex-ai/docs/agents" rel="noopener noreferrer"&gt;cloud.google.com/vertex-ai/docs/agents&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Salesforce Agentforce&lt;/strong&gt;  — CRM-native agentic platform. &lt;a href="https://www.salesforce.com/products/agentforce/" rel="noopener noreferrer"&gt;salesforce.com/products/agentforce/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Azure AI Foundry&lt;/strong&gt;  — Microsoft’s AI development environment. &lt;a href="https://azure.microsoft.com/en-us/products/ai-foundry/" rel="noopener noreferrer"&gt;azure.microsoft.com/en-us/products/ai-foundry/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;This article reflects current best practices in agentic AI architecture as of 2026. The field evolves rapidly; for the latest on frameworks, standards, and platforms, refer to their official documentation.&lt;/em&gt;&lt;/p&gt;

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