mem0-kronotop
Kronotop backend for mem0, built on kronotop-py.
Install
pip install mem0-kronotop
Usage
Call register() before the first Memory. It adds the kronotop provider to mem0.
from mem0 import Memory
from mem0_kronotop import register
register()
memory = Memory.from_config(
{
"vector_store": {
"provider": "kronotop",
"config": {
"bootstrap": ["localhost:5484", "localhost:5485"],
"namespace": "mem0",
"collection_name": "mem0",
"embedding_model_dims": 1536,
},
}
}
)
bootstrap lists the members the client starts from, and defaults to
localhost:5484. The other three values above are the defaults. The store
creates the namespace and the bucket when they are missing.
config also takes the keyword arguments of the Kronotop client, such as
password and ssl.
Example
The program below is a support assistant that remembers what a customer said.
mem0 uses OpenAI for the language model and the embeddings by default, so set
OPENAI_API_KEY before you run it.
from mem0 import Memory
from mem0_kronotop import register
register()
memory = Memory.from_config(
{
"vector_store": {
"provider": "kronotop",
"config": {
"bootstrap": ["localhost:5484"],
"namespace": "support",
"collection_name": "customers",
},
}
}
)
# mem0 reads the conversation and stores the facts it finds.
memory.add(
[
{"role": "user", "content": "My order arrived broken. I want a refund."},
{"role": "assistant", "content": "Sorry about that. I opened a refund."},
{"role": "user", "content": "Thanks. Please write to me by email only."},
],
user_id="alice",
)
# Later, in another conversation.
found = memory.search("How should we contact her?", filters={"user_id": "alice"})
for result in found["results"]:
print(result["score"], result["memory"])
# Everything mem0 knows about one customer.
for result in memory.get_all(filters={"user_id": "alice"})["results"]:
print(result["id"], result["memory"])
memory.delete(found["results"][0]["id"])
Kronotop has no full-text search, so mem0 ranks by vector similarity alone.
License
Apache License 2.0. See LICENSE.
Metadata
Release files for mem0-kronotop 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mem0_kronotop-0.1.0.tar.gz | 13.9 kB | With provenance | Details for mem0_kronotop-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mem0_kronotop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mem0_kronotop-0.1.0-py3-none-any.whl |
Total release size: 28.8 kB
Release files / mem0_kronotop-0.1.0.tar.gz
| Download URL | mem0_kronotop-0.1.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8cc97f17ae4574acf56f9c85f98831c1625edd45dff921970840f97ce90a824
|
|
BLAKE2b-256 checksum How to use checksums |
cebbeed8679c5431dd84dfb322691cdae796e0b836f9f53046ad56c2e7ceaff2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logRelease files / mem0_kronotop-0.1.0-py3-none-any.whl
| Download URL | mem0_kronotop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02303db0772c7328fcdb160136ad5794d80dc70891c777e157a2a4facd24a880
|
|
BLAKE2b-256 checksum How to use checksums |
af3564cb7a1f8063dae84828a047bbcd352e5860c1798d4441a0625513279f0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 16, 2026.
Transparency logSecurity for mem0-kronotop 0.1.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
Both files in this release have been uploaded with provenance metadata.
Attestation for mem0_kronotop-0.1.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 Oct 16, 2026.
Transparency logA 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.