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.

Python · v0.5.0pip install lians-sdk==0.5.0
Python local · v0.5.0pip install "lians-sdk[local]==0.5.0"
TypeScript / Node · v0.5.0npm install @lians-ai/lians@0.5.0
Go · v0.5.0go get github.com/Lians-ai/Lians/agentmem/sdk/go@v0.5.0
Java · v0.5.0 · JVM 11+ai.lians:lians-sdk:0.5.0
C · v0.5.0 · C99 + libcurlgit checkout v0.5.0 && cmake -S agentmem/sdk/c -B build

Python and TypeScript ship from package registries · Go via the module proxy · Java from Maven Central · C builds from the tagged source tree. These coordinates were checked independently; verify them again before pinning a deployment.

Self-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"
      }
    }
  }
}

Any other MCP host: uvx --from 'lians-sdk[mcp]' lians-mcp with LIANS_URL, LIANS_API_KEY, and optionally LIANS_AGENT_ID set.

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

Install without an account.

Talk to us →