github MemoriLabs/Memori v2.0.0
memori-v2.0.0

latest releases: v3.1.2, v3.1.1, v3.1.0...
3 months ago

We are releasing Memori v2, a major upgrade focused on modularity, performance, and improved memory handling.

Highlights

  • Refactored into a more modular and maintainable codebase.
  • Simplified memory architecture for easier usage and extension.
  • Long-term memory now works without conscious_ingest=true, aligning with the original design.
  • Improved performance with fewer API calls and optimized search.

Changes

  • conscious_ingest behavior redesigned:

    • Originally intended to handle only conscious-essential information (short-term personalization data such as your name, workplace, or other user-defining details).
    • In v2, conscious_ingest is no longer tied to long-term memory ingestion. Instead, it injects short-term context into the system prompt for personalization.
    • This keeps short-term, identity-related memory separate from long-term memory, which continues to grow automatically through auto_ingest.
  • Removed conscious_ingest processing from the main pipeline — now fully handled by memory_processing.

  • Simplified Pydantic schemas and reduced redundant API calls for faster execution.

  • Refactored search engine and memory handling with standardized SQLAlchemy integration.

  • Database connections modularized with adapter–connector design, enabling clean extensibility.

Provider Support

  • Added support for local and Azure OpenAI providers via the official OpenAI library.
  • Extended integration with Ollama and LM Studio.
  • Improved interception of LiteLLM, OpenAI.
  • Added examples showcasing how to use Memori with multiple OpenAI-compatible providers.

Database Support

  • Added support for MySQL and PostgreSQL using SQLAlchemy.
  • Support for remote databases via connection strings.
  • Modular database adapters (mysql_adapter, postgresql_adapter, sqlite_adapter) with corresponding connectors for clean extensibility.
  • Added examples demonstrating database integration and usage.

Fixes

  • Assistant loses context across questions in basic_usage.py #12
  • Resolved environment variable issues for OpenAI provider. #17
  • personal_assistant.py – Memory not saved + Assistant seems to partially forget preferences #13
  • The background analysis of memory_agent, conscious_agent #20
  • memory_agent isn't working ! #23
  • Support for better Search methods in Memori for multi-database support #24
  • Add support & docs for connecting to local OpenAI-compatible endpoints #40
  • Improved memory schema for clarity, performance, and consistency.

Don't miss a new Memori release

NewReleases is sending notifications on new releases.