Skip to main content

MemMachine Server - The complete MemMachine memory system server with episodic and profile memory

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_server-0.2.0rc2.tar.gz (178.8 kB view details)

Uploaded Source

Built Distribution

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

memmachine_server-0.2.0rc2-py3-none-any.whl (237.6 kB view details)

Uploaded Python 3

File details

Details for the file memmachine_server-0.2.0rc2.tar.gz.

File metadata

  • Download URL: memmachine_server-0.2.0rc2.tar.gz
  • Upload date:
  • Size: 178.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for memmachine_server-0.2.0rc2.tar.gz
Algorithm Hash digest
SHA256 6b07a2553260ab21228794da60ba1da463cfa224ad5cd2e6f8cc6b49dd78d69c
MD5 f4b1c4f11049625d5f94e1766cbacd5b
BLAKE2b-256 505dde768c855b3479a442354cc5e384d28e21641b556833cde2e3af8e7f5624

See more details on using hashes here.

Provenance

The following attestation bundles were made for memmachine_server-0.2.0rc2.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_server-0.2.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for memmachine_server-0.2.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 58e4f9c2016dbac148f460b98568045390983fe345e60f2446001d394d7abf3f
MD5 4dee60b1298e5ee63fa8a903469aeabb
BLAKE2b-256 b17b28057e6e524bdecf6baacd5f41a2909839b96cdbabe039c7b0128d85eef7

See more details on using hashes here.

Provenance

The following attestation bundles were made for memmachine_server-0.2.0rc2-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