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. The default user_id
is used by operations that require a user, such as memory.add. Search is different: memory.search only uses
the user_id passed to that call. Omit it for a project-wide search, or pass it explicitly for a user-scoped search.
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, user_id="alice", token_budget=2000
)
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 --token-budget 2000
Metadata
Release files for mindmemos-sdk 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mindmemos_sdk-0.1.4.tar.gz | 36.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mindmemos_sdk-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.2 kB
Release files / mindmemos_sdk-0.1.4.tar.gz
| Download URL | mindmemos_sdk-0.1.4.tar.gz |
|---|---|
| Size | 36.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8245a142b54f5e2088dd08db83b7a17eee80e5eec0c8b7760a633551632bf37
|
|
BLAKE2b-256 checksum How to use checksums |
850108f2884556c88af0d2fbbbf0f8356aea35ba108548c9a03c9c226b2968bd
|
| 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 Aug 29, 2026.
Transparency logRelease files / mindmemos_sdk-0.1.4-py3-none-any.whl
| Download URL | mindmemos_sdk-0.1.4-py3-none-any.whl |
|---|---|
| Size | 48.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
098ebc6158e08ec84da952f4655f48fd4f2dc9667220992a9df63723cb6269ae
|
|
BLAKE2b-256 checksum How to use checksums |
49d08ed6b564ae52f22dc5309b4e05f08b1e1ecf92cd4419c3c808d0a1081611
|
| 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 Aug 29, 2026.
Transparency log