Python SDK and CLI for MindMemOS
Project description
mindmemos-sdk
Python SDK and CLI for MindMemOS, a long-term memory system for AI agents and applications.
Install
pip install mindmemos-sdk
The package also installs the mindmemos command.
Configure
mindmemos auth
You can also pass base_url, api_key, and user_id directly when creating a client.
Python SDK
from mindmemos_sdk import DialogueMessage, MindMemOSClient
with MindMemOSClient(user_id="alice", app_id="my-agent") as client:
client.memory.add(
messages=[
DialogueMessage(role="user", content="I prefer iced Americano."),
],
)
result = client.memory.search("What coffee does the user prefer?", top_k=5)
for memory in result.memories:
print(memory.memory)
CLI
mindmemos memory add --content "I prefer iced Americano" --user-id alice
mindmemos memory search "coffee preference" --top-k 5 --user-id alice
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 mindmemos_sdk-0.1.3.tar.gz.
File metadata
- Download URL: mindmemos_sdk-0.1.3.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0681f5ddd85f8f3206675262550894ef2d1545310fd196ba94f88aea420277ce
|
|
| MD5 |
93a2d7e28466b8087ebb2b2b2ab5d3c0
|
|
| BLAKE2b-256 |
d8e5e882b853fa2c9bbdcebb86bf5526593f25158007cb2d6eea100b5d569660
|
Provenance
The following attestation bundles were made for mindmemos_sdk-0.1.3.tar.gz:
Publisher:
publish-mindmemos-sdk.yml on mindscale-noah/MindMemOS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mindmemos_sdk-0.1.3.tar.gz -
Subject digest:
0681f5ddd85f8f3206675262550894ef2d1545310fd196ba94f88aea420277ce - Sigstore transparency entry: 2021838627
- Sigstore integration time:
-
Permalink:
mindscale-noah/MindMemOS@c0761c4004b6b87fa387bde76874d667d79d171d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/mindscale-noah
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mindmemos-sdk.yml@c0761c4004b6b87fa387bde76874d667d79d171d -
Trigger Event:
release
-
Statement type:
File details
Details for the file mindmemos_sdk-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mindmemos_sdk-0.1.3-py3-none-any.whl
- Upload date:
- Size: 46.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d4b8ba500ab88185d01d0566ed2833efb776c16726fa0fcf7a37b67921c21a7
|
|
| MD5 |
dd922456c7b6e84baa14ca9708de02ec
|
|
| BLAKE2b-256 |
f7bd279cc948104997f210adc176a936b67eff7b46dd4b6b70844caf1c6f46e4
|
Provenance
The following attestation bundles were made for mindmemos_sdk-0.1.3-py3-none-any.whl:
Publisher:
publish-mindmemos-sdk.yml on mindscale-noah/MindMemOS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mindmemos_sdk-0.1.3-py3-none-any.whl -
Subject digest:
4d4b8ba500ab88185d01d0566ed2833efb776c16726fa0fcf7a37b67921c21a7 - Sigstore transparency entry: 2021838975
- Sigstore integration time:
-
Permalink:
mindscale-noah/MindMemOS@c0761c4004b6b87fa387bde76874d667d79d171d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/mindscale-noah
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mindmemos-sdk.yml@c0761c4004b6b87fa387bde76874d667d79d171d -
Trigger Event:
release
-
Statement type: