Skip to main content

AI Memory and Conversation Management Framework - Simple as mem0, Powerful as MemU

Project description

MemU Banner

memU: The Next-Gen Memory Framework for AI Companions

PyPI version License: Apache 2.0 Python 3.8+ Discord Twitter Reddit WeChat

MemU is an open-source memory framework for AI companions—high accuracy, fast retrieval, low cost. It acts as an intelligent "memory folder" that adapts to different scenarios, from different companions senarios.

With memU, you can build AI companions that truly remember you. They learn who you are, what you care about, and grow alongside you through every interaction.

🥇 92.9% Accuracy - 💰 90% Cost Reduction - 🤖 AI Companion Specialized

  • AI Companion Specialization - Adapt to AI companions application
  • 92.9% Accuracy - State-of-the-art score in Locomo benchmark
  • Up to 70% Cost Reduction - Through optimized infrastructure
  • Advanced Retrieval Strategies - Multiple methods including semantic search, hybrid search, contextual retrieval
  • 24/7 Support - For enterprise customers

⭐ Star Us on GitHub

star-us

🚀 Join 1,000+ developers building the future of AI memory

Star MemU to get notified about new releases and join our growing community of AI developers building intelligent agents with persistent memory capabilities.

💬 Join our Discord community: https://discord.gg/hQZntfGsbJ


🚀Get Started

There are three ways to get started with MemU:

☁️ Cloud Version (Online Platform)

The fastest way to integrate your application with memU. Perfect for teams and individuals who want immediate access without setup complexity. We host the models, APIs, and cloud storage, ensuring your application gets the best quality AI memory.

  • Instant Access - Start integrating AI memories in minutes
  • Managed Infrastructure - We handle scaling, updates, and maintenance for optimal memory quality
  • Premium Support - Subscribe and get priority assistance from our engineering team

Step-by-step

Step 1: Create account & get your API key

Step 2: Add three lines to your code

pip install memu-py

# Example usage
from memu.memory import MemoryAgent
from memu.llm import OpenAIClient

memory_agent = MemoryAgent()

🏢 Enterprise Edition

For organizations requiring maximum security, customization, control and best quality:

  • Commercial License - Full proprietary features, commercial usage rights, white-labeling options
  • Custom Development - SSO/RBAC integration, dedicated algorithm team for scenario-specific framework optimization
  • Intelligence & Analytics - User behavior analysis, real-time production monitoring, automated agent optimization
  • Premium Support - 24/7 dedicated support, custom SLAs, professional implementation services

📧 Enterprise Inquiries: contact@nevamind.ai

🏠 Self-Hosting (Community Edition)

For users and developers who prefer local control, data privacy, or customization:

  • Data Privacy - Keep sensitive data within your infrastructure
  • Customization - Modify and extend the platform to fit your needs
  • Cost Control - Avoid recurring cloud fees for large-scale deployments

🚀 Coming Soon!


✨ Key Features

Autonomous Memory Management System

features

Organize - Autonomous Memory Management

Your memories are structured as intelligent folders managed by a dedicated memory agent. We do not do explicit modeling for memories. The memory agent automatically decides what to record, modify, or archive based on relevance and usage patterns. Think of it as having a personal librarian who knows exactly how to organize your thoughts.

Link - Interconnected Knowledge Graph

Memories don't exist in isolation. Our system automatically creates meaningful connections between related memories, building a rich network of hyperlinked documents. As your knowledge base grows, so does the web of relationships, making information discovery intuitive and contextual.

Evolve - Continuous Self-Improvement

Even when offline, your memory system keeps working. It generates new insights by analyzing existing memories, identifies patterns, and creates summary documents through self-reflection. Your knowledge base becomes smarter over time, not just larger.

Never Forget - Intelligent Retention System

We've revolutionized memory persistence with a dynamic importance algorithm. Recently referenced memories gain higher priority, ensuring that what matters most to you now stays readily accessible. The system adapts to your changing needs, keeping relevant information at your fingertips while gracefully archiving what's no longer critical.


🤫 Advantages

Higher Memory Accuracy

MemU achieves 92.09% average accuracy across all reasoning tasks, significantly outperforming competitors. Techical Report will be published soon!

Memory Accuracy Comparison

Flexible Retrieval Strategies

MemU provides a comprehensive suite of retrieval strategies, allowing you to choose the optimal approach for your specific scenario. From semantic similarity to category search, our flexible system adapts to your needs.

Human-Readable & Analyzable Memory Architecture

Unlike other memory frameworks that store information as fragmented sentences, MemU organizes memories as coherent, readable documents while simultaneously transforming raw data into structured, analyzable datasets. While competitors break down information into scattered fragments, MemU maintains complete context and relationships, enabling easy debugging, manual editing, seamless analytics, and effortless integration with existing workflows.


📚 Usage Guide & Research Highlights

Use Cases Demo

🎓 Use Cases

Use Case Description
AI Companion AI Companion
AI Role Play AI Role Play
AI Education AI Education
AI Therapy AI Therapy
AI Robot AI Robot
AI Creation AI Creation

🤝 Contributing

We build trust through open-source collaboration. Your creative contributions drive memU's innovation forward. Explore our GitHub issues and projects to get started and make your mark on the future of memU.

📋 Read our detailed Contributing Guide →

📄 License

By contributing to MemU, you agree that your contributions will be licensed under the Apache License 2.0.


🌍 Community

For more information please contact info@nevamind.ai

  • GitHub Issues: Report bugs, request features, and track development. Submit an issue

  • Discord: Get real-time support, chat with the community, and stay updated. Join us

  • X (Twitter): Follow for updates, AI insights, and key announcements. Follow us

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

memu_py-0.1.4.tar.gz (92.0 kB view details)

Uploaded Source

Built Distribution

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

memu_py-0.1.4-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

Details for the file memu_py-0.1.4.tar.gz.

File metadata

  • Download URL: memu_py-0.1.4.tar.gz
  • Upload date:
  • Size: 92.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for memu_py-0.1.4.tar.gz
Algorithm Hash digest
SHA256 81eeffe36863135780238cc06b9da7dd38575be98265212c580b310e90cb0d26
MD5 3aebcc5a4a66d337cbc6860f1cc2c24a
BLAKE2b-256 6ba4bdd8b1bf3f53378707bab195f8fd202a7a2fbd1017907a9ad44436556323

See more details on using hashes here.

Provenance

The following attestation bundles were made for memu_py-0.1.4.tar.gz:

Publisher: workflow.yml on NevaMind-AI/memU

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

File details

Details for the file memu_py-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: memu_py-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 95.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for memu_py-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef8ae631a3e5e9f2a83da445b0d181d03e550ad2a66aff7094a772c9af7b3c87
MD5 e68af43730607a0ed1bc5dfff8f04f7d
BLAKE2b-256 5db5788a491d67721e27e0b8798c1695686eb25374a0e9203caf607a214b5185

See more details on using hashes here.

Provenance

The following attestation bundles were made for memu_py-0.1.4-py3-none-any.whl:

Publisher: workflow.yml on NevaMind-AI/memU

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