Skip to main content

Long-term memory for AI Agents

Project description

Mem0: Long-Term Memory for LLMs

Mem0 provides a smart, self-improving memory layer for Large Language Models, enabling personalized AI experiences across applications.

Features

  • Persistent memory for users, sessions, and agents
  • Self-improving personalization
  • Simple API for easy integration
  • Cross-platform consistency

Quick Start

Installation

pip install mem0

Usage

from mem0 import Mem0

# Initialize client
client = Mem0(api_key="your-api-key")

# Add memory
client.add("User preference: dark mode", user_id="user123")

# Retrieve memories
memories = client.get_all(user_id="user123")

# Update memory
client.update(memory_id, data="Updated information")

# Delete memory
client.delete(memory_id)

Documentation

For detailed usage and API reference, visit our documentation.

Getting Started

  1. Sign up at Mem0 Platform
  2. Get your API key from the dashboard
  3. Install the SDK and start integrating

Support

Join our slack or discord community for support and discussions.

License

Apache 2.0

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

memzero-0.0.7.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

memzero-0.0.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file memzero-0.0.7.tar.gz.

File metadata

  • Download URL: memzero-0.0.7.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.6 Darwin/23.5.0

File hashes

Hashes for memzero-0.0.7.tar.gz
Algorithm Hash digest
SHA256 0c1f413d8ee0ade955fe9f8b8f5aff2cf58bc94869537aca62139db3d9f50725
MD5 16fa5f18ee3cd3e5352020c89f44b350
BLAKE2b-256 c44bd9a0cc3eb44dfcf9fd8c468df2c50c618762f033aec5f1d5db438f52acbe

See more details on using hashes here.

File details

Details for the file memzero-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: memzero-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.6 Darwin/23.5.0

File hashes

Hashes for memzero-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 65f6da88d46263dbc05621fcd01bd09616d0e7f082d55ed9899dc2152491ffd2
MD5 47517106b475bce8959156bbc03ff34c
BLAKE2b-256 6dfe795bf77eda2caed4cadb8e641fb3e420a8ea16aba8d61f188b3ef6feb216

See more details on using hashes here.

Supported by

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