memoryo-sdk; the Python import is memoryos. The package name differs because memoryos was unavailable on the registry. PyPI version 0.1.2 was checked on 24 November 2026. Package availability does not establish backend availability or feature enablement.
Connect from your server
base_url is the backend root, without /v1. Its SDK default is https://api.memoryo.dev; set it to your instance URL for self-hosting. An API key never belongs in browser code. Your server supplies a stable external_user_id after authenticating the user.
Save and poll
The following is a verification sequence, not a per-response chat wait. Polling can wait up to the specified timeout. Use chat lifecycle for ordinary background capture, correction ordering and processing-state UX.was_stored is a legacy convenience property, not evidence of application.
add() accepts optional metadata, source and preference_claims. Do not label assistant/tool/document output as direct user input. The application must preserve actual evidence origin; a role or metadata value cannot grant higher authority.
Read and gate
items, has_context, system_prompt_addition, retrieval_id, cached, quota_mode, is_degraded, is_passthrough, memory_visibility, clarification, source_reviews, preference_reviews, preference_decisions and preference_scope_request.
get() supports limit, categories, format, context_max_tokens, time_filter_days, timezone-aware as_of and preference_context. Explicit preference context cannot be combined with historical as_of or agent-bound SDK reads. See scoped preferences and visibility.
Respond to a source review
keep_current and dismiss close an eligible review without storing pending text. restate returns resolved=False, next_step="add_memory": it requests a new statement, not a completed correction. For an intentional typed replacement, supply the actual target ID/version under the replacement contract. Do not invent bindings from a similarity search or silently resolve a review with model output.
Source review is separate from A/B clarification (answer_clarification()) and administrative service correction. See the native review contract for refusal behavior and card handling.
Registered service events
source=source to add() only after the owner registers that writer and binds appropriate credentials/policy. Normal chat applications can omit it. A source-aware event uses a different authority path from ordinary conversation evidence. See provenance.
Async client
memory.close() or a with block; use async with for the async client.
Other contracts
get_job_status()/wait_for_job(): inspect the original admission.list(): authorized management listing; use the native history endpoint for version history, not as current answer context.feedback(): optional retrieval outcome reporting; a correction can queue another job.- Delete/export and domain helpers: require their endpoint-specific permissions and enabled configuration.
UniversalMemory belongs to disabled-by-default Memory Passport. Assistant-proposal confirmation and automatic interpretation are experimental; their presence in source or types does not enable them. Check the feature configuration of your backend.