Skip to content

SDKs

Momo provides official SDKs for building applications on top of the Momo API.

LanguagePackageStatus
TypeScript@momomemory/sdkStable
Pythonmomo-sdkBeta

Both SDKs follow the same design:

  • Handwritten ergonomic client on top of generated OpenAPI types
  • Grouped API methods (documents, memories, search, etc.)
  • Automatic auth injection via Bearer token
  • Response envelope unwrapping (the { data, meta } envelope is handled internally)
  • Typed errors via MomoError with status code, error code, and message
  • Default container tag applied automatically to scoped requests
  • Raw client access for advanced use cases not covered by the high-level API

All SDKs require:

  1. A running Momo server — See Self-Hosting to set one up
  2. Momo server URL — Default is http://localhost:3000
  3. API key — Only if your server has MOMO_API_KEYS configured

Every SDK client exposes these resource groups:

GroupDescription
documentsCreate, upload, list, update, delete documents
memoriesCreate, list, update, forget memories
searchHybrid search across documents and memories
conversationsIngest conversation threads as memories
graphQuery the memory/document knowledge graph
profileCompute container profiles
adminAdministrative operations (forgetting passes)
healthServer health checks