Documentation

Memsy Docs

Persistent memory for AI agents and applications. Official SDKs for Python and Node.js, plus the raw HTTP API.

Memsy turns the raw events your AI app produces — user messages, assistant replies, tool results — into structured, searchable long-term memory.

This site documents the Memsy HTTP API and the official client libraries. Code examples throughout the docs are tabbed for Python, Node.js, and cURL — pick the language you work in.

pip install memsy

What the SDKs do

  • Ship events to Memsy with a single ingest() call (batched, async on the server).
  • Retrieve semantically relevant memories with search().
  • Surface usage, rate-limit, and plan information on every response.
  • Map HTTP errors to strongly-typed exceptions (AuthenticationError, RateLimitExceeded, MemsyAuthError, …).
  • Retry rate-limited requests automatically with exponential backoff.

What they do not do

The SDKs are thin HTTP clients. They do not run memory extraction, embeddings, or vector search locally — all processing happens on the Memsy platform.

Ready? Head to the Quickstart.