@openliate/liate 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
 
3
3
  # LIATE — Open Source OOP Framework for AI Agents
4
- ### Where Classes Are AI Agents · From India, For India, Beyond India 🇮🇳 🌍
4
+ ### Where Classes Are AI Agents · From India, For India, Beyond India
5
5
 
6
6
  `L[LM] · I[ntegration] · A[gent] · T[ools] · E[nvironment]`
7
7
 
@@ -12,11 +12,19 @@
12
12
  <a href="https://github.com/OpenLiate/Liate/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square" alt="License: MIT"></a>
13
13
  <a href="https://sarvam.ai"><img src="./assets/sarvam-badge.svg" alt="Powered by Sarvam AI Startup Program"></a>
14
14
  <a href="https://codespaces.new/OpenLiate/Liate"><img src="https://img.shields.io/badge/Codespaces-1--Click_Run-white?logo=github&logoColor=white&labelColor=black&style=flat-square" alt="Open in GitHub Codespaces"></a>
15
- <a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.5-white?labelColor=black&style=flat-square" alt="npm: v0.1.5"></a>
15
+ <a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.7-white?labelColor=black&style=flat-square" alt="npm: v0.1.7"></a>
16
+ <a href="https://pypi.org/project/liate/"><img src="https://img.shields.io/badge/pypi-v0.1.6-white?logo=pypi&logoColor=FFD43B&labelColor=black&style=flat-square" alt="PyPI: v0.1.6"></a>
17
+ <img src="https://img.shields.io/badge/Total_Downloads-1%2C495%2B-brightgreen?labelColor=black&style=flat-square" alt="Total Downloads">
16
18
  <img src="https://img.shields.io/badge/Bun-Supported-white?logo=bun&logoColor=white&labelColor=black&style=flat-square" alt="Bun">
17
19
  <img src="https://img.shields.io/badge/Node.js-Supported-white?logo=node.js&logoColor=5FA04E&labelColor=black&style=flat-square" alt="Node.js">
18
20
  </p>
19
21
 
22
+ <p align="center">
23
+ <a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/npm/dw/openliate?logo=npm&logoColor=CB3837&label=openliate&labelColor=black&color=white&style=flat-square" alt="npm openliate"></a>
24
+ &nbsp;
25
+ <a href="https://www.npmjs.com/package/@openliate/liate"><img src="https://img.shields.io/npm/dw/@openliate/liate?logo=npm&logoColor=CB3837&label=%40openliate%2Fliate&labelColor=black&color=white&style=flat-square" alt="npm @openliate/liate"></a>
26
+ </p>
27
+
20
28
  <p align="center">
21
29
  <a href="#aum-architecture"><img src="https://img.shields.io/badge/Agent_Architecture-AUM_(Agent_Unified_Module)-white?labelColor=black&style=flat-square" alt="Agent Unified Module (AUM)"></a>
22
30
  &nbsp;
@@ -36,21 +44,22 @@
36
44
 
37
45
  ---
38
46
 
39
- ## Installation
47
+ ## [0] Installation
40
48
 
41
49
  ```bash
42
- # Direct Package:
50
+ # #1 Direct Package:
43
51
  npm install openliate
44
- # or Org-Scoped Package:
52
+
53
+ # #2 Org-Scoped Package:
45
54
  npm install @openliate/liate
46
55
 
47
- # or via Bun:
56
+ # #3 via Bun:
48
57
  bun add openliate
49
58
  ```
50
59
 
51
60
  ---
52
61
 
53
- ## Quickstart: The Frontier Agent (`SovereignAgent`)
62
+ ## [1] Quickstart: Frontier Sovereign Agent (`FrontierAgent` / `agentyaan`)
54
63
 
55
64
  Every agent is declared natively as a TypeScript class inheriting from `liate`. The 5 layers map 1-to-1 to NVIDIA CEO Jensen Huang's 5 foundational agent elements:
56
65
 
@@ -59,33 +68,63 @@ import { liate } from "openliate";
59
68
  // or if using the org-scoped package:
60
69
  // import { liate } from "@openliate/liate";
61
70
 
