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

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.6.0
File Size Uploaded Provenance Actions
uniko-0.6.0.tar.gz 1.3 MB With provenance Details for uniko-0.6.0.tar.gz

Built distributions (wheels)

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

Total release size: 429.9 MB

Release files / uniko-0.6.0.tar.gz

Download URL uniko-0.6.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
72743c52750dcb634707b372fdbc0a1a0997203993ee30f755fc097d963a1886
BLAKE2b-256 checksum
How to use checksums
53d6442a695798f5c6a1e4f9da84ae15d36a389facc61c41ae6d444744a4dffb
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 25, 2026.

Transparency log

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

Download URL uniko-0.6.0-cp310-abi3-win_amd64.whl
Size 112.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
18d006d78aa527b8432b76c37b4c950e638859665e512e1dc0fdd6e5f3526a35
BLAKE2b-256 checksum
How to use checksums
88949e1887656734c748debe6a712664911f1ff3316a924fd02d49bcabd0c3fb
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 25, 2026.

Transparency log

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

Download URL uniko-0.6.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 111.4 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
96e23546fa3027da303df67d0e4c0da9fdf6255bf6a3302cc013947608b273d6
BLAKE2b-256 checksum
How to use checksums
8bc56e3c28183f4e168c8fdea7944b4d35b556fba4dce56d3c4e0e3a79f8141b
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 25, 2026.

Transparency log

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

Download URL uniko-0.6.0-cp310-abi3-manylinux_2_28_aarch64.whl
Size 106.6 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
89bf03ed1ae47363c3750dc26eaf505422d86124d6ad2449c85c67d2a3f1b5c3
BLAKE2b-256 checksum
How to use checksums
5866902988067decdc45c3f773294372305e39770faabbf98dcbdc598e8fe27b
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 25, 2026.

Transparency log

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

Download URL uniko-0.6.0-cp310-abi3-macosx_11_0_arm64.whl
Size 98.3 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4b3c28a037f97b31d54cfe6b78094537270e155f924d7ed130a25e514d0e55c0
BLAKE2b-256 checksum
How to use checksums
04c6f28b9d7b158b7d1327c3f14f6e3faff915582678e7b58900bd7556265a8b
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 25, 2026.

Transparency log

Security for uniko 0.6.0

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.6.0.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 25, 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