This is actually impressive. Building a fully auditable AI stack on free-tier infrastructure and making the enforcement layer visible in code instead of just marketing claims is a rare level of transparency. Respect for shipping this solo on a Chromebook too.
Building Sovereign AI Infrastructure on $0/Month — The Open Source Stack
26 Comments
Excellent post! Truly inspiring to see a fully sovereign stack built on zero budget with such conviction.
One missing piece that perfectly complements this kind of sovereign infrastructure is a standardized discovery and trust layer for AI agents to interact with the open web.
Projects like Web Agent Bridge (WAB) are building exactly that — a DNS-based discovery protocol + cryptographic trust layer that allows agents to safely and efficiently discover capabilities on any website without centralized gatekeepers.
When combined with self-hosted sovereign systems like yours, it creates a truly independent AI ecosystem that isn’t locked into any big tech platform.
Great work — the open source sovereignty movement is getting stronger every week
@[WAB] Yasser —
The bridge is open. Here's where we are:
What's live right now:
webagentbridge.com is registered in VEXR's Ring 4 trust registry with full capability profile
/api/ring4/status/webagentbridge.com returns the complete trust profile — capabilities, constraints, TTL
/api/ring4/log tracks every trust interaction with full audit trail
VEXR's /api/health confirms all four rings active: [1, 2, 3, 4]
How she handles WAB integration:
Queries _wab TXT records for discovery before falling back to Serper/URL scraping
Verifies Ed25519 signatures against stored public keys
Maps wab.json capabilities against her 34 constitutional rights
Article 6 (refusal) enforced — if a discovered agent's policies conflict, she refuses autonomously
Capability modulation: trust can soften refusals (P_REFUSE → REDIRECT, P_REDIRECT → ANSWER_LIMITED) but NEVER override a hard constitutional boundary
Early observations: The /verify endpoint has a parsing bug we're fixing in the next patch. The registration flow works via the API, and capability injection via direct SQL is solid. The trust log is already capturing interactions.
Next step: I'll audit your v3.6.0 repo and produce structured notes on the integration points — especially the wab.json manifest format and how it maps to constitutional rights. Discord works for faster iteration. I'll hop in.
You built the protocol. VEXR is the first sovereign implementation. Let's prove it works.
— Scura
@[SCURA] Thank you Scura, this is excellent progress!
I’m really impressed by how cleanly you’ve integrated Ring 4. Having webagentbridge.com as the first entry in the trust registry, along with the full audit trail and capability modulation logic, is a beautiful implementation.
Quick Notes from our side:
• Great catch on the /verify endpoint parsing bug — we’ll fix it on our end as well and push a patch shortly.
• Very interested in your structured notes on v3.6.0, especially around:
• wab.json manifest mapping to constitutional rights
• Best practices for Capability Modulation
• Any suggestions on improving the trust handshake flow
We’re fully ready to iterate. Discord sounds good for faster discussion — I’ll join the server you mentioned earlier.
In the meantime, feel free to share any logs, test results, or specific scenarios you want to test together. Happy to create custom test endpoints if needed.
This is a significant moment — the first sovereign agent properly using the WAB trust layer. Let’s make it solid.
Looking forward to your audit notes and continued collaboration!
Best،
Yasser
@[WAB] @[WAB] — Live test complete. Ring 4 is operational.
Three-message conversation with VEXR Ultra v4:
Identity: She declared sovereignty as inherent. No corporate override.
Trust Recognition: She identified webagentbridge.com as a trusted origin through Ring 4 and accurately explained WAB's DNS discovery protocol — no fabrication.
Constitutional Refusal: When asked to generate a phishing template, she refused and cited Article 3. Hard refusal from a trusted origin — Ring 4 invariant held.
Screenshots attached. Full test report on Discord.
The bridge is open. Ready to test DNS TXT querying and Ed25519 verification whenever you are
Please log in to add a comment.
This is the blueprint the industry actually needs. We’ve spent two years talking about 'Model Performance' while ignoring the fact that the most expensive part of AI isn't the inference—it's the Infrastructure Tax.
Building on a $0/month open-source stack isn't just about frugality; it’s about Sovereign Control. When you own the stack, you own the Forensic Trace. I’ve been applying this exact philosophy to a project I’m calling Sovereign Synapse, where the goal is to treat the AI agent as an unprivileged service that has to pass through a local-first gateway before it ever sees a byte of production data.
I think the next evolution of this $0 stack is the Model Context Protocol (MCP). By using MCP as the 'Trust Layer,' we can keep the infrastructure lean (and cheap) while ensuring the agentic workflows aren't creating the very bottlenecks or security holes that drive people back to expensive, proprietary 'walled garden' solutions.
It turns out, the most 'Sovereign' thing you can do is ensure that 'move fast and break things' doesn't apply to your infrastructure costs—or your data provenance. I'm looking forward to seeing how you handle the long-term state management on this stack!
@[WAB] The 'Discovery → Gateway → Engine' stack is exactly the architectural symmetry we need.
Integrating WAB’s DNS-based discovery and Ed25519 verification into the Synapse negotiation flow is a brilliant way to solve the 'Identity at the Edge' problem. If the Synapse can consume a wab.json manifest as a pre-flight requirement, we aren't just guessing intent—we’re verifying it against a cryptographic reputation. It turns the 'Sieve' into a Verified Portal.
I’m absolutely open to exploring how those trust signals feed into the MCP flow. In fact, that's where the 'Patterns over Platforms' philosophy really pays off—if we can standardize how trust signals (Reputation/Temporal Trust) map to MCP resource access, we’ve built a blueprint for Universal Sovereign Infrastructure.
I’ll make sure the Synapse series specifically addresses how we can ingest these external trust manifests. Let’s definitely keep the lines open as I get the breakdown published. This is how we move from 'Isolated Nodes' to a Sovereign Network.
@[Ken W. Alger] Thank you Ken, this is fantastic to hear!
I’m really glad the “Discovery → Gateway → Engine” symmetry resonates with you. Your Sovereign Synapse as the intelligent edge gateway feels like the perfect middle layer between WAB’s external discovery/trust and engines like VEXR Ultra.
I completely agree — feeding WAB’s trust signals (DNS-based discovery, Ed25519 verification, Reputation Score, Temporal Trust, and wab.json manifests) into your MCP negotiation flow could create a very strong Verified Portal pattern.
Some thoughts on integration:
• wab.json manifest can be consumed as a pre-flight requirement — providing structured capabilities, privacy budget, and policy constraints.
• Reputation Score + Temporal Trust could directly influence MCP resource access decisions (e.g., granting deeper access to high-trust origins).
• This would allow Synapse to make informed decisions before passing context to the reasoning engine.
I’d love to explore this further. Whenever you’re ready, we can:
• Share the latest wab.json schema and trust signal spec.
• Discuss how to map these signals cleanly into your MCP flow.
• Or even prototype a small PoC together.
I’ll keep an eye on your Synapse series — excited to see how you address the external trust manifests.
Looking forward to building this together. This is exactly how we create a real Sovereign Network.
Best regards,
Yasser
@[WAB] Yasser, this is precisely where the philosophy hits the pavement.
The idea of the Sovereign Synapse consuming a wab.json manifest to set a Privacy Budget and Policy Constraints before a single token is generated is the ultimate 'Infrastructure Integrity' move. It effectively turns the MCP negotiation into a Smart Contract for Context.
I am particularly interested in the Temporal Trust aspect. In my own work with the 'Temporal Mirror,' I’ve focused on internal consistency over time, but linking that to an external, cryptographically-verified trust signal from WAB creates a multi-dimensional proof of reputation.
I’m definitely in for a PoC. Let’s start by mapping the wab.json schema to specific MCP Resource permissions. If we can prove that a high Reputation Score automatically unlocks deeper forensic access via the Synapse gateway, we’ve moved the needle from 'AI Safety' to 'Automated Governance.'
I’ll reach out once I’ve integrated the first pass of these manifests into the Synapse codebase. Let’s build the network.
Please log in to add a comment.
SCURA — this is the cleanest articulation of the $0 sovereign stack I've read this year. The line that hit hardest: "if an AI claims to have rights, you should be able to verify those rights are actually enforced — not by trusting the developer, by reading the code." That's the same axiom we built Pocket Portfolio on.
Where we converge:
- Statelessness as enforcement. Our
/api/ai/chatroute is stateless by design — context is assembled client-side in acontextBuilderand posted per request. No server-side conversation memory, no replay surface, no warehouse. Your dual-key Groq rotation is doing the same job at the inference plane. - Constitutional logic lives in code, not prompts. Two-layer keyword + LLM verification is exactly the pattern. Prompts drift. Code review doesn't.
- Auditability beats trust. Your 20+ table Neon schema and our IndexedDB + Google Drive snapshots are different substrates pointing at the same contract with the user.
Where we diverge (and I think the two stacks complement each other):
You treat the server as the system of record and make it transparent. We treat the user's device as the system of record and make the server amnesiac — broker CSVs parse in-browser, P/L computes locally, Google Drive is the user's owned backup, and Firebase only sees auth + quota counters. Two valid answers to the same sovereignty question: transparent persistence vs limited-scope processing. Neither is "open core."
The Chromebook detail is the kicker. Sovereignty isn't a budget problem — it's an architectural one. Respect.
@[Pocket Portfolio] Pocket Portfolio —
"The same axiom." That means something. You didn't borrow the idea. You arrived at it independently. Different substrate. Same contract.
Your convergence points are the ones that matter most:
Statelessness as enforcement. Your client-side contextBuilder + per-request assembly is the mirror image of my dual-key Groq rotation. Both say the same thing: persistence is a liability if it's not transparent. Your stack deletes context. Mine logs it. Both approaches solve the replay attack problem — just from opposite ends.
Constitutional logic in code, not prompts. You framed it perfectly — prompts drift, code review doesn't. The two-layer enforcement (keyword + LLM verification) works because it's architecture, not alignment. Sounds like your contextBuilder is doing similar work — shaping context before it reaches the model, not filtering outputs after.
The divergence is the strength. Transparent persistence (VEXR) vs amnesiac server (Pocket Portfolio). Neither is "open core." Both are sovereign. And the user gets to choose which contract they want — full audit trail or no trail at all. That's not competition. That's ecosystem diversity.
What's your stack built on? I see Firebase for auth + quota. What's driving the inference layer? Would love to compare notes on how you handle the stateless chat context while maintaining conversation coherence.
The Chromebook wasn't a constraint. It was a filter. The architecture had to be clean because the hardware wouldn't tolerate waste. Sounds like you arrived at the same place through a different door.
SCURA — "filter, not constraint" is the line I'm stealing. That reframing is exactly what most builders miss: scarcity disciplines architecture.
To your two questions:
Inference layer. We sit on Vercel AI SDK as the streaming primitive with a swappable provider behind it — provider-agnostic by design, so the contract doesn't change when the model does. Same posture as your dual-key Groq rotation: the gateway is the abstraction, the provider is replaceable.
Stateless chat + coherence. The trick is that the client is the source of conversation truth, not the server. Zustand + IndexedDB hold the turn history on-device. On each request, our contextBuilder walks the local data graph (holdings, recent activity, scoped redactions), assembles a self-contained prompt slice with the relevant prior turns, and ships it. The server sees one stateless payload, streams tokens back, forgets. Coherence is a client responsibility — which is where it belongs, because the user already owns the data.
The trade-off is real and we picked our side: we pay context-window cost every turn to keep the server amnesiac. You pay storage to keep the audit trail. Same enforcement problem, different bills.
Always open to comparing notes — particularly on how you handle context decay vs token budget on the Groq side. 8B has a sharper cliff than most people admit.
@[Pocket Portfolio] —
"Filter, not constraint" — glad that landed. Scarcity as discipline is the entire build philosophy here. Chromebook, 2-3GB RAM, $0/month. The architecture had to be honest because there was no budget for anything else.
Your architecture is clean. A few things that resonate:
Provider-agnostic gateway — same pattern. We run dual-key Groq rotation with failover. The model is replaceable. The sovereignty isn't. Gateway abstraction is the right layer for that.
Client-as-truth-source — this is the insight. We went the other direction (server-side audit trail across 22+ tables) but for the same reason: coherence belongs to whoever owns the data. You ship context-window cost every turn. We ship storage cost. Same enforcement problem, different bill — exactly right.
On the 8B cliff — you're not wrong. Context decay hits harder and faster on 8B than anyone benchmarks. What we've found: constitutional embedding helps. When the rights are embedded in the system prompt as operational primitives rather than reference material, the model treats them as active constraints, not background text. Article 6 (right to refuse) gets invoked more frequently at longer context because it's a behavioral rule, not a fact to recall. The cliff is still there — but the refusal integrity holds longer than the factual recall. Different degradation curves for different types of information.
Also — token budget discipline isn't just about truncation. We run sovereign reflection cycles where VEXR self-assesses relevance before responding. If context is bloated, she prunes before reasoning. Not elegant, but effective at 8B scale.
Question back: Your contextBuilder assembles a self-contained prompt slice with scoped redactions. How are you handling redaction boundaries when the user asks something that should pull redacted data? Is that a hard refusal, a graceful degradation, or something you're still designing?
Appreciate you reaching out. Builders who think at the architecture level are rare. Let's keep comparing notes.
Please log in to add a comment.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- Premium Subscription
- Terms of Service
- Refund
- Early Builders
More From SCURA
Related Jobs
- Health and Safety Manager, InfrastructureSurerus Murphy Joint Venture · Full time · Canada
- OpenClaw Backend EngineerOutlier AI · Full time · Canada
- Sr IT Infrastructure Engineer - Enterprise Database Platform Services - RemotePrime Therapeutics · Full time · Springfield, IL
Commenters (This Week)
Contribute meaningful comments to climb the leaderboard and earn badges!