Welcome

MemHQ is hosted memory infrastructure for AI agents. Add, search, and synthesize memory with three endpoints.

Welcome to MemHQ

MemHQ is hosted memory infrastructure for AI agents. It turns unstructured conversation, documents, and events into a structured, queryable knowledge graph — extracting facts, preferences, decisions, and relationships, resolving contradictions over time, and surfacing the right slice of memory back to your agent on demand.

The surface area you'll spend most of your time in is small:

  • POST /v1/memhq/add — ingest a message, event, or document.
  • POST /v1/memhq/search — retrieve memories relevant to a query.
  • POST /v1/memhq/ask — get a synthesized answer with citations.

Everything else (projects, users, groups, ontology, webhooks) wraps those three.

Start here

How memory is shaped

A MemHQ project holds two complementary stores:

  1. Per-user graphs — private memory scoped to a single end-user ID. The default home for anything personal: preferences, history, ongoing threads.
  2. Group graphs — shared knowledge accessible to a defined set of users. Useful for team workspaces, customer accounts, or any context where multiple people read from the same memory.

Search and ask queries can target one, the other, or both. Storage-layer RBAC enforces who can read what — see RBAC.

What's next

If you're evaluating MemHQ, start with the Quickstart and the Benchmarks page. If you already have an API key, Memory API is the fastest path to a working integration.