Skip to main content

MemMachine REST Client - A lightweight Python client library for MemMachine memory system

Project description

MemMachine

Discord Ask DeepWiki GitHub License

Growing Community

MemMachine is a growing community of builders and developers. Please help us grow by clicking the Star button above.

Alt text

Universal memory layer for AI Agents

Meet MemMachine, an open-source memory layer for advanced AI agents. It enables AI-powered applications to learn, store, and recall data and preferences from past sessions to enrich future interactions. MemMachine's memory layer persists across multiple sessions, agents, and large language models, building a sophisticated, evolving user profile. It transforms AI chatbots into personalized, context-aware AI assistants designed to understand and respond with better precision and depth.

Who Is MemMachine For?

  • Developers building AI agents, assistants, or autonomous workflows.
  • Researchers experimenting with agent architectures and cognitive models.

Key Features

  • Multiple Memory Types: MemMachine supports Working (Short Term), Persistent (Long Term), and Personalized (Profile) memory types.
  • Developer Friendly APIs: Python SDK, RESTful, and MCP interfaces and endpoints to make integrating MemMachine easy into your Agents. For more information, refer to the API Reference Guide.

Architecture

  1. Agents Interact via the API Layer Users interact with an agent, which connects to the MemMachine Memory core through a RESTful API, Python SDK, or MCP Server.
  2. MemMachine Manages Memory MemMachine processes interactions and stores them in two distinct types: Episodic Memory for conversational context and Profile Memory for long-term user facts.
  3. Data is Persisted to Databases Memory is persisted to a database layer where Episodic Memory is stored in a graph database and Profile Memory is stored in an SQL database.

MemMachine Architecture

Use Cases & Example Agents

MemMachine's versatile memory architecture can be applied across any domain, transforming generic bots into specialized, expert assistants. Our growing list of examples showcases the endless possibilities of memory-powered agents that integrate into your own applications and solutions.

  • CRM Agent: Your agent can recall a client's entire history and deal stage, proactively helping your sales team build relationships and close deals faster.
  • Healthcare Navigator: Offer continuous patient support with an agent that remembers medical history and tracks treatment progress to provide a seamless healthcare journey.
  • Personal Finance Advisor: Your agent will remember a user's portfolio and risk tolerance, delivering personalized financial insights based on their complete history.
  • Content Writer: Build an assistant that remembers your unique style guide and terminology, ensuring perfect consistency across all documentation.

We're excited to see what you're working on. Join the Discord Server and drop a shout-out to your project in the showcase channel.

Quick Start

Want to get started right away? Check out our Quick Start Guide.

Installation

MemMachine is distributed as a Docker container and Python package. For full installation options, visit the documentation.

Basic Usage

Get started with a simple "Hello World" example by following the Quick Start Guide.

Documentation

Community & Support

Contributing

We welcome contributions! Please see our CONTRIBUTING.md for guidelines.

License

MemMachine is released under the Apache 2.0 License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memmachine_client-0.2.1.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

memmachine_client-0.2.1-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file memmachine_client-0.2.1.tar.gz.

File metadata

  • Download URL: memmachine_client-0.2.1.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for memmachine_client-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a6a04cd641c0a82430959e6bf2581e4c21aa2388be52375a99e988c31f54b88d
MD5 d485598c112b6bcd272375d3e50fd7f0
BLAKE2b-256 4fb405e3e6c7562c48ff9b45b8dfa040d4aa76d070127448db0634b2470f5998

See more details on using hashes here.

Provenance

The following attestation bundles were made for memmachine_client-0.2.1.tar.gz:

Publisher: pypi-publish.yml on MemMachine/MemMachine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file memmachine_client-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for memmachine_client-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d72f4896304733603f1be11d2fc5440afd059868c7bfc604ecaaec41996c880f
MD5 a4c6884b9f99a311426c1d8f7d258745
BLAKE2b-256 b736e446b032b0910c019a420c3a8e404aca2db83101ca700ed4dc28f4a329c5

See more details on using hashes here.

Provenance

The following attestation bundles were made for memmachine_client-0.2.1-py3-none-any.whl:

Publisher: pypi-publish.yml on MemMachine/MemMachine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page