Home / SDKs
One API. Five SDKs.
Every client speaks the same REST surface. The fastest path is Python local mode: no server, no Docker, no API key.
Published package matrix · verified August 9, 2026
Pick your language.
pip install lians-sdk==0.5.0pip install "lians-sdk[local]==0.5.0"npm install @lians-ai/lians@0.5.0go get github.com/Lians-ai/Lians/agentmem/sdk/go@v0.5.0ai.lians:lians-sdk:0.5.0git checkout v0.5.0 && cmake -S agentmem/sdk/c -B buildSelf-host the server
Postgres + pgvector, in your perimeter.
# Postgres + pgvector + API on :8000 $ git clone https://github.com/Lians-ai/Lians $ cd Lians $ docker compose up --build
Health check: curl localhost:8000/livez. See deploy.md for KMS, the non-superuser DB role for RLS, air-gap, and WORM.
Framework integrations
Drop into your agent stack.
$ pip install lians-sdk[langchain] $ pip install lians-sdk[langgraph] $ pip install lians-sdk[crewai] $ pip install lians-sdk[all]
First-class support for LangChain, LangGraph, CrewAI, the OpenAI Agents SDK, and AutoGen v0.4, including a pre-compaction flush (CompactionGuard + a flush node/tool per framework) that persists durable facts before your framework summarizes them away.
MCP · native tool in any AI client
Eight memory tools.
Registry manifest v0.5.0 is active on the official MCP Registry. Claude Desktop, Cursor, VS Code, and Windsurf can launch the published Python runtime with a one-time stdio config.
{
"mcpServers": {
"lians": {
"command": "uvx",
"args": ["--from", "lians-sdk[mcp]", "lians-mcp"],
"env": {
"LIANS_URL": "https://your-lians-server.internal",
"LIANS_API_KEY": "lians_...",
"LIANS_AGENT_ID": "trading-desk-1"
}
}
}
}
Verify a release
Confirm the version.
$ python -m pip index versions lians-sdk $ npm view @lians-ai/lians version $ go list -m github.com/Lians-ai/Lians/agentmem/sdk/go@v0.5.0 $ curl -fsSL https://repo1.maven.org/maven2/ai/lians/lians-sdk/maven-metadata.xml