Home / SDKs
One memory API. Five native SDKs.
Every client speaks the same REST surface. The fastest path is Python local mode: no server, no Docker, no API key.
Current release matrix
Pick your language.
pip install lians-sdkpip install lians-sdk[local]npm install @lians-ai/liansgo get github.com/Lians-ai/Lians/agentmem/sdk/go@v0.4.1ai.lians:lians-sdk:0.4.1cmake -B build && cmake --build 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, zero adapter code.
On the official MCP Registry: Claude Desktop, Cursor, VS Code, and Windsurf connect with a one-time config and get all eight memory tools automatically.
{
"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.
$ pip install lians-sdk==0.4.2 $ npm view @lians-ai/lians version $ go list -m github.com/Lians-ai/Lians/agentmem/sdk/go@v0.4.1