Metadata-Version: 2.5
Name: openliate
Version: 0.1.0
Summary: Open Source Backend Layer for AI Agents — Built for Sovereign AI Agents From India to the World
Project-URL: Homepage, https://openliate.tech
Project-URL: Repository, https://github.com/openliate/openliate
Project-URL: Documentation, https://docs.openliate.tech
Project-URL: Issues, https://github.com/openliate/openliate/issues
Author-email: OpenLiate <vinod@openliate.tech>, Vinod Hatti <gitdevinod@gmail.com>
License: MIT
Keywords: agent,aum,autonomous-agents,liate,mcp,om,sarvamai,sovereign-ai
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Requires-Dist: httpx>=0.24.0
Description-Content-Type: text/markdown

# OpenLiate — Python SDK

### Sovereign AI Agents in 5 Lines: Class is an Agent.
`L[LM] · I[ntegration] · A[gent] · T[ools] · E[nvironment]`

---

## Installation

```bash
pip install openliate
```

---

## Quickstart (`agent.py`)

```python
from openliate import liate

class HelloAgent(liate):
    L = "sarvam/sarvam-105b"
    I = {"memory": "sessions/hello-agent"}
    A = {"name": "hello_agent", "intent": "Autonomous Assistant"}
    T = ["fetch"]
    E = {"SARVAM_API_KEY": "$SARVAM_API_KEY"}

agent = HelloAgent()

# 1. Inspect declarative AUM manifest
print(agent.to_manifest())

# 2. Run agent via OpenLiate engine
result = agent.run("Namaste world!")
print(result.response)
```

---

## Architecture: AUM & OM

Every agent declares the 5 orthogonal layers according to the **Agent Unified Manifest (AUM)** standard:

- **`L` (Model):** Sovereign LLM provider and model (e.g., Sarvam 105B).
- **`I` (Integration):** Memory retention, Postgres, and knowledge repositories.
- **`A` (Agent / Harness):** Agent name, intent, and reasoning loop.
- **`T` (Tools):** Anthropic Model Context Protocol (MCP) and custom tools.
- **`E` (Environment):** Secrets and guardrails.

Execution is powered by the **Orchestration Module (OM)** connecting locally or to deployed cloud endpoints.

---

## License

MIT © [OpenLiate](https://openliate.tech)

