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.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.1.5
File Size Uploaded Provenance Actions
liate-0.1.5.tar.gz 12.2 kB Without provenance Details for liate-0.1.5.tar.gz

Built distribution (wheel)

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

Total release size: 20.2 kB

Release files / liate-0.1.5.tar.gz

Download URL liate-0.1.5.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1ce7469e4555846fb2964db9fce0942a3402078c23da9e17f819b33b115fb56b
BLAKE2b-256 checksum
How to use checksums
58dcbcac286e95150ed5ac34005bc20b4a9e147302a36dbb923d361af6105308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL liate-0.1.5-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cc06658aaee1f8ed77c1f53fb45afedb788e883965a1af59ac8a394b358c3b7
BLAKE2b-256 checksum
How to use checksums
5e72f1e6ce7c3f987ef03485f035f57b7c42f65ffcc0940786752899341708c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for liate 0.1.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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