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
*_syncskins, and a completepy.typedtype 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)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uniko-0.2.1.tar.gz.
File metadata
- Download URL: uniko-0.2.1.tar.gz
- Upload date:
- Size: 808.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddaf58ef8e96a06f22b3515e2d9b18e3b4b8e55d3e5d3d0e806361383fdd6fb8
|
|
| MD5 |
6818cdce26b8cf96d207521761561f3d
|
|
| BLAKE2b-256 |
dd18822c7fe0251b911d06e84fb26e30bb60db383382a1371d1936123d8d18b0
|
Provenance
The following attestation bundles were made for uniko-0.2.1.tar.gz:
Publisher:
release.yml on rustic-ai/uniko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uniko-0.2.1.tar.gz -
Subject digest:
ddaf58ef8e96a06f22b3515e2d9b18e3b4b8e55d3e5d3d0e806361383fdd6fb8 - Sigstore transparency entry: 2690194310
- Sigstore integration time:
-
Permalink:
rustic-ai/uniko@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rustic-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file uniko-0.2.1-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: uniko-0.2.1-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 42.5 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd78853a798c567cf765fb715b7e71efa06c5bed219775a7ce41b7a190e4dd8e
|
|
| MD5 |
ae29ac7ab75041bfa3600b003ebae958
|
|
| BLAKE2b-256 |
5c7a8f6eb41f0e179b37a6d65e6ef3d0bb33aa3990306828f295b632a2f592be
|
Provenance
The following attestation bundles were made for uniko-0.2.1-cp310-abi3-win_amd64.whl:
Publisher:
release.yml on rustic-ai/uniko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uniko-0.2.1-cp310-abi3-win_amd64.whl -
Subject digest:
cd78853a798c567cf765fb715b7e71efa06c5bed219775a7ce41b7a190e4dd8e - Sigstore transparency entry: 2690194449
- Sigstore integration time:
-
Permalink:
rustic-ai/uniko@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rustic-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file uniko-0.2.1-cp310-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: uniko-0.2.1-cp310-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 46.0 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0eb0977cfa6f50bf05d8cdd07d06f1d37510e77659bcd7f7d1b08b44461f9d0
|
|
| MD5 |
8183173db75627da3af0e01a4e074bdc
|
|
| BLAKE2b-256 |
f8a324a38fd057ea2f4ef9066ecd296465bcef2e01fd78e8e9bae1fd06bf60f6
|
Provenance
The following attestation bundles were made for uniko-0.2.1-cp310-abi3-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on rustic-ai/uniko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uniko-0.2.1-cp310-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
d0eb0977cfa6f50bf05d8cdd07d06f1d37510e77659bcd7f7d1b08b44461f9d0 - Sigstore transparency entry: 2690194406
- Sigstore integration time:
-
Permalink:
rustic-ai/uniko@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rustic-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file uniko-0.2.1-cp310-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: uniko-0.2.1-cp310-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 48.2 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43cb5eaa1292fbb933a784893e5eeaa361e61cf1f72234a484378bc372648a52
|
|
| MD5 |
b093e2032aa0d4d35862b4a44ec721b8
|
|
| BLAKE2b-256 |
06a2d20894c95c4e704e21b6f993c0ca3db08821f85296c069231e5b32738c72
|
Provenance
The following attestation bundles were made for uniko-0.2.1-cp310-abi3-manylinux_2_28_aarch64.whl:
Publisher:
release.yml on rustic-ai/uniko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uniko-0.2.1-cp310-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
43cb5eaa1292fbb933a784893e5eeaa361e61cf1f72234a484378bc372648a52 - Sigstore transparency entry: 2690194476
- Sigstore integration time:
-
Permalink:
rustic-ai/uniko@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rustic-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file uniko-0.2.1-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: uniko-0.2.1-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 39.6 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4649e696ee3d33c44b4b6075b31fc4ecfafac19e6e958d193091937cdd9b2ad0
|
|
| MD5 |
5a4ef67456cf0d23ab48c05a49c7f8f3
|
|
| BLAKE2b-256 |
07a9bee9dc1340f7288c478e060305ab2b119ed82e900f2425ce90a745cdfbb6
|
Provenance
The following attestation bundles were made for uniko-0.2.1-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on rustic-ai/uniko
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
uniko-0.2.1-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
4649e696ee3d33c44b4b6075b31fc4ecfafac19e6e958d193091937cdd9b2ad0 - Sigstore transparency entry: 2690194350
- Sigstore integration time:
-
Permalink:
rustic-ai/uniko@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/rustic-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@98999a22be0c1c1b9403ac3f7f0b97e139c13fe7 -
Trigger Event:
push
-
Statement type: