Skip to main content

Python SDK and CLI for MindMemOS

Project description

MindMemOS logo mindmemos-sdk

MindMemOS Memory For AI Agents

MindMemOS GitHub MindMemOS Website MindMemOS FastAPI Docs mindmemos-sdk PyPI version mindmemos-sdk PyPI downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mindmemos_sdk-0.1.3.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mindmemos_sdk-0.1.3-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

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

Hashes for mindmemos_sdk-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0681f5ddd85f8f3206675262550894ef2d1545310fd196ba94f88aea420277ce
MD5 93a2d7e28466b8087ebb2b2b2ab5d3c0
BLAKE2b-256 d8e5e882b853fa2c9bbdcebb86bf5526593f25158007cb2d6eea100b5d569660

See more details on using hashes here.

Provenance

The following attestation bundles were made for mindmemos_sdk-0.1.3.tar.gz:

Publisher: publish-mindmemos-sdk.yml on mindscale-noah/MindMemOS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for mindmemos_sdk-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4d4b8ba500ab88185d01d0566ed2833efb776c16726fa0fcf7a37b67921c21a7
MD5 dd922456c7b6e84baa14ca9708de02ec
BLAKE2b-256 f7bd279cc948104997f210adc176a936b67eff7b46dd4b6b70844caf1c6f46e4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page