Platform architecture

A resilient service, with clear boundaries.

The customer plane has no runtime dependency on the KING AI VPS. If the VPS, OpenClaw or Codex goes offline, accounts, billing, API access and previously verified intelligence remain available.

Failure-isolated architecture

Production Plane

Cloudflare Workers, D1, KV, R2, Queues, Durable Objects, Turnstile and Workers AI.

Intelligence Factory

VPS collection and analysis pipeline produces signed, immutable intelligence packages.

Policy Kernel

Deterministic authorization, budget, licensing and risk decisions never delegated to an LLM.

Survival Layers

Primary VPS → Edge AI → verified cache → deterministic rules.

Internet → kingai.work → Cloudflare ├ Identity / Billing / License ├ Agent Mesh / Policy Kernel ├ R2 Signed Intelligence └ Customer API VPS → OpenClaw → Codex / Research → signed candidate → Cloudflare verify → publish