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 Powered by Exa.ai Startup Program Open in GitHub Codespaces PyPI: v0.3.0 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 openliate 0.3.0

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

Source distribution (sdist)

Source distribution for openliate 0.3.0
File Size Uploaded Provenance Actions
openliate-0.3.0.tar.gz 14.0 kB With provenance Details for openliate-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 23.7 kB

Release files / openliate-0.3.0.tar.gz

Download URL openliate-0.3.0.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f570ff92780c822fc32cdee1c19f101a0f1c52906ba598eb0841fc94b3fc18e5
BLAKE2b-256 checksum
How to use checksums
043afb54921040f4376232c9968aadceaf586a8c6c2a65259a3f541511e50652
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 26, 2026.

Transparency log

Release files / openliate-0.3.0-py3-none-any.whl

Download URL openliate-0.3.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ccbf3d3c4807c335b19f8343269ef116d887cc066c3f3dfaddc727cccd2df0a
BLAKE2b-256 checksum
How to use checksums
c2172051f5cd3df44473694b9ac28dc116cf2306cc4c65e62e7f5dc37266b695
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 26, 2026.

Transparency log

Security for openliate 0.3.0

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 openliate-0.3.0.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 26, 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