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.2

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

Built distribution (wheel)

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

Total release size: 19.0 kB

Release files / mayamemo-0.1.2.tar.gz

Download URL mayamemo-0.1.2.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
316671b278653904250945960de4529f55a6f586e46b736b2ae893728257f976
BLAKE2b-256 checksum
How to use checksums
47c18c88c871e423ffa73ccd4416ad1474d61f20a6e4b0076d6810b7fe1e1edc
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.2-py3-none-any.whl

Download URL mayamemo-0.1.2-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b976be6f4953c57cfacf5c3f851b763ff2f213408c3f2f4132bf198bc9479f78
BLAKE2b-256 checksum
How to use checksums
1a058b9e980cfd13c4eafb16c6377665e85dc33bdc8f8dd00b912d95c77344b5
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.2

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