<?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: Ankit</title>
    <description>The latest articles on DEV Community by Ankit (@ajhydra).</description>
    <link>https://dev.to/ajhydra</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%2F4047213%2Fee83be36-09c1-4331-abde-fb799880137d.png</url>
      <title>DEV Community: Ankit</title>
      <link>https://dev.to/ajhydra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ajhydra"/>
    <language>en</language>
    <item>
      <title>Why I built a Trust Control Plane for AI instead of another cost router</title>
      <dc:creator>Ankit</dc:creator>
      <pubDate>Sat, 25 Jul 2026 19:34:58 +0000</pubDate>
      <link>https://dev.to/ajhydra/why-i-built-a-trust-control-plane-for-ai-instead-of-another-cost-router-1bc5</link>
      <guid>https://dev.to/ajhydra/why-i-built-a-trust-control-plane-for-ai-instead-of-another-cost-router-1bc5</guid>
      <description>&lt;p&gt;Every AI router I tried optimized for one thing: &lt;strong&gt;cost&lt;/strong&gt;. None could answer the question I actually cared about: &lt;em&gt;how confident are we that this answer is correct, and what breaks if it's wrong?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So I built &lt;a href="https://github.com/ankit373/hydra" rel="noopener noreferrer"&gt;&lt;strong&gt;Hydra&lt;/strong&gt;&lt;/a&gt;, a local-first CLI I'm calling a &lt;strong&gt;Trust Control Plane&lt;/strong&gt;. Instead of routing purely on price, it routes on &lt;em&gt;calibrated confidence&lt;/em&gt;, on your own hardware.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Run &lt;code&gt;hydra probe&lt;/code&gt; and it discovers every model on your machine: CLI agents, API keys, and local servers. Then &lt;code&gt;hydra dispatch&lt;/code&gt; classifies a task and routes it down a cost ladder to the cheapest head that clears your bar.&lt;/p&gt;

&lt;p&gt;Three mechanisms drive the router:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost/quality Pareto routing.&lt;/strong&gt; Single models are dots on a cost/quality plot. The routed curve reaches equal or better quality at lower cost by picking the best head &lt;em&gt;per task&lt;/em&gt;, not one model for everything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optimal stopping (SPRT).&lt;/strong&gt; It polls heads until a &lt;a href="https://en.wikipedia.org/wiki/Sequential_probability_ratio_test" rel="noopener noreferrer"&gt;sequential probability ratio test&lt;/a&gt; crosses your target confidence (say &lt;code&gt;0.95&lt;/code&gt;), then stops early and banks the unspent heads.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Blast-radius awareness.&lt;/strong&gt; It reads the code dependency graph and uses percolation kappa (&lt;code&gt;k = &amp;lt;k^2&amp;gt; / &amp;lt;k&amp;gt;&lt;/code&gt;, the &lt;a href="https://en.wikipedia.org/wiki/Molloy%E2%80%93Reed_criterion" rel="noopener noreferrer"&gt;Molloy-Reed criterion&lt;/a&gt;) to raise the confidence bar for hub files with many transitive dependents. A change to a widely-imported file demands more certainty before any head touches it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Routing runs &lt;strong&gt;on-device with ~0ms overhead&lt;/strong&gt; and zero network calls to decide. Local Qwen sits at the bottom of the ladder as an always-on fallback, so a dispatch never hard-fails on a rate limit.&lt;/p&gt;

&lt;h2&gt;
  
  
  The bet
&lt;/h2&gt;

&lt;p&gt;Your spend, code, and policy should stay on your own hardware, and routing should be about &lt;strong&gt;trust&lt;/strong&gt;, not just price.&lt;/p&gt;

&lt;p&gt;It's early and MIT-licensed. I'd genuinely like to be poked at on two things: is &lt;strong&gt;SPRT&lt;/strong&gt; the right stopping rule for &lt;em&gt;"is this answer good enough,"&lt;/em&gt; and is &lt;strong&gt;kappa&lt;/strong&gt; a fair proxy for blast radius?&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Repo: &lt;a href="https://github.com/ankit373/hydra" rel="noopener noreferrer"&gt;github.com/ankit373/hydra&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Docs and demo: &lt;a href="https://hydra.uvansa.com/" rel="noopener noreferrer"&gt;hydra.uvansa.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>go</category>
    </item>
  </channel>
</rss>
