# mem0ai/mem0 · RepoSense Release & Migration Intelligence

> Core: `add()` (`Memory` and `AsyncMemory`) no longer repor. Drop-in upgrade. Migration: None.

## Metadata
- **Repository URL**: https://github.com/mem0ai/mem0
- **Primary Package**: `mem0ai` (NPM)
- **Categories**: `VECTOR-DB`, `AI-AGENT`, `DATABASE`
- **Latest Version**: `v2.2.1`
- **Semantic Status**: `COMPATIBLE`
- **Bundle Size Impact (unavailable)**: `Size Unavailable`
- **Atom Ingestion Feed**: https://github.com/mem0ai/mem0/releases.atom

## The Human Context (Plain-English Pitch)
mem0ai is an open-source library and developer tool in the mem0ai/mem0 ecosystem. It saves developers from writing repetitive low-level boilerplate from scratch by providing a battle-tested, open-source implementation ready for production.

## Stage 1 Executive Summary ([Core Change] + [Required Action] + [Migration Effort])
Core: `add()` (`Memory` and `AsyncMemory`) no longer repor. Drop-in upgrade. Migration: None.

## Breaking Changes & Required Actions
- **Core:** `add()` (`Memory` and `AsyncMemory`) no longer reports records the vector store rejected as successful `ADD` events. Only records that were actually inserted are writt...
- **Core:** Restore the context-manager protocol on `Memory` (`with Memory() as m:`) and `AsyncMemory` (`async with AsyncMemory() as m:`), which closes the instance on exit (#7354)
- **LLMs:** The AWS Bedrock Anthropic path now returns the first Converse content block that carries text instead of always reading `content[0]`. Claude reasoning models can emit ...
- **Vector Stores:** Turbopuffer filters now apply every operator (`eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`). Only `gte` and `lte` were read before, so any other operator...

## Migration Snippet
```ts
npm install mem0ai@2.2.1
```

## Ecosystem Compatibility Matrix & Graph Warnings
- **TypeScript 5.x** [`COMPATIBLE`]: Ships standard TypeScript declaration files without type regressions.

## Zero-Noise Release Timeline
- **v2.2.1** (2026-09-25) [COMPATIBLE]: Core: `add()` (`Memory` and `AsyncMemory`) no longer repor. Drop-in upgrade. Migration: None.

## Upgrade & Migration Q&A (GEO Direct Answers)
### Is mem0ai/mem0 v2.2.1 safe to upgrade in production?
mem0ai/mem0 v2.2.1 is classified as COMPATIBLE (PATCH release). Core: `add()` (`Memory` and `AsyncMemory`) no longer repor. Drop-in upgrade. Migration: None.

### What breaking changes or compatibility risks exist in mem0ai/mem0 v2.2.1?
No breaking API changes or peer dependency conflicts are recorded for mem0ai/mem0 v2.2.1 in the RepoSense compatibility graph.

### What is the bundle size impact of mem0ai v2.2.1?
Measured bundle size telemetry is currently unavailable for mem0ai v2.2.1; verify build output locally before deploying.

### How do I upgrade mem0ai to v2.2.1?
Upgrade mem0ai to v2.2.1 by running "npm install mem0ai@2.2.1" and applying the migration steps: npm install mem0ai@2.2.1
