Skip to content

programmer-aarya7/memU

 
 

Repository files navigation

MemU Banner

MemU: The Next-Gen Agentic Memory System

PyPI version License: Apache 2.0 Python 3.8+ Discord Twitter

MemU is a next-generation Agentic Memory System that redesigns Agent memory architecture from a memory-centric perspective—abstracting it as a dynamically evolving data layer that intelligently organizes and retrieves relevant information based on context. Through adaptive retrieval and backtracking mechanisms, it dynamically extracts the most pertinent information. The system employs a Unified Multimodal Memory architecture with native support for diverse data types including text, images, and audio, forming a cohesive memory representation.

Visit our homepage: memu.pro


⭐ Star Us on GitHub

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

star-us

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


🚀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

Create account on https://app.memu.so

Then, go to https://app.memu.so/api-key/ for generating api-keys.

Step 2: Add three lines to your code

pip install memu-py

# Example usage
from memu import MemuClient

Step 3: Quick Start

# Initialize
memu_client = MemuClient(
    base_url="https://api.memu.so", 
    api_key=os.getenv("MEMU_API_KEY")
)
memu_client.memorize_conversation(
    conversation=conversation_text, # Recommend longer conversation (~8000 tokens), see https://memu.pro/blog/memu-best-practice for details
    user_id="user001", 
    user_name="User", 
    agent_id="assistant001", 
    agent_name="Assistant"
)

Check API reference or our blog for more details.

📖 See example/client/memory.py for complete integration details

That's it! MemU remembers everything and helps your AI learn from past conversations.

🏢 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

See self hosting README


✨ Key Features

🎥 Demo Video

MemU Demo Video
Click to watch the MemU demonstration video

🎓 Use Cases


AI Companion

AI Role Play

AI IP Characters

AI Education

AI Therapy

AI Robot

AI Creation
More...

🤝 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


🤝 Ecosystem

We're proud to work with amazing organizations:

Development Tools

Ten OpenAgents Camel Eigent Ten xRoute jazz buddie bytebase


Interested in partnering with MemU? Contact us at contact@nevamind.ai


📱 Join Our WeChat Community

Connect with us on WeChat for the latest updates, community discussions, and exclusive content:

MemU WeChat and discord QR Code

Scan any of the QR codes above to join our WeChat community


Stay connected with the MemU community! Join our WeChat groups for real-time discussions, technical support, and networking opportunities.

About

MemU is an open-source memory framework for AI companions

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.2%
  • TypeScript 11.4%
  • JavaScript 3.9%
  • Other 1.5%