Quick setup examples
Python Quickstart
Add memory to a Python app with the official unisonlabs SDK — recall team memory and write a note in a few lines.
The official Python SDK is unisonlabs. Install it, set your key, and you're recalling team memory in a few lines.
Install
pip install unisonlabs
export UNISON_TOKEN=usk_live_... # get one at https://app.unisonlabs.aiRecall
from unisonlabs import UnisonBrain
client = UnisonBrain() # reads UNISON_TOKEN
ctx = client.context("what did we decide about auth?")
memory = "" if ctx.weak_evidence else ctx.context_md # prompt-ready markdownWrite a memory
client.write(
"/private/notes/auth.md",
"# Auth\nWe chose email-OTP because it's the lowest-friction headless flow.",
)context() and write() cover most apps. Capturing a conversation (save-or-skip curation, dedupe, entity facts) goes through POST /v1/brain/remember — call it directly over REST, or use the CLI (unison remember); the Python SDK has no remember helper yet. Document ingestion (type: "document") is POST /v1/brain/ingest; see Ingest. Full method surface: Python SDK.