Python SDK

Call hosted memory from Python.

Use CloudClient when Bilinc sits inside your own agent runtime and hosted Cloud owns storage, retention, audit, and entitlement gates.

Install pathPyPI package
RuntimeHosted Bilinc Cloud
InterfacePython + CLI + MCP
AccessBILINC_API_KEY
Lifecycle

Import CloudClient, then write, retrieve, and inspect status.

import os
from bilinc import CloudClient

client = CloudClient(api_key=os.environ["BILINC_API_KEY"])

client.commit("user.preference", {"theme": "dark"})
results = client.recall("user preference", profile="balanced", limit=5)
status = client.status()
Memory types

Use the right shape for the right state.

working

Active short-lived context.

episodic

Event and session memory.

procedural

Reusable workflows.

semantic

Durable facts and beliefs.