Introduction
Liate is India's first open-source sovereign AI agent framework. Class is an Agent. Agent is an API.
What is Liate?
Liate is India's first open-source, sovereign AI agent framework. Write a TypeScript class or a declarative liate.json — model, tools, memory, skills, and environment — and execute it anywhere: your laptop, a VPS, Cloudflare Workers, or Vercel Edge.
Class-as-an-Agent: Your TypeScript class IS the agent. Agent-is-an-API: Your agent IS instantly a REST & WebSocket endpoint. No Python. No pip lockfiles. No Docker required.
Core Pillars
🧬 Class-as-an-Agent
True OOP. class MyAgent extends LiateAgent — your class is your agent. Model, memory, tools, environment — all typed fields.
🌐 Agent-is-an-API
liate serve — your agent becomes a full REST & WebSocket server instantly. Backend as an Agent (BaaA).
🔌 Universal MCP
Native Model Context Protocol support. Connect any MCP server via Stdio, SSE, or Streamable HTTP in one line.
🛡️ Sovereign Data
Your keys, your database, your agents. 1-Click BYOC to Cloudflare & Vercel. Zero telemetry. Zero vendor lock-in.
Architecture Highlights
- Sub-Millisecond Execution: 0.87ms agent startup time
- Native MCP Host: Multi-transport support over standard I/O and SSE
- 100% Data Sovereignty: All keys and data remain local
Technology Stack
Bun
Native JavaScript Runtime
Hono v4
Edge HTTP Router
MCP SDK
Model Context Protocol
TypeScript
100% Type-Safe Architecture
Supported Environments
- Local Dev: macOS, Linux, Windows (Native / WSL)
- Edge: Cloudflare Workers, Vercel Edge, Deno, Node.js
- Cloud: Liate Cloud / BYOC (Bring Your Own Cloud)
The LiateSpec Standard (L-I-A-T-E)
EkaMantra Guarantee
One single declaration — class MyAgent extends LiateAgent or liate.json — specifies your model, memory, agent identity, MCP tools, and environment. Write once. Execute on your laptop, Cloudflare Workers, or Vercel Edge. No rewrites, no platform migration.
Open Source vs Sovereign Cloud
⚡ Liate — Open Source Framework
- ✅ Install instantly:
npx liate - ✅ Full REST API + WebSocket streaming
- ✅ 51 OOP Agent classes
- ✅ Self-hostable on any server
- ✅ Apache 2.0 — fork and extend freely
☁️ Liate Cloud — Sovereign BYOC
- 🚀 1-Click OAuth Deploy to your Cloudflare / Vercel
- 🚀 Dedicated LAPI/v1 public endpoint
- 🚀 0ms cold boot on V8 isolates
- 🚀 24/7 background crons & webhooks
- 🚀 Sarvam 105B Sovereign Wire integration
