Metadata-Version: 2.4
Name: memoricai
Version: 0.3.2
Summary: Python SDK for the memoricai /v1 HTTP API
License-Expression: MIT
Project-URL: Homepage, https://github.com/trymemoric/memoricai
Project-URL: Repository, https://github.com/trymemoric/memoricai
Keywords: memory,ai,agents,llm,sdk
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# memoricai Python SDK

Stdlib-only client for the memoricai `/v1` HTTP API (Python 3.9+).

```python
from memoricai import Client

client = Client("http://localhost:7373", "mc_...")

doc = client.add_text("My name is Ada.", container_tag="mc_project_default")
client.wait_for_document(doc["id"])

res = client.search_memories("what is my name",
                             container_tag="mc_project_default", digest=True)
print(res["digest"])          # ready-to-inject, date-stamped context
print(client.profile("mc_project_default"))
```

Install from the repo: `pip install ./sdks/python`. Transient failures (429/5xx)
are retried with exponential backoff; API errors raise `MemoricaiError(status, message)`.

The client covers the complete v0.3.2 engine surface: batch and multipart
ingestion, document lifecycle operations, search/context/profile, memory
management, projects and container tags, settings and scoped keys, buckets and
inferred-memory review, analytics, connectors, MCP helpers, provisioning, and
the memory router. `request()` is the forward-compatible low-level escape hatch.
