<?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: Frank Li</title>
    <description>The latest articles on DEV Community by Frank Li (@frank_li_7e8a3bdf6634b668).</description>
    <link>https://dev.to/frank_li_7e8a3bdf6634b668</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%2F4068317%2Ffc234269-ea8e-4511-b4b2-b4d06528fbb5.png</url>
      <title>DEV Community: Frank Li</title>
      <link>https://dev.to/frank_li_7e8a3bdf6634b668</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/frank_li_7e8a3bdf6634b668"/>
    <language>en</language>
    <item>
      <title>Inside the Somix Sovereign AI Stack</title>
      <dc:creator>Frank Li</dc:creator>
      <pubDate>Fri, 18 Sep 2026 16:35:23 +0000</pubDate>
      <link>https://dev.to/frank_li_7e8a3bdf6634b668/inside-the-somix-sovereign-ai-stack-5e0c</link>
      <guid>https://dev.to/frank_li_7e8a3bdf6634b668/inside-the-somix-sovereign-ai-stack-5e0c</guid>
      <description>&lt;h1&gt;
  
  
  Inside the Somix Sovereign AI Stack
&lt;/h1&gt;

&lt;h3&gt;
  
  
  How a neutral sovereign AI platform is actually wired — from gateway to settlement
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;Somix Engineering · September 2026&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;"Sovereign AI" has become one of the most used and least specified terms in the industry. In practice it usually means one of two things: train a national foundation model, or host someone else's model inside national borders. Both are partial answers, and neither addresses the harder question — &lt;strong&gt;who controls the system that sits between a nation's users, its data, and the models?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This post walks through how Somix answers that question in code and infrastructure: the layered stack, the MCP tool gateway, the metering design, and what end-to-end verification actually covered.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Sovereignty is an architecture problem, not a model problem
&lt;/h2&gt;

&lt;p&gt;A model is a dependency. A platform is an asset. If a country's entire AI capability is an API call to a foreign provider, it has no leverage over routing, retention, cost, or the agent layer that increasingly &lt;em&gt;is&lt;/em&gt; the product.&lt;/p&gt;

&lt;p&gt;Somix's design decision was to treat sovereignty as a property of the &lt;strong&gt;control plane&lt;/strong&gt;, not of the weights. Concretely, that means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The model layer is &lt;strong&gt;pluggable&lt;/strong&gt; — Somix's own model family, global commercial models, open-weight models, and nationally hosted models coexist and are selected per workload.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;data, compute and knowledge layers are local-first&lt;/strong&gt;, and are the parts a national deployment actually owns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security, governance and API&lt;/strong&gt; form an explicit layer rather than being implicit in a vendor's terms of service.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result is a stack where swapping a model provider is a configuration change, not a migration.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. The stack, layer by layer
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                         SOMIX Sovereign AI
                                  │
        ┌─────────────────────────┼─────────────────────────┐
        │                         │                         │
      Models                    Agents                Applications
        │                         │                         │
   Local Models            Government Agents       Government AI
   Global Models           Enterprise Agents      Enterprise AI
   Open Models             Industry Agents        Education AI
   Custom Models           Personal Agents        Industrial AI
        │                         │                         │
        └─────────────────────────┼─────────────────────────┘
                                  │
                           AI Platform Layer
                                  │
             ┌────────────────────┼────────────────────┐
             │                    │                    │
           Data                 Compute            Knowledge
             │                    │                    │
             └────────────────────┼────────────────────┘
                                  │
                    Security / Governance / API
                                  │
                       Local Sovereign Deployment
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The top layer is intentionally heterogeneous. &lt;strong&gt;Local, global, open and custom models&lt;/strong&gt; run side by side; agents are scoped by domain (government / enterprise / industry / personal) rather than being one generic assistant. The bottom three layers are what a sovereign deployment owns outright.&lt;/p&gt;

&lt;p&gt;This is also the anti-lock-in argument, stated structurally: the layers a nation must control are separated from the layers it can commodity.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. The MCP gateway: where industrial depth lives
&lt;/h2&gt;

