<?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: khalid naami</title>
    <description>The latest articles on DEV Community by khalid naami (@khalidnaami).</description>
    <link>https://dev.to/khalidnaami</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%2F4272110%2F0b264391-00bb-4160-8776-1f2f1ebaa3da.jpg</url>
      <title>DEV Community: khalid naami</title>
      <link>https://dev.to/khalidnaami</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/khalidnaami"/>
    <language>en</language>
    <item>
      <title>Building an Agent-Native Open-Source Stack from Scratch: Web Platform, Zero-Dep CLI, Code-Mode MCP &amp; Edge API</title>
      <dc:creator>khalid naami</dc:creator>
      <pubDate>Sun, 29 Nov 2026 13:05:55 +0000</pubDate>
      <link>https://dev.to/kronvex/building-an-agent-native-open-source-stack-from-scratch-web-platform-zero-dep-cli-code-mode-mcp-4gbc</link>
      <guid>https://dev.to/kronvex/building-an-agent-native-open-source-stack-from-scratch-web-platform-zero-dep-cli-code-mode-mcp-4gbc</guid>
      <description>&lt;p&gt;Most developer platforms treat the website, CLI, REST API, and AI agent layer as four separate afterthoughts. When we built &lt;strong&gt;&lt;a href="https://kronvex.org" rel="noopener noreferrer"&gt;KRONVEX&lt;/a&gt;&lt;/strong&gt;, we designed all four surfaces together as one cohesive, zero-dependency open-source stack under &lt;strong&gt;Apache-2.0&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is how the four pieces fit together and how you can test every surface live in seconds without creating an account or API key.&lt;/p&gt;




&lt;h3&gt;
  
  
  1. The Web Platform (&lt;a href="https://kronvex.org" rel="noopener noreferrer"&gt;kronvex.org&lt;/a&gt;)
&lt;/h3&gt;

&lt;p&gt;Our public web platform serves as the visual hub, interactive documentation, and live playgrounds for the CLI, REST API, and MCP server, alongside machine-readable discovery endpoints (&lt;code&gt;/robots.txt&lt;/code&gt;, &lt;code&gt;/sitemap.xml&lt;/code&gt;, and &lt;code&gt;/.well-known/mcp.json&lt;/code&gt;).&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live Hub: &lt;a href="https://kronvex.org" rel="noopener noreferrer"&gt;https://kronvex.org&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Interactive API Explorer: &lt;a href="https://kronvex.org/api-docs" rel="noopener noreferrer"&gt;https://kronvex.org/api-docs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Interactive MCP Playground: &lt;a href="https://kronvex.org/mcp" rel="noopener noreferrer"&gt;https://kronvex.org/mcp&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  2. Zero-Dependency Agent-Native CLI (&lt;a href="https://github.com/KRONVEX/kronvex-cli" rel="noopener noreferrer"&gt;&lt;code&gt;kronvex-cli&lt;/code&gt;&lt;/a&gt;)
&lt;/h3&gt;

&lt;p&gt;Pure Node.js (&lt;code&gt;&amp;gt;=18&lt;/code&gt;), &lt;strong&gt;0 npm dependencies&lt;/strong&gt;, and &lt;strong&gt;&lt;code&gt;~55ms&lt;/code&gt; cold start&lt;/strong&gt;. It ships 33 capabilities — including a regex secret-leak scanner with CI exit codes (&lt;code&gt;scan&lt;/code&gt;), a live HTTP security + SEO/GEO auditor (&lt;code&gt;audit&lt;/code&gt;), SHA-256 verification, and local Ollama hardware benchmarking.&lt;/p&gt;

&lt;p&gt;Every command supports both an interactive 24-bit TrueColor terminal UI for humans and deterministic &lt;code&gt;--json&lt;/code&gt; / &lt;code&gt;stream-json&lt;/code&gt; output for CI pipelines and AI agents:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# macOS / Linux&lt;/span&gt;
curl -fsSL https://kronvex.org/cli/install.sh &lt;span class="o"&gt;|&lt;/span&gt; sh

&lt;span class="c"&gt;# Windows (PowerShell)&lt;/span&gt;
irm https://kronvex.org/cli/install.ps1 &lt;span class="o"&gt;|&lt;/span&gt; iex

&lt;span class="c"&gt;# Or run straight from source&lt;/span&gt;
git clone https://github.com/KRONVEX/kronvex-cli.git
&lt;span class="nb"&gt;cd&lt;/span&gt; kronvex-cli &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; node bin/kronvex.mjs doctor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  3. Code-Mode MCP Server (&lt;a href="https://github.com/KRONVEX/kronvex-mcp" rel="noopener noreferrer"&gt;&lt;code&gt;kronvex-mcp&lt;/code&gt;&lt;/a&gt;)
&lt;/h3&gt;

&lt;p&gt;Standard MCP servers often expose 50–400 individual JSON tool schemas, burning &lt;strong&gt;30,000–42,000+ input tokens&lt;/strong&gt; on every turn.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;kronvex-mcp&lt;/code&gt;&lt;/strong&gt; uses &lt;strong&gt;Code Mode&lt;/strong&gt; to collapse discovery and querying into &lt;strong&gt;2 read-only tools (~650 tokens — a 98.4% reduction)&lt;/strong&gt;, while keeping a &lt;code&gt;--mode classic&lt;/code&gt; escape hatch and local zero-dependency &lt;code&gt;stdio&lt;/code&gt; support.&lt;/p&gt;

&lt;p&gt;Test the live stateless HTTP endpoint directly with &lt;code&gt;curl&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -sS -X POST &lt;span class="s2"&gt;"https://mcp.kronvex.org/mcp"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{"jsonrpc":"2.0","id":1,"method":"tools/list"}'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or connect it in one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http kronvex https://mcp.kronvex.org/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  4. Unified Edge REST API (&lt;a href="https://github.com/KRONVEX/kronvex-api" rel="noopener noreferrer"&gt;&lt;code&gt;kronvex-api&lt;/code&gt;&lt;/a&gt;)
&lt;/h3&gt;

&lt;p&gt;A single zero-dependency &lt;strong&gt;Cloudflare Workers&lt;/strong&gt; gateway powers both &lt;code&gt;api.kronvex.org&lt;/code&gt; and &lt;code&gt;mcp.kronvex.org&lt;/code&gt; at &lt;strong&gt;4–5ms edge execution time&lt;/strong&gt;, exposing 17 public &lt;code&gt;/v1/*&lt;/code&gt; endpoints backed by formal &lt;strong&gt;OpenAPI 3.1.0&lt;/strong&gt; and &lt;strong&gt;Postman v2.1&lt;/strong&gt; contracts.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -sS https://api.kronvex.org/v1/health
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  What's Next
&lt;/h3&gt;

&lt;p&gt;All four repositories are open source under &lt;strong&gt;Apache-2.0&lt;/strong&gt; on &lt;a href="https://github.com/KRONVEX" rel="noopener noreferrer"&gt;github.com/KRONVEX&lt;/a&gt;. In our next post, we will walk through our agent skills architecture and production starter templates.&lt;/p&gt;

&lt;p&gt;If you test any of the endpoints or CLI commands, let me know what breaks or what you would improve!&lt;/p&gt;

</description>
      <category>agents</category>
      <category>cli</category>
      <category>mcp</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
