cd /news/ai-agents/building-an-agent-native-open-source… · home › topics › ai-agents › article
[ARTICLE · art-178126] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Building an Agent-Native Open-Source Stack from Scratch: Web Platform, Zero-Dep CLI, Code-Mode MCP & Edge API

The KRONVEX project released an agent-native open-source stack under Apache-2.0, combining a web platform, a zero-dependency Node.js CLI, a Code Mode MCP server, and a Cloudflare Workers edge API. The kronvex-mcp server collapses tool discovery and querying into two read-only tools at roughly 650 tokens, which the team says is a 98.4% reduction from the 30,000–42,000+ input tokens typical MCP servers consume per turn. The CLI ships 33 capabilities with a ~55ms cold start, and the edge gateway serves 17 public /v1/* endpoints at 4–5ms execution time.

key takeaway

Collapsing MCP tool discovery and querying into two read-only Code Mode tools cut per-turn input tokens from 30,000–42,000+ to about 650, a 98.4% reduction, with a --mode classic escape hatch retained.

by read2 min views3 publishedNov 29, 2026

Most developer platforms treat the website, CLI, REST API, and AI agent layer as four separate afterthoughts. When we built KRONVEX, we designed all four surfaces together as one cohesive, zero-dependency open-source stack under Apache-2.0.

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.

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 (/robots.txt, /sitemap.xml, and /.well-known/mcp.json).

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

Every command supports both an interactive 24-bit TrueColor terminal UI for humans and deterministic --json / stream-json output for CI pipelines and AI agents:

curl -fsSL https://kronvex.org/cli/install.sh | sh

irm https://kronvex.org/cli/install.ps1 | iex

git clone https://github.com/KRONVEX/kronvex-cli.git
cd kronvex-cli && node bin/kronvex.mjs doctor

kronvex-mcp Standard MCP servers often expose 50–400 individual JSON tool schemas, burning 30,000–42,000+ input tokens on every turn.

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

Test the live stateless HTTP endpoint directly with curl:

curl -sS -X POST "https://mcp.kronvex.org/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Or connect it in one command:

claude mcp add --transport http kronvex https://mcp.kronvex.org/mcp

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

curl -sS https://api.kronvex.org/v1/health

All four repositories are open source under Apache-2.0 on github.com/KRONVEX. In our next post, we will walk through our agent skills architecture and production starter templates.

If you test any of the endpoints or CLI commands, let me know what breaks or what you would improve!

── more in #ai-agents 4 stories · sorted by recency
── more on @kronvex 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/building-an-agent-na…] indexed:0 read:2min 2026-11-29 · —