Skip to main content
The General Engine is the default path for production agents that need governed durable user context without an industry-specific schema. Typical uses include long-lived assistants, coding agents, productivity copilots, SaaS personalization, and internal agents where preferences, goals, procedures, relationships, or user facts can change over time. It is not intended to replace complete transcripts, static document retrieval, or an application database. Short-lived agents whose entire required context already fits in one prompt may not need durable memory yet.

Memory categories

Write

add() authenticates the tenant, resolves external_user_id, runs the quality gate, queues extraction, resolves conflicts, stores memories, and indexes vectors — then returns a job result. Extraction is async.
Possible outcomes:
Blocking add() should not affect LLM calls.

Retrieve

Call get() before the model call. MemoryOS ranks memories by semantic relevance, importance, recency, and hot-tier signals, then returns system_prompt_addition ready to prepend.
Use a query that describes the current task. "answer this user's question" retrieves better than "preferences" or "memory".

When to switch to a domain schema

The General Engine is the right default. Move to a domain schema when your product needs structured domain memory:
  • EdTech — student profiles, weak topics, exams, forgetting stages
  • Support — customer issue history, support type, sentiment, escalation risk