Skip to main content

Let's Try Liate

Open Source OOP Framework for AI Agents

A Class is an Agent

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.5 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.


LIATE — Open Source OOP Framework for AI Agents · A Class is an Agent


From India, For India, Beyond India 🇮🇳 🌍

Metadata

Release files for liate 0.3.5

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.3.5
File Size Uploaded Provenance Actions
liate-0.3.5.tar.gz 14.5 kB With provenance Details for liate-0.3.5.tar.gz

Built distribution (wheel)

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

Total release size: 24.6 kB

Release files / liate-0.3.5.tar.gz

Download URL liate-0.3.5.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
29ff7423ae0c602f50bf471f47217359bc99c18fc64dd143b59cdb11ed024a54
BLAKE2b-256 checksum
How to use checksums
7312113ee80c6a08b9fd0e1d11283426c2ceec97a37c141c6f0e9483a264f60c
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 27, 2026.

Transparency log

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

Download URL liate-0.3.5-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0ede796b8660291d44eafab44228bac7c82b22dca3d3a1d6d56420accce1511
BLAKE2b-256 checksum
How to use checksums
09f9bc15cc4913b461845544b7f673c0e17e5d9e6ee14c3f946eed9602378e6b
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 27, 2026.

Transparency log

Security for liate 0.3.5

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.3.5.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 27, 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