Core Architecture
The 3-tier sovereign architecture of the Liate ecosystem: Open-source TypeScript runtime, 1-Click BYOC Edge, and Universal MCP.
The Liate Sovereign Architecture is designed around 3 decoupled layers that give developers total ownership of their AI agents, data, and compute:
┌─────────────────────────────────────────────────────────────────────────────┐
│ 1. THE SPECIFICATION LAYER │
│ Standard: Class extends LiateAgent / liate.json │
│ Model (L) • Memory (I) • Agent (A) • Tools (T) • Env (E) │
└──────────────────────────────────────┬──────────────────────────────────────┘
│
┌──────────────────┴──────────────────┐
▼ ▼
┌──────────────────────────────────────┐ ┌──────────────────────────────────────┐
│ 2. OPEN SOURCE LOCAL RUNTIME │ │ 3. SOVEREIGN 1-CLICK BYOC CLOUD │
│ ⚡ Liate (Bun + Hono Engine) │ │ ☁️ Cloudflare & Vercel Edge │
├──────────────────────────────────────┤ ├──────────────────────────────────────┤
│ • npx liate — zero install │ │ • 1-Click OAuth Deploy to your cloud │
│ • 0.87ms execution / ephemeral RAM │ │ • 0ms cold boot on V8 isolates │
│ • Class-as-an-Agent OOP (51 classes) │ │ • Dedicated LAPI/v1 public endpoint │
│ • Agent-is-an-API via liate serve │ │ • Zero infra cost │
└──────────────────────────────────────┘ └──────────────────────────────────────┘The 3 Architectural Layers
1. The Specification Standard (Class extends LiateAgent / liate.json)
- Single declarative document or TypeScript class defining AI models, prompts, tools, and procedural rules.
- 100% portable — runs identically on the local Liate runtime or on Cloudflare Workers / Vercel Edge.
- The same spec powers both
npx liate runlocally and your cloud deployment.
2. The Local Runtime: Liate Framework
- Built in TypeScript on top of the Bun runtime and Hono v4 edge router.
- Manages multi-turn ReAct loops, token optimization, and MCP child process lifecycles.
- 0.87ms execution with zero disk retention for full DPDP Act compliance.
- Installed with a single command:
npx liate
3. The Sovereign Cloud: 1-Click BYOC (Bring Your Own Cloud)
- Compute: Runs natively on the developer's own Cloudflare Workers or Vercel Edge free tier with 0ms cold starts.
- IDE Bridge: Controlled directly from Cursor, Windsurf, Claude Desktop, or Antigravity via
npx liateMCP Window. - Protocol: Agents run via
LAPI/v1REST and WebSocket endpoints on:7071(local) or public HTTPS (edge).
