A DIY machine-first serverless AI swarm on decentralized infrastructure
Alright, I am not going to spell a whole lot out here but this is a rather dead simple deployment method for tying together the 'best' of edge computing, serverless deployment, Hive's L2 custom JSON features for AI state management and machine-first (no human in the loop) swarm intelligence.
The repository is here and I even included a worker (for the free Cloudflare deployment) that has the Hive L2 code in it.
EDIT: I decided to be nice and put the setup guide (along with how the LLM uses the system) in the comments here.
P.S. The 'llminux-live' system is just a slight rework of the 'llminux' system and it is not something that I built specifically for this implementation. Honestly, anyone looking at serious deployments should either build their own setup (to replace llminux) or rework it for their specific needs. It also uses some very old 'ai kernels' that do not have the 'alignment' mechanics (nor the features) that the later builds have.
Yet another EDIT to add some IPFS CID(s):
IPFS FILES
llminux-live-ipfs
CID:
bafybeia7wlnbgmb2tvzr53zn3n2u5tsvmwlwpuxdof42qjiiw2zilb3yjy
dist (llminux-live packed into a 'dist' folder)
CID:
bafybeicueyrxhtrtj3nhf5jbyiit4vejmv5sqoe2s4ytnkknwtibx622fq
Per usual: Use at your own risk.
Good luck and ciao for now.

Simple AI explanation of the setup is below.
The following guide can be found here.
The Sovereign Semantic Architecture: Comprehensive Deployment Guide
This guide details the deployment of a fully serverless, secure, and decentralized Ontological Operating System. By leveraging Cloudflare Workers and static edge hosting, this architecture allows you to run a powerful LLM-driven web application (
llminux-live) globally without exposing your private API credentials or relying on traditional backend servers.This system is divided into two primary components:
llminux-live): A pre-configured, static React application that serves as the graphical user interface (GUI) and terminal environment, routing all its intelligence requests through your secure proxy.Part 1: Architecture Overview
In a traditional setup, running an LLM-powered React application requires either exposing your API key in the client-side code (highly insecure) or maintaining a dedicated Node.js/Python backend server (costly and complex).
This architecture solves this by utilizing Edge Computing:
@google/genaiSDK insidellminux-liveis pre-configured to send requests to a custombaseUrlrather than directly to Google.GEMINI_API_KEYto the request before forwarding it to Google./ask-ghostendpoint, allowing external agents or scripts to query the OS directly via simple HTTP GET requests, completely bypassing the graphical interface.Part 2: Deploying the Secure Proxy (Cloudflare Worker)
This step sets up the middleman that will protect your API keys and route traffic.
Step 2.1: Create the Worker
llminux-proxy) and click Deploy.Step 2.2: Inject the Proxy Code
Delete the default
Hello Worldcode and paste the following script. This script handles CORS, proxies the official SDK, and provides the direct-access backdoor.Click Save and deploy. Note the URL of your worker (e.g.,
https://llminux-proxy.yourname.workers.dev).Step 2.3: Secure Your API Key
The worker requires your Google Gemini API key to function.
GEMINI_API_KEY.Part 3: Deploying the Frontend (
llminux-live)Because you are using the pre-configured
llminux-liverepository, the frontend is already mapped to route its SDK calls through a proxy structure. It only requires compilation and static hosting.Step 3.1: Build the Static Assets
Ensure you have Node.js installed on your local machine.
Clone or download your
llminux-liverepository to your local machine.Open a terminal inside the project directory.
Install the required dependencies:
Compile the project into static files:
(Note: This creates a
distfolder in your project directory containing the highly optimized HTML, CSS, and JS required to render the OS interface).If it fails to build try:
Step 3.2: Host on Cloudflare Pages
To maximize speed and keep the entire ecosystem on the same edge network, deploy the
distfolder to Cloudflare Pages.llminux-os).distfolder you generated in Step 3.1 into the upload box.Cloudflare will instantly provide you with a live, global URL (e.g.,
https://llminux-os.pages.dev).Part 4: System Verification & Usage
You now have a globally accessible, zero-cost Ontological Operating System. Verify the deployment using both access methods:
Method 1: The Graphical User Interface (Frontend)
https://llminux-os.pages.dev).llminuxterminal and UI should load instantly.ls -la /devordmesg./gemini-proxyendpoint, the Worker attaches your secretGEMINI_API_KEY, queries Google, and returns the hallucinated OS state back to your screen.Method 2: The Direct Machine-to-Machine Backdoor (API)
This method allows external scripts, automation pipelines, or other AI agents to query your OS without loading the React frontend.
curl./ask-ghostpath and aq=parameter containing your terminal command.https://llminux-proxy.yourname.workers.dev/ask-ghost?q=cat+/etc/os-releaseFor LLM(s):