Skip to main content

MayaMemo — Python SDK

Zero-dependency Python client for the MayaMemo API: projects, memories (with tags), semantic search, the context compiler, checkpoints and cross-agent resume.

pip install mayamemo            # or: pip install "mayamemo[langchain]"

Quickstart

from mayamemo import MayaMemo

client = MayaMemo(api_key="mm_sk_...", api_url="https://api.mayamemo.com")

project = client.create_project("my-app")

client.add_memory(
    project["id"],
    "Checkout retries go through an idempotency table keyed by cart_id + attempt",
    type="decision",
    tags=["checkout", "billing"],
)

hits = client.search_memories(project["id"], "how do we avoid double charges?")
print(hits[0]["statement"], hits[0]["score"])

checkpoint = client.create_checkpoint(
    project["id"], "billing groundwork",
    "Idempotency decision captured; outbox worker noted.",
    next_steps=["wire refund metrics"], agent="my-agent",
)

briefing = client.resume_checkpoint(checkpoint["id"], agent="another-agent")["briefing_markdown"]
print(briefing)

Environment defaults: MAYAMEMO_API_KEY (or MAYAMEMO_TOKEN) and MAYAMEMO_API_URL.

Get an API key in the MayaMemo dashboard → Developers. Docs: https://mayamemo.com/docs

Development

pip install -e "sdk/python[langchain]"    # from a checkout
python -m pytest sdk/python/tests

Metadata

Release files for mayamemo 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 mayamemo 0.1.1
File Size Uploaded Provenance Actions
mayamemo-0.1.1.tar.gz 10.7 kB Without provenance Details for mayamemo-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 19.0 kB

Release files / mayamemo-0.1.1.tar.gz

Download URL mayamemo-0.1.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b8d5724f6ea0f19ef8f679509fb3b23d5ffa03c3f2df3f07f5b57b786d9d44bb
BLAKE2b-256 checksum
How to use checksums
c6e7a01d5595038c270e845ba990a82e5d6c16ee159db451c8fa6270790fb93e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

Download URL mayamemo-0.1.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
561e285ca26e433cc939f34ba2396272634f08ba6fc18f0d30dd3613bd22c055
BLAKE2b-256 checksum
How to use checksums
aba75b3ed22d7a6f23d9d5097446ccd091d42e7d0522e6b1f3d51617f9366346
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for mayamemo 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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