---
title: "mem0ai 2.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each mem0ai release removed, renamed or changed: 130 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/mem0ai
last_updated: 2026-12-04
---

# mem0ai breaking changes

mem0ai 2.0.0 (April 16, 2026) is its newest release with breaking changes, 120 of them. The first: Removed api_version. Every breaking API change we have recorded in mem0ai on PyPI: 130 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.2.1`, released September 25, 2026. [Source repository](https://github.com/mem0ai/mem0)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 121 breaking changes in 2 versions.

## mem0ai 2.0.0 breaking changes

mem0ai 2.0.0, released April 16, 2026: 120 breaking changes.

- **Removed** `api_version`  

The api_version parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `API_VERSION`  

The API_VERSION enum is removed and handled internally. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)
- **Removed** `async_mode`  

The async_mode parameter is removed because add is async by default. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `batch_size`  

The batch_size parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `custom_update_memory_prompt`  

The custom_update_memory_prompt option is removed. Use custom_instructions instead. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `enableGraph`  

Graph memory config is removed from the TypeScript OSS SDK and is only available on Mem0 Platform. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)
- **Removed** `excludes`  

The excludes parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `expiration_date`  

The expiration_date parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `filter_memories`  

The filter_memories parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `force_add_only`  

The force_add_only parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `graphStore`  

The graphStore config block is no longer read. Remove it from your config. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)
- **Removed** `immutable`  

The immutable parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `includes`  

The includes parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `keyword_search`  

The keyword_search parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `mem0.AsyncMemory.__aenter__`  

AsyncMemory.\_\_aenter\_\_ was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.AsyncMemory.__aexit__`  

AsyncMemory.\_\_aexit\_\_ was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.configs.base.GraphStoreConfig`  

mem0.configs.base.GraphStoreConfig was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.configs.base.MemoryConfig.custom_fact_extraction_prompt`  

MemoryConfig.custom_fact_extraction_prompt was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.configs.base.MemoryConfig.custom_update_memory_prompt`  

MemoryConfig.custom_update_memory_prompt was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.configs.base.MemoryConfig.graph_store`  

Graph memory is removed from the open-source SDK and is only available on Mem0 Platform. Remove graph_store config and graph driver packages. [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.exceptions.GraphStoreError`  

mem0.exceptions.GraphStoreError was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.graphs`  

mem0.graphs was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.Memory.__enter__`  

Memory.\_\_enter\_\_ was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.Memory.__exit__`  

Memory.\_\_exit\_\_ was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.apache_age_memory`  

mem0.memory.apache_age_memory was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.Memory.custom_fact_extraction_prompt`  

Memory.custom_fact_extraction_prompt was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.Memory.custom_update_memory_prompt`  

Memory.custom_update_memory_prompt was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.Memory.enable_graph`  

The enable_graph parameter is removed from MemoryConfig and related APIs. Code that passes it will no longer work. [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.Memory.graph`  

Memory.graph was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.graph_memory`  

mem0.memory.graph_memory was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.kuzu_memory`  

mem0.memory.kuzu_memory was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.main.ensure_json_instruction`  

mem0.memory.main.ensure_json_instruction was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.main.get_fact_retrieval_messages`  

mem0.memory.main.get_fact_retrieval_messages was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.main.get_update_memory_messages`  

mem0.memory.main.get_update_memory_messages was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.main.GraphStoreFactory`  

mem0.memory.main.GraphStoreFactory was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.main.normalize_facts`  

mem0.memory.main.normalize_facts was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `mem0.memory.memgraph_memory`  

mem0.memory.memgraph_memory was removed in mem0ai 2.0.0 [pypi.org](https://pypi.org/project/mem0ai/2.0.0/)
- **Removed** `MemoryClient.org_id`  

MemoryClient no longer accepts org_id. Construct it with api_key only. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `MemoryClient.project_id`  

MemoryClient no longer accepts project_id. Construct it with api_key only. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `org_name`  

The org_name parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `output_format`  

The output_format parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `OutputFormat`  

The OutputFormat enum is removed; v1.1 output is always used. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)
- **Removed** `project_name`  

The project_name parameter is removed. Remove it from all calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Removed** `relations`  

The relations array is no longer returned in OSS because graph memory was removed. Code that reads it must move to Platform or change. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)
- **Renamed** `custom_fact_extraction_prompt`  

The config key custom_fact_extraction_prompt is renamed to custom_instructions. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Renamed** `customPrompt`  

The customPrompt config key is renamed to customInstructions. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)
- **Renamed** `search`  

