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.ai

Recall

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 markdown

Write 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. Conversation ingestion (which runs entity resolution and fact extraction) is available over the REST API — POST /v1/brain/ingest — and the CLI (unison ingest); see Ingest. Full method surface: Python SDK.

On this page