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.5 Python 3.9+

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


Installation

pip install liate
# or
pip install openliate

Quickstart: The 5-Line OOP AI Agent

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 SovereignAgent(Liate):
    L = "sarvam/sarvam-105b"                         # [L] Large Models Layer (Sarvam Indic 105B)
    I = {"memory": "sessions/sovereign-agent"}       # [I] Integration & Memory Layer
    A = {                                            # [A] Agent Harness Layer
        "name": "agentyaan",
        "intent": "Autonomous Sovereign Indic Agent",
        "maxSteps": 5
    }
    T = {                                            # [T] Tools & MCP Layer (Stdio & SSE)
        "fetch": {
            "command": "uvx",
            "args": ["mcp-server-fetch"],
            "tools": ["*"]
        }
    }
    E = {"SARVAM_API_KEY": "$SARVAM_API_KEY"}        # [E] Environment & Sandbox Layer

# Run the agent via the autonomous ReAct loop:
agent = SovereignAgent()
result = agent.run("Fetch https://openliate.tech and summarize.")
print(result.response)

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.

License

MIT License © 2026 OpenLiate.

Metadata

Release files for liate 0.1.6

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.1.6
File Size Uploaded Provenance Actions
liate-0.1.6.tar.gz 12.3 kB With provenance Details for liate-0.1.6.tar.gz

Built distribution (wheel)

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

Total release size: 20.2 kB

Release files / liate-0.1.6.tar.gz

Download URL liate-0.1.6.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
56a3ff5bde53489ed44eb44ff3d333ddb92e1c93b7e6e52563f3d3aa832dc8cc
BLAKE2b-256 checksum
How to use checksums
51af1e6c5361fe101c615299944f674094294ba54a3860b68939de3b933d4fb7
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 19, 2026.

Transparency log

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

Download URL liate-0.1.6-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
172fa1fc656796859c8faff3cb4d1d2536b2cf308d639fe0c85f8469160fcc60
BLAKE2b-256 checksum
How to use checksums
5901c679477d998e0648671ec34e4f970ecc44f5c41ab58ae2205b2bcec170ea
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 19, 2026.

Transparency log

Security for liate 0.1.6

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.1.6.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 19, 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