&lt;p&gt;The most differentiated part of the platform is not the chat surface — it is the tool gateway. Somix exposes &lt;strong&gt;260+ engineering and manufacturing tools&lt;/strong&gt; through an MCP (Model Context Protocol) gateway, including:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Capability&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Material query&lt;/td&gt;
&lt;td&gt;Material property and selection lookup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CAD &amp;amp; DFM analysis&lt;/td&gt;
&lt;td&gt;Design for Manufacturability feedback on geometry&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compliance screening&lt;/td&gt;
&lt;td&gt;Regulatory and trade-compliance checks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Supplier search&lt;/td&gt;
&lt;td&gt;Sourcing and supplier discovery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CNC / manufacturing workflows&lt;/td&gt;
&lt;td&gt;Process planning and manufacturing orchestration&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The gateway is also where &lt;strong&gt;metering&lt;/strong&gt; happens. Rather than instrumenting every consumer application, Somix runs a proxy gateway that performs &lt;strong&gt;injected, prefix-based tiered pricing&lt;/strong&gt; — tool classes are mapped to pricing tiers, the gateway resolves the tier from the call prefix, and the platform settles accordingly. Because metering is centralized at the proxy, applications don't have to reimplement billing, and pricing policy can change without touching client code.&lt;/p&gt;

&lt;p&gt;Two properties of this design are worth calling out, because they are the ones that break in production:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Atomic settlement.&lt;/strong&gt; Credits are deducted atomically at the data layer, so concurrent calls cannot double-spend a balance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failure is free.&lt;/strong&gt; A failed upstream call does not consume credits. This sounds obvious; it is not, and it is the difference between a metered platform users trust and one they don't.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. Metering that survives contact with production
&lt;/h2&gt;

&lt;p&gt;Streaming is where naive metering systems lose money. If you charge an estimate up front and never reconcile, long generations are effectively subsidized.&lt;/p&gt;

&lt;p&gt;Somix settles &lt;strong&gt;streaming responses against actual token usage&lt;/strong&gt;: the stream is parsed for real usage data, a provisional hold is placed at request time, and the difference is refunded once true usage is known. Non-streaming paths are charged directly. Usage remains visible to the user through usage endpoints and APIs.&lt;/p&gt;

&lt;p&gt;The surrounding production engineering, in brief:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Edge routing with real-client-IP rate limiting&lt;/strong&gt; — the edge terminates and forwards verified client IPs; application rate limiting keys off the real address, so limits are neither globally shared nor trivially spoofable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity&lt;/strong&gt; — OIDC-based authentication, with separate signing keys per subsystem to contain blast radius.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data layer&lt;/strong&gt; — MongoDB for primary state, Redis for fast paths, Meilisearch for retrieval.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attribution&lt;/strong&gt; — server-side conversion events are emitted on payment success and linked back to the originating marketing session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Operations&lt;/strong&gt; — scheduled monitoring (container health, disk, certificate and gateway expiry), daily backups, and periodic cleanup jobs are automated rather than manual.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this is novel in isolation. The point is that it exists and is running, which is the actual bar for institutional buyers.&lt;/p&gt;




&lt;h2&gt;
  
  
  5. What "verified" means here
&lt;/h2&gt;

&lt;p&gt;The National Sovereign AI (NSA) experience layer at &lt;code&gt;somix.io/nsa&lt;/code&gt; was verified end to end:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Agent run lifecycle&lt;/strong&gt; — a multi-step run progresses through its execution state machine and reaches a completed state, with model routing and credit settlement operating together in the same run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Platform services&lt;/strong&gt; — providers, agents, tasks, store, projects, billing and knowledge endpoints all live and responding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Routing and directory&lt;/strong&gt; — model routing and tool directory endpoints operational.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interface&lt;/strong&gt; — conversation, knowledge, agents, billing and research surfaces render correctly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two clarifications, stated deliberately so the claims stay falsifiable:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The &lt;strong&gt;NSA experience layer ships its own built-in tool set&lt;/strong&gt;. This is distinct from the &lt;strong&gt;260+ tools&lt;/strong&gt; reachable through the Somix MCP gateway. They are different scopes and should not be conflated.&lt;/li&gt;
&lt;li&gt;Verification confirms the system &lt;strong&gt;runs and responds correctly&lt;/strong&gt;. It is not a claim about model quality benchmarks, nor about signed national deployments.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  6. Why neutrality is a feature
&lt;/h2&gt;

