Memory API

Add long-term memory to your LLM stack

A simple API for storing and retrieving structured memory. Give your product the context it keeps losing.

Start building

This is not a vector database

Vector search gives you similarity. Maindex gives you memory.

Start building with memory
Why this matters

Without memory, your product resets every session

Try the API
POST /v1/memories
{
  "headline": "User prefers annual pricing",
  "body": "Discussed in onboarding call. Strong preference for annual billing with upfront discount.",
  "tags": ["pricing", "preferences", "onboarding"]
}

Stored, tagged, linked, and queryable. That's it.

What you get

Structured storage

Memories with tags, links, and categories — not raw embeddings.

Semantic + relational recall

Query by meaning and follow connections between concepts.

REST API + MCP

REST for your backend. MCP for direct agent integration. Use both.

Start building with memory

Free tier included. Add persistent context to your product today.

Start building