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.1.9 Total Downloads Python 3.9+

PyPI liate   PyPI openliate

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


Milestone: Liate — Selected for India's Sarvam AI Startup Program 2026 IN
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)

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 458+ pypistats.org/packages/openliate
PyPI liate 236+ pypistats.org/packages/liate
npm openliate 531+ Direct Developer CLI & Runners
npm @openliate/liate 270+ TypeScript SDK Imports
Total Combined Ecosystem 1,495+ Total Installs Over 800+ Direct Human Installs (without_mirrors)


[5] License

MIT License © 2026 OpenLiate.

Metadata

Release files for openliate 0.1.9

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.1.9
File Size Uploaded Provenance Actions
openliate-0.1.9.tar.gz 13.2 kB With provenance Details for openliate-0.1.9.tar.gz

Built distribution (wheel)

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

Total release size: 22.0 kB

Release files / openliate-0.1.9.tar.gz

Download URL openliate-0.1.9.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4df71470e84b6878efc39d8155411e0438c704c735fa6fbcc01ca044dc19b2cd
BLAKE2b-256 checksum
How to use checksums
78370311a4bf33768b3ab0538670dda327a0628dbd3e81e511ed904e7e999a05
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 21, 2026.

Transparency log

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

Download URL openliate-0.1.9-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
876e0be3235286f9f6ceab22792c07c115fd36a1b7431b5a1ed32de50733e21e
BLAKE2b-256 checksum
How to use checksums
aac00b62a0ee16f5e0c2db1a716080df01517109635a5de0ccbe0ae75aa84062
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 21, 2026.

Transparency log

Security for openliate 0.1.9

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.1.9.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 21, 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