&lt;p&gt;For a national buyer, the largest risk is not capability — it is dependency. A platform that is economically or technically aligned with one model provider, one cloud, or one jurisdiction will, over a ten-year horizon, make decisions that are not the buyer's.&lt;/p&gt;

&lt;p&gt;Somix's neutrality is structural: models are pluggable, deployment is local, governance is an explicit layer, and the tool gateway is protocol-based rather than proprietary. The commercial model is therefore compatible with the buyer's sovereignty rather than in tension with it.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. What comes next
&lt;/h2&gt;

&lt;p&gt;The near-term roadmap follows the partner model: deepen national deployments with governments, telecom operators, enterprises and universities, starting from Thailand, and work toward interconnecting sovereign deployments into a trusted network rather than a set of isolated national stacks.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;About Somix&lt;/strong&gt; — Somix is The Sovereign AI Company, building a neutral, layered sovereign AI platform. Current product foundation: a unified AI workspace with multiple models, 260+ engineering and manufacturing tools, a developer API, and the Somix Prime / Swift / Code model family.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Links:&lt;/strong&gt; &lt;a href="https://somix.io" rel="noopener noreferrer"&gt;https://somix.io&lt;/a&gt; ｜ &lt;a href="https://somix.io/nsa/" rel="noopener noreferrer"&gt;https://somix.io/nsa/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>sovereignty</category>
      <category>mcp</category>
    </item>
    <item>
      <title>Meet Madeinair: AI-Powered Global Manufacturing, From Idea to Part</title>
      <dc:creator>Frank Li</dc:creator>
      <pubDate>Sun, 09 Aug 2026 17:37:10 +0000</pubDate>
      <link>https://dev.to/frank_li_7e8a3bdf6634b668/meet-madeinair-ai-powered-global-manufacturing-from-idea-to-part-2f68</link>
      <guid>https://dev.to/frank_li_7e8a3bdf6634b668/meet-madeinair-ai-powered-global-manufacturing-from-idea-to-part-2f68</guid>
      <description>&lt;h1&gt;
  
  
  Meet Madeinair: AI-Powered Global Manufacturing, From Idea to Part
&lt;/h1&gt;

&lt;p&gt;Turning a concept into a real, high-fidelity physical part shouldn't mean juggling a dozen vendors, waiting weeks, and guessing at cost. &lt;strong&gt;Madeinair&lt;/strong&gt; is the AI-native manufacturing platform that compresses the entire path from idea to production-ready part into a single, intelligent workspace.&lt;/p&gt;

&lt;h2&gt;
  
  
  One workspace for every process
&lt;/h2&gt;

&lt;p&gt;Whether you need &lt;strong&gt;AI 3D printing&lt;/strong&gt;, &lt;strong&gt;CNC machining&lt;/strong&gt;, &lt;strong&gt;PCB fabrication&lt;/strong&gt;, or &lt;strong&gt;mold making&lt;/strong&gt;, Madeinair brings the full stack of modern manufacturing under one roof — backed by AI that understands design, materials, and process from the first click.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI does the heavy lifting
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Design validation&lt;/strong&gt; — catch issues before they cost you a build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Process selection&lt;/strong&gt; — the platform recommends the right method and material for your part.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;DFM feedback&lt;/strong&gt; — manufacturability insights delivered instantly, not after a back-and-forth email thread.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instant quoting&lt;/strong&gt; — transparent pricing the moment your file is uploaded.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Premium quality, real speed
&lt;/h2&gt;

&lt;p&gt;Madeinair is built for teams who refuse to choose between quality and turnaround. Expect tight tolerances, refined surface finishes, and a workflow that moves at the speed of your ideas.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built for builders
&lt;/h2&gt;

&lt;p&gt;Hardware startups, product designers, mechanical engineers, and makers use Madeinair to go from CAD to physical prototype — and from prototype to production — without leaving the platform.&lt;/p&gt;

&lt;p&gt;**Explore Madeinair → &lt;a href="https://madeinair.com" rel="noopener noreferrer"&gt;https://madeinair.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Madeinair — AI-Powered Global Manufacturing.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>manufacturing</category>
      <category>3dprinting</category>
      <category>ai</category>
      <category>prototyping</category>
    </item>
  </channel>
</rss>
