Skip to main content

uniko (Python bindings)

Async-first Python SDK for the uniko cognitive memory engine, built with PyO3 and maturin.

Status: alpha. The full async surface (recall, answer, query, ingest, goals/tasks, and the Locy logic surface), the synchronous *_sync skins, and a complete py.typed type stub all ship today.

Install

pip install uniko          # CPU
pip install uniko-cuda     # NVIDIA CUDA, Linux x86_64
pip install uniko-metal    # Apple Silicon, macOS arm64

Install exactly one — all three provide the uniko import and cannot coexist.

Building locally

# from bindings/uniko-py/ (uv-managed)
uv run maturin develop
uv run python -c "import uniko; print(uniko.__file__)"

A C/C++ toolchain and protobuf-compiler (protoc) must be on PATH — the uniko stack statically links the ONNX runtime (via uni-db's provider-onnx) and several native dependencies. On Linux, mold is also required: the workspace's .cargo/config.toml forces it as the link backend.

Example

import asyncio
import uniko


async def main() -> None:
    uni = await uniko.Uniko.in_memory()
    agent = uni.agent("assistant")
    session = agent.session("conversation-1")
    await session.observe(uniko.Turn("user", "I prefer tea over coffee."))
    bundle = await agent.recall("beverage preference")
    for item in bundle.items:
        print(item.content)


asyncio.run(main())

Every verb also has a blocking *_sync twin for callers outside an event loop (scripts, notebooks, sync handlers). It blocks on the shared runtime and releases the GIL across the Rust work:

import uniko

uni = uniko.Uniko.in_memory_sync()
agent = uni.agent("assistant")
session = agent.session("conversation-1")
session.observe_sync(uniko.Turn("user", "I prefer tea over coffee."))
for item in agent.recall_sync("beverage preference").items:
    print(item.content)

Metadata

Release files for uniko 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uniko 0.5.1
File Size Uploaded Provenance Actions
uniko-0.5.1.tar.gz 1.0 MB With provenance Details for uniko-0.5.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for uniko 0.5.1
File Actions
uniko-0.5.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for uniko-0.5.1-cp310-abi3-win_amd64.whl
uniko-0.5.1-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for uniko-0.5.1-cp310-abi3-manylinux_2_28_x86_64.whl
uniko-0.5.1-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for uniko-0.5.1-cp310-abi3-manylinux_2_28_aarch64.whl
uniko-0.5.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for uniko-0.5.1-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 409.0 MB

Release files / uniko-0.5.1.tar.gz

Download URL uniko-0.5.1.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
0f06270b6dfce5b194a7fb966ce52794f52df8452a0866d3f49c800a4031e1b6
BLAKE2b-256 checksum
How to use checksums
bb46cfe4827dd560043b88fd4a5afad79bab6be961b819b6180cda4a7270e06e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / uniko-0.5.1-cp310-abi3-win_amd64.whl

Download URL uniko-0.5.1-cp310-abi3-win_amd64.whl
Size 106.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8ccfa128f9d66121bec989a3a98e3ecff74e2b8f00fd87f88f8ecb5063af6ca1
BLAKE2b-256 checksum
How to use checksums
41d13a4af3c294b677f4b5a90c8f4d2b1ebb4d9efc318771417b841884e40697
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / uniko-0.5.1-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL uniko-0.5.1-cp310-abi3-manylinux_2_28_x86_64.whl
Size 106.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
166b88c1ab28d80791a1ebe31ae5362d50ed25061de186c329a1fbfa77e4ce6b
BLAKE2b-256 checksum
How to use checksums
8272ad3f359e1cedd69dd3967a9f2f8cbbfe23af0dd8a3ebb66c7326c194d813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / uniko-0.5.1-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL uniko-0.5.1-cp310-abi3-manylinux_2_28_aarch64.whl
Size 101.7 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
3df70354d0ba4fe793eb67648205617ebd1e40d773d19a9e050a03fab42f232e
BLAKE2b-256 checksum
How to use checksums
ae11e5bf56e09414dfaae7aff9065fd35db58c4e84b84cf89704f568ef31f9bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / uniko-0.5.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL uniko-0.5.1-cp310-abi3-macosx_11_0_arm64.whl
Size 93.7 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bc5ba95e6778366704ab573176fde40484f776399fc20d9e0b4d7e9850772791
BLAKE2b-256 checksum
How to use checksums
65474c0446063d69beffe1f3e208b7af6c10f6d909d123156d8d3cdd0535c8b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for uniko 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for uniko-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page