Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt

Use this file to discover all available pages before exploring further.

Synap in 90 seconds

What is Maximem Synap? Synap is a managed memory layer for AI agents. It ingests conversations and documents, extracts structured knowledge (facts, preferences, episodes, emotions, temporal events), and serves ranked, scope-aware context back to your agent at retrieval time.When should I use it?
  • You’re building an agent that needs to remember users, customers, or organizations across sessions.
  • You want structured memory (entities, preferences, episodes) without running a vector DB or building a retrieval pipeline.
  • You need multi-tenant memory scoping (per-user, per-customer, per-org) out of the box.
What languages/runtimes? Python 3.11+ (primary) and JavaScript/TypeScript on Node.js 18+. The JS SDK is a thin wrapper that spawns the Python SDK as a subprocess, so it also requires Python 3.11+ on the host and does not run on Edge Runtime, Cloudflare Workers, Bun, Deno Deploy, or AWS Lambda Node-only runtimes — see Installation.Install:
pip install maximem-synap
Start the 10-minute quickstart →  ·  Try Synap in the live playground →

Quickstart

Zero to working memory in 10 minutes — install the SDK, create an instance, ingest and retrieve.

Setup & Integration

Install, authenticate, and wire Synap into FastAPI / Flask / Next.js / Django.

SDK Reference

Full Python SDK reference — initialization, ingestion, context fetch, compaction, error handling.

Guides

Hands-on walkthroughs: first integration, multi-user scoping, production checklist, migration.

Core Concepts

Memory scopes, entity resolution, the ingestion-to-retrieval lifecycle, MACA, and use-case markdown.

Dashboard

Manage instances and memory architecture from the Synap Dashboard.

What you can build

Synap handles the hard parts of agent memory so you can focus on building great AI experiences:
  • Personalized chatbots that remember user preferences, past interactions, and evolving context across sessions
  • Context-aware support agents that recall customer history, previous tickets, and account details without re-asking
  • Agents that learn over time by extracting and retaining facts, preferences, emotions, and temporal events from every conversation
  • Multi-user, memory-scoped applications where each user, customer, or organization has isolated, structured memory boundaries

How it works

Three calls, end to end:
import uuid
# 1. Ingest a turn after it happens
await sdk.memories.create(
    document="User: I prefer dark mode.\nAssistant: Got it!",
    document_type="ai-chat-conversation",
    user_id="user_123",
    customer_id="acme_corp",
)

# 2. Retrieve relevant memory before the next LLM call
ctx = await sdk.conversation.context.fetch(
    conversation_id=str(uuid.uuid4()),
    search_query=["user preferences"],
)

# 3. Inject ctx.facts / ctx.preferences into your system prompt — done.
Behind those three calls, Synap categorizes the content, extracts facts, preferences, episodes, emotions, and temporal events, resolves entities across conversations, and stores everything in vector + graph engines. For the full mental model see What is Synap?.

Three layers

Synap three layers: your app with the SDK, Synap Cloud handling the managed pipeline and storage, and the Dashboard web UI for configuration and monitoring
ComponentRoleHow you interact
SDKRuns in your application. Handles ingestion, retrieval, auth, streaming.pip install maximem-synap
Synap CloudManaged backend. Pipeline + storage + retrieval.Fully managed — nothing to deploy
DashboardWeb UI for instances, memory architecture, monitoring.synap.maximem.ai
Synap is async-first. The SDK uses Python’s asyncio for non-blocking operations, and the ingestion pipeline processes memories asynchronously so your application stays responsive.