Skip to main content

LIATE — Open Source OOP Framework for AI Agents

Where Classes Are AI Agents · From India, For India, Beyond India

L[LM] · I[ntegration] · A[gent] · T[ools] · E[nvironment]


Docs License: MIT Powered by Sarvam AI Startup Program Open in GitHub Codespaces PyPI: v0.2.1 Total Downloads Python 3.9+

PyPI liate   PyPI openliate

Agent Unified Module (AUM)   Core Runtime Engine: OM (Orchestration Module)


#1 Selected for Sarvam AI Startup Program 2026 IN — Sovereign Indic AI Infrastructure
#2 Selected for Exa.ai Startup Program (YC S21) — $2,500 Search API Credits
#3 Architecture Validation (NVIDIA Keynote 2026) — 1-to-1 Mapping to Jensen Huang's 5 Elements of an Agent
Built by OpenLiate — Open Source Backend Layer for AI Agents

"If Stripe did payments in 7 lines of code, why not AI Agents in 5 lines of code?
Class is an Agent. Agent is a Function. Function is an API.
Don't build AI agents. Integrate by parts."


[0] Installation

#1 Direct Package

pip install liate

#2 Alternative Package

pip install openliate

[1] Quickstart: Frontier Sovereign Agent (FrontierAgent / agentyaan)

Every agent is declared natively as a Python class inheriting from Liate. The 5 layers map 1-to-1 to NVIDIA CEO Jensen Huang's 5 foundational agent elements:

from liate import Liate

class FrontierAgent(Liate):
    # [L] Large Models: Native Routing across Sovereign & 65+ Frontier AI Models:
    # - "sarvam/sarvam-105b" (Sarvam AI Indic Foundation Model - Startup Program 2026)
    # - "sarvam/sarvam-prism" (Sarvam AI Nov 2026 Frontier Decision & System-1 LoRA Model ~44ms)
    # - "sarvam/sarvam-30b" | "sarvam/bulbul-v4" | "sarvam/saaras-v4"
    # - "gnani/prisma-v3" (Gnani AI STT 10+ Indic Languages) | "gnani/timbre-v3" (Gnani AI TTS Multilingual)
    # - "neon/gemini-2.5-pro" | "neon/gemini-2.5-flash" (Google Gemini Frontier Series)
    # - "neon/claude-3-7-sonnet" | "neon/claude-3-5-haiku" (Anthropic Frontier Series)
    # - 65+ Frontier AI Models via Neon AI Gateway with JEV System-One Heuristic Routing
    L = "sarvam/sarvam-105b"

    # [I] Integration & Memory Layer
    I = {"memory": "sessions/agentyaan"}

    # [A] Agent Harness Layer
    A = {
        "name": "agentyaan",
        "intent": "Frontier Sovereign AI Agent · Built on Liate · Selected for India's Sarvam AI Startup Program 2026",
        "maxSteps": 5
    }

    # [T] Tools & MCP Layer (Stdio uvx/npx & Remote SSE)
    T = {
        # Local Stdio MCP: Sarvam AI Indic STT, TTS & Document tools
        "sarvam_ai": {
            "command": "uvx",
            "args": ["sarvam-mcp"],
            "tools": ["*"]
        },
        # Remote Hosted MCP: Bolna AI (YC-backed Voice Agent & Telephony Orchestration)
        "bolna_voice": {
            "url": "https://mcp.bolna.ai/api/mcp",
            "headers": {
                "Authorization": "Bearer $BOLNA_API_KEY"
            },
            "tools": ["*"]
        }
    }

    # [E] Environment & Sandbox Layer
    E = {
        "SARVAM_API_KEY": "$SARVAM_API_KEY",
        "BOLNA_API_KEY": "$BOLNA_API_KEY",
        "GNANI_API_KEY": "$GNANI_API_KEY",
        "NEON_API_KEY": "$NEON_API_KEY"
    }

# Run the agent via the autonomous ReAct loop:
agent = FrontierAgent()
result = agent.run("Introduce Mission AgentYaan and explain why sovereign OOP AI agents matter for India.")
print(result.response)

[2] The 5 Layers (L · I · A · T · E)

#1 Industry Architecture Parity: NVIDIA Keynote 2026

In the NVIDIA Keynote 2026, NVIDIA CEO Jensen Huang defined the five foundational elements of an autonomous agent:

"AI Factories Produce Intelligence. Agents Put Intelligence to Work... Model, Knowledge, Tools, Sandbox, Harness — These are the five elements of an agent."

OpenLiate maps 1-to-1 to this 5-element architecture:

5 Elements of an Agent (NVIDIA Keynote 2026) Liate Layer (L · I · A · T · E) Production File Architecture Role
[1] Model [L] LLM src/layers/llm/model.ts Native provider routing for Sarvam AI & 65+ models
[2] Knowledge [I] Integration src/layers/integration/knowledge.ts Co-located session memory & vector knowledge context
[3] Harness [A] Agent src/layers/agent/harness.ts Autonomous ReAct reasoning loop & intent declaration
[4] Tools [T] Tools src/layers/tools/mcp.ts Anthropic Model Context Protocol (MCP v2) stdio & SSE
[5] Sandbox [E] Environment src/layers/environment/sandbox.ts Secrets management, API key masking & sandbox guardrails

#2 The 5 Layers Specification Matrix

Layer Component Description
L LLM / Large Models Native provider routing for Sarvam AI (105B Reasoning, Bulbul TTS, Saaras STT), Neon AI Gateway (63+ models), and OpenAI endpoints.
I Integration & Memory Co-located session memory, database state persistence, and knowledge context.
A Agent Harness Autonomous ReAct reasoning loop, intent declaration, and step guardrails.
T Tools & Actuators Model Context Protocol (Anthropic MCP v2 stdio uvx/npx & HTTP/SSE transports).
E Environment & Sandbox Secrets management, API key masking, and security guardrails.

[3] Real Production Ecosystem Traction

Registry Package Distribution Total Downloads Telemetry Source
PyPI openliate 945+ pypistats.org/packages/openliate (3,401+ with mirrors)
PyPI liate 729+ pypistats.org/packages/liate (2,500+ with mirrors)
npm openliate 1,148+ Direct Developer CLI & Runners
npm @openliate/liate 1,047+ TypeScript SDK Imports
Total Combined Ecosystem 8,096+ Total Installs Over 3,869+ Direct Human Installs (without_mirrors)


[5] License

MIT License © 2026 OpenLiate.

Metadata

Release files for liate 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for liate 0.2.1
File Size Uploaded Provenance Actions
liate-0.2.1.tar.gz 13.7 kB With provenance Details for liate-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for liate 0.2.1
File Interpreter ABI Platform Actions
liate-0.2.1-py3-none-any.whl Python 3 none any Details for liate-0.2.1-py3-none-any.whl

Total release size: 23.0 kB

Release files / liate-0.2.1.tar.gz

Download URL liate-0.2.1.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3d419e6ff18ae921f1522a62bb07808e6423e2971522f6c4e156033908156217
BLAKE2b-256 checksum
How to use checksums
bbe576eca1081866d0e85170882ff2948f9a1e09d50168e71c4fe0c328170377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / liate-0.2.1-py3-none-any.whl

Download URL liate-0.2.1-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31b329fe19fd4f87cbe95988fa9dcdb8274a9627e6b86a1d65cfb49f9e47b676
BLAKE2b-256 checksum
How to use checksums
3dd384b6063cdf5ed3d90521bdb377dab725f9cce1bb43410f03344b3ca6cd7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for liate 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for liate-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page