Skip to main content

oliviadb

The Python client of OliviaDB's network API: agent memory (remember, recall), agent state, paths, layer-1 reads and writes of aggregates, change streams, and the native protocol (oliviadb.native: one connection, many requests from several threads, rows decoded only when a field is read). Standard library only. A list of node URLs follows the primary of a high-availability pair.

Install

pip install oliviadb

Python 3.10 or later.

Example

A server from the core image (docker run -d -p 8443:8443 -v oliviadb-data:/data ghcr.io/oliviadb/oliviadb), its API key in OLIVIADB_API_KEY and its certificate in oliviadb-ca.pem (docker cp <container>:/data/tls/server.pem oliviadb-ca.pem):

import os

from oliviadb import OliviaDbClient

db = OliviaDbClient("https://localhost:8443", api_key=os.environ["OLIVIADB_API_KEY"], ca_file="oliviadb-ca.pem")
db.remember(
    thread="t1",
    step_id="ann-1",
    text="Ann works at Acme.",
    facts=[{"entity": "Ann", "attr": "employer", "value": "Acme"}],
)
print(db.recall("Where does Ann work?", budget=300)["text"])
print(db.path("ENTITY=Ann")["facts"][0]["value"])  # Acme

Licence: Apache-2.0.

Metadata

Release files for oliviadb 0.1.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 oliviadb 0.1.1
File Size Uploaded Provenance Actions
oliviadb-0.1.1.tar.gz 21.9 kB With provenance Details for oliviadb-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for oliviadb 0.1.1
File Interpreter ABI Platform Actions
oliviadb-0.1.1-py3-none-any.whl Python 3 none any Details for oliviadb-0.1.1-py3-none-any.whl

Total release size: 40.1 kB

Release files / oliviadb-0.1.1.tar.gz

Download URL oliviadb-0.1.1.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0a0a2587238e6ac3a5b5922fe8bf58be937fe85c5e75b84d9f8ad4c21d6cbea4
BLAKE2b-256 checksum
How to use checksums
b1b9344ac8d9047b309f3d5a9b82c9ffc7f4df964f69e2cfe62dfdce2c1d1631
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 Dec 4, 2026.

Transparency log

Release files / oliviadb-0.1.1-py3-none-any.whl

Download URL oliviadb-0.1.1-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd2b2b57091af91bdbcad27076e537afe1f1fdf6813554c822d6cb4326dee920
BLAKE2b-256 checksum
How to use checksums
c0ff5f305fe0d151242241b866cf4303aa3b1abb85345ac156df944f5d6ada33
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 Dec 4, 2026.

Transparency log

Security for oliviadb 0.1.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for oliviadb-0.1.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 Dec 4, 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