The limit option of search is renamed to topK in the TypeScript OSS SDK. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)
- **Behavior changed** `add`  

add is async by default and returns a PENDING status with an event_id. Poll the event endpoint to confirm completion. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Behavior changed** `get_all`  

get_all now returns an object with count, next, previous and results keys. Update code that iterates the return value directly. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0)
- **Behavior changed** `score`  

Scores still range from 0 to 1 but are calculated differently, so absolute values shift. Retune hard thresholds against real queries. [docs.mem0.ai](https://docs.mem0.ai/migration/oss-v2-to-v3)

And 70 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## mem0ai 2.0.0b0 breaking changes

mem0ai 2.0.0b0, released April 16, 2026: 1 breaking change.

- **Removed**  

Deprecated parameters are removed across LLM, embedding, vector store and graph components. Code that passes them must drop them. [github.com](https://github.com/mem0ai/mem0/releases/tag/v2.0.0b0)

## mem0ai 1.0.0 breaking changes

mem0ai 1.0.0, released October 16, 2025: 9 breaking changes.

- **Default changed**  

Async mode is now enabled by default. Code that relied on the previous default may need to opt out or adjust how it awaits calls. [github.com](https://github.com/mem0ai/mem0/releases/tag/v1.0.0)
- **Default changed** `add`  

The add calls in the AI SDK now default to version=v2. Code that depends on the old default behavior should pass the version explicitly. [github.com](https://github.com/mem0ai/mem0/releases/tag/v1.0.0)
- **Signature changed** `mem0.memory.main.get_fact_retrieval_messages`  

Was def get_fact_retrieval_messages(message); now def get_fact_retrieval_messages(message, is_agent_memory=False). [pypi.org](https://pypi.org/project/mem0ai/1.0.0/)
- **Signature changed** `mem0.Memory.search`  

Was def search(self, query: str, \*, user_id: Optional\[str\] = None, agent_id: Optional\[str\] = None, run_id: Optional\[str\] = None, limit: int = 100, filters: Optional\[Dict\[str, Any\]\] = None, threshold: Optional\[float\] = None); now def... [pypi.org](https://pypi.org/project/mem0ai/1.0.0/)
- **Signature changed** `mem0.memory.utils.get_fact_retrieval_messages`  

Was def get_fact_retrieval_messages(message); now def get_fact_retrieval_messages(message, is_agent_memory=False). [pypi.org](https://pypi.org/project/mem0ai/1.0.0/)
- **Signature changed** `mem0.MemoryClient.add`  

Was def add(self, messages: List\[Dict\[str, str\]\], \*\*kwargs) -> Dict\[str, Any\]; now def add(self, messages, \*\*kwargs) -> Dict\[str, Any\]. [pypi.org](https://pypi.org/project/mem0ai/1.0.0/)
- **Signature changed** `mem0.MemoryClient.get_all`  

Was def get_all(self, version: str = 'v1', \*\*kwargs) -> List\[Dict\[str, Any\]\]; now def get_all(self, \*\*kwargs) -> Dict\[str, Any\]. [pypi.org](https://pypi.org/project/mem0ai/1.0.0/)
- **Signature changed** `mem0.MemoryClient.search`  

Was def search(self, query: str, version: str = 'v1', \*\*kwargs) -> List\[Dict\[str, Any\]\]; now def search(self, query: str, \*\*kwargs) -> Dict\[str, Any\]. [pypi.org](https://pypi.org/project/mem0ai/1.0.0/)
- **Signature changed** `mem0.vector_stores.milvus.MilvusDB.create_col`  

Was def create_col(self, collection_name: str, vector_size: str, metric_type: MetricType = MetricType.COSINE) -> None; now def create_col(self, collection_name: str, vector_size: int, metric_type: MetricType = MetricType.COSINE) -> None. [pypi.org](https://pypi.org/project/mem0ai/1.0.0/)

## Related packages

- [@mem0/vercel-ai-provider](https://since.dev/packages/npm/@mem0/vercel-ai-provider.md):  on npm
- [mem0ai](https://since.dev/packages/npm/mem0ai.md):  on npm

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