62
- export class SovereignAgent extends liate {
63
- L = "sarvam/sarvam-105b"; // [L] Large Models Layer (Sarvam Indic 105B)
64
- I = { memory: "sessions/sovereign-agent" }; // [I] Integration & Memory Layer
65
- A = { // [A] Agent Harness Layer
71
+ export class FrontierAgent extends liate {
72
+ // [L] Large Models: Native Routing across Sovereign & 65+ Frontier AI Models:
73
+ // - "sarvam/sarvam-105b" (Sarvam AI Indic Foundation Model - Startup Program 2026)
74
+ // - "sarvam/sarvam-prism" (Sarvam AI Nov 2026 Frontier Decision & System-1 LoRA Model ~44ms)
75
+ // - "sarvam/sarvam-30b" | "sarvam/bulbul-v4" | "sarvam/saaras-v4"
76
+ // - "gnani/prisma-v3" (Gnani AI STT 10+ Indic Languages) | "gnani/timbre-v3" (Gnani AI TTS Multilingual)
77
+ // - "neon/gemini-2.5-pro" | "neon/gemini-2.5-flash" (Google Gemini Frontier Series)
78
+ // - "neon/claude-3-7-sonnet" | "neon/claude-3-5-haiku" (Anthropic Frontier Series)
79
+ // - 65+ Frontier AI Models via Neon AI Gateway with JEV System-One Heuristic Routing
80
+ L = "sarvam/sarvam-105b";
81
+
82
+ // [I] Integration & Memory Layer
83
+ I = { memory: "sessions/agentyaan" };
84
+
85
+ // [A] Agent Harness Layer
86
+ A = {
66
87
  name: "agentyaan",
67
- intent: "Autonomous Sovereign Indic Agent",
88
+ intent: "Frontier Sovereign AI Agent · Built on Liate · Selected for India's Sarvam AI Startup Program 2026",
68
89
  maxSteps: 5
69
90
  };
70
- T = { // [T] Tools & MCP Layer (Stdio & SSE)
71
- fetch: {
91
+
92
+ // [T] Tools & MCP Layer (Stdio uvx/npx & Remote SSE)
93
+ T = {
94
+ // Local Stdio MCP: Sarvam AI Indic STT, TTS & Document tools
95
+ sarvam_ai: {
72
96
  command: "uvx",
73
- args: ["mcp-server-fetch"],
97
+ args: ["sarvam-mcp"],
98
+ tools: ["*"]
99
+ },
100
+ // Remote Hosted MCP: Bolna AI (YC-backed Voice Agent & Telephony Orchestration)
101
+ bolna_voice: {
102
+ url: "https://mcp.bolna.ai/api/mcp",
103
+ headers: {
104
+ Authorization: "Bearer $BOLNA_API_KEY"
105
+ },
74
106
  tools: ["*"]
75
107
  }
76
108
  };
77
- E = { SARVAM_API_KEY: "$SARVAM_API_KEY" }; // [E] Environment & Sandbox Layer
109
+
110
+ // [E] Environment & Sandbox Layer
111
+ E = {
112
+ SARVAM_API_KEY: "$SARVAM_API_KEY",
113
+ BOLNA_API_KEY: "$BOLNA_API_KEY",
114
+ GNANI_API_KEY: "$GNANI_API_KEY",
115
+ NEON_API_KEY: "$NEON_API_KEY"
116
+ };
78
117
  }
79
118
 
80
119
  // Run the agent via the autonomous ReAct loop:
81
- const agent = new SovereignAgent();
82
- const result = await agent.run("Fetch https://openliate.tech and summarize.");
120
+ const agent = new FrontierAgent();
121
+ const result = await agent.run("Introduce Mission AgentYaan and explain why sovereign OOP AI agents matter for India.");
83
122
  console.log(result.text);
84
123
  ```
85
124
 
86
125
  ---
87
126
 
88
- ## Instant Run (Zero Install)
127
+ ## [2] Instant Run (Zero Install)
89
128
 
90
129
  Run any agent directly without installation using `npx`:
91
130
 
@@ -95,7 +134,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
95
134
 
96
135
  ---
97
136
 
98
- ## The 5 Layers (L · I · A · T · E)
137
+ ## [3] The 5 Layers (L · I · A · T · E)
99
138
 
100
139
  | Layer | Name | Description |
101
140
  | :--- | :--- | :--- |
@@ -107,7 +146,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
107
146
 
108
147
  ---
109
148
 
110
- ## CLI Reference
149
+ ## [4] CLI Reference
111
150
 
112
151
  | Command | Action |
113
152
  | :--- | :--- |
@@ -119,10 +158,22 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
119
158
 
120
159
  ---
121
160
 
161
+ ## [5] Real Production Ecosystem Traction
162
+
163
+ | Registry | Package Distribution | Total Downloads | Telemetry Source |
164
+ | :--- | :--- | :--- | :--- |
165
+ | **npm** | [`openliate`](https://www.npmjs.com/package/openliate) | **531+** | Direct Developer CLI & Runners |
166
+ | **npm** | [`@openliate/liate`](https://www.npmjs.com/package/@openliate/liate) | **270+** | TypeScript SDK Imports |
167
+ | **PyPI** | [`openliate`](https://pypi.org/project/openliate/) | **458+** | Python AI Pipelines |
168
+ | **PyPI** | [`liate`](https://pypi.org/project/liate/) | **236+** | Python AUM/OM Imports |
169
+ | **Total** | **Combined Ecosystem** | **1,495+ Total Installs** | **Over 800+ Direct Human Installs** |
170
+
171
+ ---
172
+
122
173
  <div align="center">
123
174
 
124
175
  **[Documentation](https://openliate.tech/docs)** · **[Website](https://openliate.tech)** · **[GitHub](https://github.com/OpenLiate/Liate)**
125
176
 
126
- Built with ❤️ from India, for India, and beyond India 🇮🇳 🌍
177
+ Built from India, for India, and beyond India
127
178
 
128
179
  </div>
package/README.npm.md CHANGED
@@ -1,7 +1,7 @@
1
1
  <div align="center">
2
2
 
3
3
  # LIATE — Open Source OOP Framework for AI Agents
4
- ### Where Classes Are AI Agents · From India, For India, Beyond India 🇮🇳 🌍
4
+ ### Where Classes Are AI Agents · From India, For India, Beyond India
5
5
 
6
6
  `L[LM] · I[ntegration] · A[gent] · T[ools] · E[nvironment]`
7
7
 
@@ -12,11 +12,19 @@
12
12
  <a href="https://github.com/OpenLiate/Liate/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-white?labelColor=black&style=flat-square" alt="License: MIT"></a>
13
13
  <a href="https://sarvam.ai"><img src="./assets/sarvam-badge.svg" alt="Powered by Sarvam AI Startup Program"></a>
14
14
  <a href="https://codespaces.new/OpenLiate/Liate"><img src="https://img.shields.io/badge/Codespaces-1--Click_Run-white?logo=github&logoColor=white&labelColor=black&style=flat-square" alt="Open in GitHub Codespaces"></a>
15
- <a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.5-white?labelColor=black&style=flat-square" alt="npm: v0.1.5"></a>
15
+ <a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/badge/npm-v0.1.7-white?labelColor=black&style=flat-square" alt="npm: v0.1.7"></a>
16
+ <a href="https://pypi.org/project/liate/"><img src="https://img.shields.io/badge/pypi-v0.1.6-white?logo=pypi&logoColor=FFD43B&labelColor=black&style=flat-square" alt="PyPI: v0.1.6"></a>
17
+ <img src="https://img.shields.io/badge/Total_Downloads-1%2C495%2B-brightgreen?labelColor=black&style=flat-square" alt="Total Downloads">
16
18
  <img src="https://img.shields.io/badge/Bun-Supported-white?logo=bun&logoColor=white&labelColor=black&style=flat-square" alt="Bun">
17
19
  <img src="https://img.shields.io/badge/Node.js-Supported-white?logo=node.js&logoColor=5FA04E&labelColor=black&style=flat-square" alt="Node.js">
18
20
  </p>
19
21
 
22
+ <p align="center">
23
+ <a href="https://www.npmjs.com/package/openliate"><img src="https://img.shields.io/npm/dw/openliate?logo=npm&logoColor=CB3837&label=openliate&labelColor=black&color=white&style=flat-square" alt="npm openliate"></a>
24
+ &nbsp;
25
+ <a href="https://www.npmjs.com/package/@openliate/liate"><img src="https://img.shields.io/npm/dw/@openliate/liate?logo=npm&logoColor=CB3837&label=%40openliate%2Fliate&labelColor=black&color=white&style=flat-square" alt="npm @openliate/liate"></a>
26
+ </p>
27
+
20
28
  <p align="center">
21
29
  <a href="#aum-architecture"><img src="https://img.shields.io/badge/Agent_Architecture-AUM_(Agent_Unified_Module)-white?labelColor=black&style=flat-square" alt="Agent Unified Module (AUM)"></a>
22
30
  &nbsp;
@@ -36,21 +44,22 @@
36
44
 
37
45
  ---
38
46
 
39
- ## Installation
47
+ ## [0] Installation
40
48
 
41
49
  ```bash
42
- # Direct Package:
50
+ # #1 Direct Package:
43
51
  npm install openliate
44
- # or Org-Scoped Package:
52
+
53
+ # #2 Org-Scoped Package:
45
54
  npm install @openliate/liate
46
55
 
47
- # or via Bun:
56
+ # #3 via Bun:
48
57
  bun add openliate
49
58
  ```
50
59
 
51
60
  ---
52
61
 
53
- ## Quickstart: The Frontier Agent (`SovereignAgent`)
62
+ ## [1] Quickstart: Frontier Sovereign Agent (`FrontierAgent` / `agentyaan`)
54
63
 
55
64
  Every agent is declared natively as a TypeScript class inheriting from `liate`. The 5 layers map 1-to-1 to NVIDIA CEO Jensen Huang's 5 foundational agent elements:
56
65
 
@@ -59,33 +68,63 @@ import { liate } from "openliate";
59
68
  // or if using the org-scoped package:
60
69
  // import { liate } from "@openliate/liate";
61
70
 
62
- export class SovereignAgent extends liate {
63
- L = "sarvam/sarvam-105b"; // [L] Large Models Layer (Sarvam Indic 105B)
64
- I = { memory: "sessions/sovereign-agent" }; // [I] Integration & Memory Layer
65
- A = { // [A] Agent Harness Layer
71
+ export class FrontierAgent extends liate {
72
+ // [L] Large Models: Native Routing across Sovereign & 65+ Frontier AI Models:
73
+ // - "sarvam/sarvam-105b" (Sarvam AI Indic Foundation Model - Startup Program 2026)
74
+ // - "sarvam/sarvam-prism" (Sarvam AI Nov 2026 Frontier Decision & System-1 LoRA Model ~44ms)
75
+ // - "sarvam/sarvam-30b" | "sarvam/bulbul-v4" | "sarvam/saaras-v4"
76
+ // - "gnani/prisma-v3" (Gnani AI STT 10+ Indic Languages) | "gnani/timbre-v3" (Gnani AI TTS Multilingual)
77
+ // - "neon/gemini-2.5-pro" | "neon/gemini-2.5-flash" (Google Gemini Frontier Series)
78
+ // - "neon/claude-3-7-sonnet" | "neon/claude-3-5-haiku" (Anthropic Frontier Series)
79
+ // - 65+ Frontier AI Models via Neon AI Gateway with JEV System-One Heuristic Routing
80
+ L = "sarvam/sarvam-105b";
81
+
82
+ // [I] Integration & Memory Layer
83
+ I = { memory: "sessions/agentyaan" };
84
+
85
+ // [A] Agent Harness Layer
86
+ A = {
66
87
  name: "agentyaan",
67
- intent: "Autonomous Sovereign Indic Agent",
88
+ intent: "Frontier Sovereign AI Agent · Built on Liate · Selected for India's Sarvam AI Startup Program 2026",
68
89
  maxSteps: 5
69
90
  };
70
- T = { // [T] Tools & MCP Layer (Stdio & SSE)
71
- fetch: {
91
+
92
+ // [T] Tools & MCP Layer (Stdio uvx/npx & Remote SSE)
93
+ T = {
94
+ // Local Stdio MCP: Sarvam AI Indic STT, TTS & Document tools
95
+ sarvam_ai: {
72
96
  command: "uvx",
73
- args: ["mcp-server-fetch"],
97
+ args: ["sarvam-mcp"],
98
+ tools: ["*"]
99
+ },
100
+ // Remote Hosted MCP: Bolna AI (YC-backed Voice Agent & Telephony Orchestration)
101
+ bolna_voice: {
102
+ url: "https://mcp.bolna.ai/api/mcp",
103
+ headers: {
104
+ Authorization: "Bearer $BOLNA_API_KEY"
105
+ },
74
106
  tools: ["*"]
75
107
  }
76
108
  };
77
- E = { SARVAM_API_KEY: "$SARVAM_API_KEY" }; // [E] Environment & Sandbox Layer
109
+
110
+ // [E] Environment & Sandbox Layer
111
+ E = {
112
+ SARVAM_API_KEY: "$SARVAM_API_KEY",
113
+ BOLNA_API_KEY: "$BOLNA_API_KEY",
114
+ GNANI_API_KEY: "$GNANI_API_KEY",
115
+ NEON_API_KEY: "$NEON_API_KEY"
116
+ };
78
117
  }
79
118
 
80
119
  // Run the agent via the autonomous ReAct loop:
81
- const agent = new SovereignAgent();
82
- const result = await agent.run("Fetch https://openliate.tech and summarize.");
120
+ const agent = new FrontierAgent();
121
+ const result = await agent.run("Introduce Mission AgentYaan and explain why sovereign OOP AI agents matter for India.");
83
122
  console.log(result.text);
84
123
  ```
85
124
 
86
125
  ---
87
126
 
88
- ## Instant Run (Zero Install)
127
+ ## [2] Instant Run (Zero Install)
89
128
 
90
129
  Run any agent directly without installation using `npx`:
91
130
 
@@ -95,7 +134,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
95
134
 
96
135
  ---
97
136
 
98
- ## The 5 Layers (L · I · A · T · E)
137
+ ## [3] The 5 Layers (L · I · A · T · E)
99
138
 
100
139
  | Layer | Name | Description |
101
140
  | :--- | :--- | :--- |
@@ -107,7 +146,7 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
107
146
 
108
147
  ---
109
148
 
110
- ## CLI Reference
149
+ ## [4] CLI Reference
111
150
 
112
151
  | Command | Action |
113
152
  | :--- | :--- |
@@ -119,10 +158,22 @@ npx openliate run agent.ts "Fetch https://openliate.tech and summarize"
119
158
 
120
159
  ---
121
160
 
161
+ ## [5] Real Production Ecosystem Traction
162
+
163
+ | Registry | Package Distribution | Total Downloads | Telemetry Source |
164
+ | :--- | :--- | :--- | :--- |
165
+ | **npm** | [`openliate`](https://www.npmjs.com/package/openliate) | **531+** | Direct Developer CLI & Runners |
166
+ | **npm** | [`@openliate/liate`](https://www.npmjs.com/package/@openliate/liate) | **270+** | TypeScript SDK Imports |
167
+ | **PyPI** | [`openliate`](https://pypi.org/project/openliate/) | **458+** | Python AI Pipelines |
168
+ | **PyPI** | [`liate`](https://pypi.org/project/liate/) | **236+** | Python AUM/OM Imports |
169
+ | **Total** | **Combined Ecosystem** | **1,495+ Total Installs** | **Over 800+ Direct Human Installs** |
170
+
171
+ ---
172
+
122
173
  <div align="center">
123
174
 
124
175
  **[Documentation](https://openliate.tech/docs)** · **[Website](https://openliate.tech)** · **[GitHub](https://github.com/OpenLiate/Liate)**
125
176
 
126
- Built with ❤️ from India, for India, and beyond India 🇮🇳 🌍
177
+ Built from India, for India, and beyond India
127
178
 
128
179
  </div>
package/dist/bin.js CHANGED
@@ -24721,7 +24721,7 @@ var init_resolver = __esm(() => {
24721
24721
  });
24722
24722
 
24723
24723
  // src/core/version.ts
24724
- var VERSION = "0.1.6";
24724
+ var VERSION = "0.1.7";
24725
24725
 
24726
24726
  // node_modules/hono/dist/http-exception.js
24727
24727
  var init_http_exception = () => {};
package/dist/liate.js CHANGED
@@ -39246,7 +39246,7 @@ class liate {
39246
39246
  }
39247
39247
  var Liate = liate;
39248
39248
  // src/core/version.ts
39249
- var VERSION = "0.1.6";
39249
+ var VERSION = "0.1.7";
39250
39250
  // src/core/uuid.ts
39251
39251
  import { randomUUID } from "node:crypto";
39252
39252
  function generateId(prefix) {
@@ -27734,7 +27734,7 @@ class liate {
27734
27734
  }
27735
27735
 
27736
27736
  // src/core/version.ts
27737
- var VERSION = "0.1.6";
27737
+ var VERSION = "0.1.7";
27738
27738
 
27739
27739
  // src/routes/skills.ts
27740
27740
  var skillsRouter = new Hono2;
@@ -27734,7 +27734,7 @@ class liate {
27734
27734
  }
27735
27735
 
27736
27736
  // src/core/version.ts
27737
- var VERSION = "0.1.6";
27737
+ var VERSION = "0.1.7";
27738
27738
 
27739
27739
  // src/routes/skills.ts
27740
27740
  var skillsRouter = new Hono2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openliate/liate",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "LIATE — Open Source OOP Framework for AI Agents · From India, For India, Beyond India",
5
5
  "type": "module",
6
6
  "main": "./dist/liate.js",
@@ -1,2 +1,2 @@
1
1
  // src/core/version.ts
2
- export const VERSION = "0.1.6";
2
+ export const VERSION = "0.1.7";