Introduction and quickstart

MeMorae gives an AI application scoped, source-linked long-term memory. The application keeps control of its conversation and chooses when to save a source or use recalled context.

#What is MeMorae?

MeMorae is memory infrastructure for AI applications. A trusted application submits source messages; MeMorae processes supported memories and returns relevant, scoped context with evidence when the application searches.

#Choose your integration

Use hosted MCP for explicit memory tool calls. For automatic capture in an agent client, connect its supported message lifecycle to MeMorae. For a chatbot you control, integrate REST or the Python adapter into its backend. The capture mechanism depends on the application's integration capabilities; MCP registration alone does not forward conversations.

#How persistent memory works

The application chooses which source messages to submit. Extraction, activation checks, and search-index projection run as separate processing steps. The application later searches within the same project, stable subject, and namespace and decides whether returned context is useful.

#How memory differs from chat history

Chat history is the transcript maintained by your application. MeMorae stores submitted messages as sources, then extracts supported claims that can be searched across conversations. It complements the transcript and does not replace application conversation state.

#How projects, subjects, and namespaces isolate memory

The project API key selects a project. A stable subject ID separates one user or entity inside that project, and a namespace separates that subject’s memory spaces. Use the same project, subject, and namespace for saving and searching; MeMorae does not merge different scopes.

#Quickstart

Use the hosted API Base URL https://memora-singapore.onrender.com (or your own API origin if self-hosted). Copy a key from Dashboard → API Keys and the matching personal Subject ID from Projects → Connection details. Set MEMORA_API_KEY privately in your backend environment, then replace YOUR_SUBJECT_ID below. Save and search use the same key, subject, and namespace; processing is asynchronous. The curl example below requires a compatible shell. Use the same HTTP request contract with your preferred HTTP library or the Python integration examples.

shell
export MEMORA_API_URL=https://memora-singapore.onrender.com
# Set MEMORA_API_KEY in your server's secret environment first.
curl -X POST "$MEMORA_API_URL/v1/integrations/messages" \
  -H "Authorization: Bearer $MEMORA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subject_id":"YOUR_SUBJECT_ID","conversation_id":"chat:456","idempotency_key":"msg:789","namespace":"default","content":"I prefer oat milk."}'

# Once the source is processed and indexed:
curl -X POST "$MEMORA_API_URL/v1/integrations/memories/search" \
  -H "Authorization: Bearer $MEMORA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subject_id":"YOUR_SUBJECT_ID","query":"What milk do I prefer?","namespace":"default"}'

#Source messages and memory lifecycle

A submitted message is a source, not automatically a memory. Extraction can skip unsupported or sensitive claims; clear supported claims may activate automatically. Indexing is a separate asynchronous projection, so a new source may take time to appear in search.