Mem0 0.0.0-dev.27

This is a prerelease version of Mem0.
dotnet add package Mem0 --version 0.0.0-dev.27
                    
NuGet\Install-Package Mem0 -Version 0.0.0-dev.27
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mem0" Version="0.0.0-dev.27" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mem0" Version="0.0.0-dev.27" />
                    
Directory.Packages.props
<PackageReference Include="Mem0" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mem0 --version 0.0.0-dev.27
                    
#r "nuget: Mem0, 0.0.0-dev.27"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mem0@0.0.0-dev.27
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mem0&version=0.0.0-dev.27&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Mem0&version=0.0.0-dev.27&prerelease
                    
Install as a Cake Tool

Mem0

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official Mem0 OpenAPI specification using AutoSDK
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0

Usage

using Mem0;

using var client = new Mem0Client(apiKey);

Search Memories

Search for memories using semantic search.

using var client = new Mem0Client(apiKey);

// Search for relevant memories using a natural language query.
var results = await client.Memories.MemoriesSearchCreateAsync(
    query: "What are the user preferences?",
    userId: "test-user",
    topK: 5);

Add Memory

Add a memory from a conversation.

using var client = new Mem0Client(apiKey);

// Add a memory from a user conversation.
var results = await client.Memories.MemoriesCreateAsync(
    messages: [
        new Dictionary<string, string?>
        {
            ["role"] = "user",
            ["content"] = "I prefer dark mode in all my applications.",
        },
    ],
    userId: "test-user");

Support

Priority place for bugs: https://github.com/tryAGI/Mem0/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Mem0/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.0-dev.27 35 4/1/2026
0.0.0-dev.25 42 3/29/2026
0.0.0-dev.21 68 3/28/2026
0.0.0-dev.20 107 3/28/2026
0.0.0-dev.18 40 3/28/2026
0.0.0-dev.17 37 3/28/2026
0.0.0-dev.15 41 3/27/2026
0.0.0-dev.12 44 3/27/2026
0.0.0-dev.9 39 3/27/2026
0.0.0-dev.4 39 3/20/2026
0.0.0-dev.3 38 3/20/2026
0.0.0-dev.1 34 3/20/2026
0.0.0-dev 39 3/20/2026