<?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: Arnab Mitra</title>
    <description>The latest articles on DEV Community by Arnab Mitra (@arnab_mitra_4657d14618d91).</description>
    <link>https://dev.to/arnab_mitra_4657d14618d91</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3884642%2F027dccfd-f401-4a98-83b0-0e39b70a972b.png</url>
      <title>DEV Community: Arnab Mitra</title>
      <link>https://dev.to/arnab_mitra_4657d14618d91</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arnab_mitra_4657d14618d91"/>
    <language>en</language>
    <item>
      <title>Stop building "Yes-Bots": Why I’m open-sourcing a "Purple Line" for AI Agents</title>
      <dc:creator>Arnab Mitra</dc:creator>
      <pubDate>Fri, 17 Apr 2026 14:00:26 +0000</pubDate>
      <link>https://dev.to/arnab_mitra_4657d14618d91/stop-building-yes-bots-why-im-open-sourcing-a-purple-line-for-ai-agents-f3m</link>
      <guid>https://dev.to/arnab_mitra_4657d14618d91/stop-building-yes-bots-why-im-open-sourcing-a-purple-line-for-ai-agents-f3m</guid>
      <description>&lt;p&gt;&lt;strong&gt;A protocol for deterministic governance in a world of probabilistic AI.&lt;/strong&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The Obedience Problem
&lt;/h1&gt;

&lt;p&gt;We’ve all seen the demos. You give an LLM an API key, and it does something cool—moves a file, sends an email, maybe even approves a vendor payment.&lt;/p&gt;

&lt;p&gt;But as someone who works at the intersection of Tech and Banking, those demos keep me up at night. Because a perfectly obedient agent is a high-speed liability.&lt;/p&gt;

&lt;p&gt;If an agent doesn't have a deterministic way to say &lt;strong&gt;"No"&lt;/strong&gt; to a dangerous human mandate (or a rogue hallucination), it shouldn't be in production. &lt;/p&gt;

&lt;p&gt;That’s why I’m launching the &lt;strong&gt;Agent Governance Protocol (AGP)&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Gap: Probabilistic vs. Deterministic
&lt;/h2&gt;

&lt;p&gt;Most current AI safety is "probabilistic." We &lt;em&gt;hope&lt;/em&gt; the system prompt is strong enough. We &lt;em&gt;hope&lt;/em&gt; the model doesn't hallucinate a spend limit. &lt;/p&gt;

&lt;p&gt;But &lt;strong&gt;"Hope" is not a governance strategy.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AGP introduces the &lt;strong&gt;"Purple Line"&lt;/strong&gt;—a deterministic, fail-closed gate that sits between an agent's intent and its execution.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works: The 3-Domain Split
&lt;/h2&gt;

&lt;p&gt;AGP separates concerns into three independent trust domains. This prevents the "God-Agent" problem where a single process handles both the thinking and the permission.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;🗂 The Registry (Authority):&lt;/strong&gt; Where we handle identity, capabilities, and liability. Does this agent even have the &lt;em&gt;right&lt;/em&gt; to move money?&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;🧠 The Decision (Policy):&lt;/strong&gt; The engine that evaluates risk. If the agent wants to move $5k, but its limit is $1k, the protocol triggers a mandatory human-in-the-loop approval.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;⚡ The Execution (The Gate):&lt;/strong&gt; This is the "Fail-Closed" layer. It only permits an action if it receives a signed &lt;strong&gt;Action Envelope&lt;/strong&gt; containing:

&lt;ul&gt;
&lt;li&gt;The Task ID&lt;/li&gt;
&lt;li&gt;A valid Capability Token&lt;/li&gt;
&lt;li&gt;A Policy Clearance artifact&lt;/li&gt;
&lt;li&gt;A Human Approval (if risk is high)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Missing a signature? The tool call is rejected. Period.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The "Connective Tissue"
&lt;/h2&gt;

&lt;p&gt;AGP isn't here to replace your stack; it's here to govern it. It is designed to be the control plane for the emerging ecosystem:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;MCP (Model Context Protocol):&lt;/strong&gt; If MCP is the handshake between an agent and its tools, AGP is the contract that defines what those tools can actually do.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A2A (Agent-to-Agent):&lt;/strong&gt; AGP uses delegation chains to ensure that if a "Parent" agent delegates to a "Child" agent, the liability trail remains intact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AP2 / UCP:&lt;/strong&gt; For commerce and payments, AGP provides the transactional guardrails before the "Buy" button is ever hit.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Start Building
&lt;/h2&gt;

&lt;p&gt;We’ve launched with official SDKs for Python and TypeScript. You can wrap your tool calls in a governance cage with just a few lines of code.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;AGPClient&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@agp-protocol/sdk&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;AGPClient&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://your-agp-server&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;client_id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;finance-agent&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;client_secret&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;AGP_SECRET&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="c1"&gt;// The protocol handles the intent, policy check, and envelope sealing.&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;task&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;registry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createTask&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;decision&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaluate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;task&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;task_id&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="s2"&gt;`
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Join the Conversation&lt;br&gt;
We are building this as an open standard because governance shouldn't be a proprietary black box.&lt;/p&gt;

&lt;p&gt;I have a question for the community: How are you currently handling "Human-in-the-loop" for your agents? Is it a rubber stamp, or do you have a deterministic gate in place?&lt;/p&gt;

&lt;p&gt;Check out the spec and join the movement:&lt;br&gt;
👉 &lt;a href="https://www.agp-protocol.dev/" rel="noopener noreferrer"&gt;https://www.agp-protocol.dev/&lt;/a&gt;&lt;br&gt;
👉 &lt;a href="https://github.com/cunardai/agp-protocol" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>architecture</category>
      <category>security</category>
    </item>
  </channel>
</rss>
