Where MemoryOS fits
MemoryOS works alongside your existing infrastructure:
MemoryOS is not a complete episodic archive, general document RAG system, agent framework, or replacement for your system of record.
The governed-context lifecycle
- Ingest relevant conversations, corrections, and application events.
- Extract candidate durable state and supporting evidence.
- Reconcile candidates with existing claims, revisions, and conflicts.
- Govern validity, provenance, authority, lifecycle, and access policy.
- Retrieve current, authorized, prompt-ready context.
Choose an integration
The tenant-memory loop
For most products, integration is two server-side calls:- Call
get()before your model call. - Add
system_prompt_additionwhenhas_contextis true. - Always call your model, including when MemoryOS returns no context or passthrough mode.
- Call
add()after the conversation turn or session you want MemoryOS to examine.
add() accepts a conversation, not a prewritten memory. Extraction runs asynchronously, so a queued response confirms acceptance rather than immediate storage.
What MemoryOS stores
The General Engine can extract durable information such as preferences, goals, recurring procedures, relationships, stable facts, and demonstrated expertise. Uncertain signals may remain pending until later evidence reinforces them. Temporary instructions and conversational filler should not become long-term memory. Domain schemas use the sameadd() and get() calls while adding structured domain context. EdTech can maintain learning profiles; Support can maintain customer-support context. Keep grades, payments, ticket state, permissions, and other authoritative business records in your own systems.
Multiple services and agents
Use the sameexternal_user_id whenever your services refer to the same person. Register a service writer for each production writer and attach a stable source event ID to writes. This gives MemoryOS enough provenance to deduplicate retries, compare authority, preserve lineage, and route genuine conflicts.
Conflicts do not all follow the same path: trusted evidence may resolve automatically, tenant-owned conflicts may require dashboard review, and the frozen Memory Passport private beta has a separate user-clarification path when explicitly enabled. Each conflict has one resolution path.
Memory Passport
Memory Passport is an experimental design for consent-based memory shared across independent agents or applications. It is currently frozen as a private beta while the normal tenant-memory path remains the production focus. Do not build a production integration against Passport unless MemoryOS has explicitly enabled it for your tenant. A normal integration uses an API key plus your stableexternal_user_id; it does not redirect users to MemoryOS or require a consent button.
Production boundaries
- Call MemoryOS from your backend; never expose API keys in browser or mobile code.
- Use stable pseudonymous user IDs rather than email addresses.
- Treat retrieved memory as context, not authorization or transactional truth.
- Use source metadata for retries and multi-service writes.
- Continue serving users when memory is empty, delayed, degraded, or unavailable.
Start building
- Quickstart - first tenant-memory integration
- Authentication - credentials and security boundaries
- Python SDK and TypeScript SDK
- Domain schemas