SemanticKernel.Agents.Memory.Abstractions 0.0.1-beta12

This is a prerelease version of SemanticKernel.Agents.Memory.Abstractions.
dotnet add package SemanticKernel.Agents.Memory.Abstractions --version 0.0.1-beta12
                    
NuGet\Install-Package SemanticKernel.Agents.Memory.Abstractions -Version 0.0.1-beta12
                    
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="SemanticKernel.Agents.Memory.Abstractions" Version="0.0.1-beta12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SemanticKernel.Agents.Memory.Abstractions" Version="0.0.1-beta12" />
                    
Directory.Packages.props
<PackageReference Include="SemanticKernel.Agents.Memory.Abstractions" />
                    
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 SemanticKernel.Agents.Memory.Abstractions --version 0.0.1-beta12
                    
#r "nuget: SemanticKernel.Agents.Memory.Abstractions, 0.0.1-beta12"
                    
#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 SemanticKernel.Agents.Memory.Abstractions@0.0.1-beta12
                    
#: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=SemanticKernel.Agents.Memory.Abstractions&version=0.0.1-beta12&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SemanticKernel.Agents.Memory.Abstractions&version=0.0.1-beta12&prerelease
                    
Install as a Cake Tool

SemanticKernel.Agents.Memory.Abstractions

NuGet License

Overview

This package provides the core abstractions and interfaces for the SemanticKernel Agents Memory system. It defines the fundamental contracts that enable memory ingestion, search, and retrieval functionality across the entire memory pipeline.

Key Components

Core Models

  • Document: Represents a document in the memory system with metadata and content
  • Chunk: Represents a processed text chunk with embeddings and metadata
  • SearchResult: Contains search results with relevance scores and source references
  • Answer: Structured response containing AI-generated answers with citations
  • SourceReference: Tracks the origin and location of content within documents

Core Interfaces

  • ISearchClient: Defines search operations for querying the memory system
  • IPromptProvider: Provides prompts for various memory operations

Installation

dotnet add package SemanticKernel.Agents.Memory.Abstractions

Basic Usage

using SemanticKernel.Agents.Memory;

// Use the abstractions to implement custom memory components
public class CustomSearchClient : ISearchClient
{
    public async Task<SearchResult[]> SearchAsync(
        string index,
        string query,
        CancellationToken cancellationToken = default)
    {
        // Your custom search implementation
    }

    // ... other interface members
}

Dependencies

  • Microsoft.SemanticKernel.Abstractions

Documentation

For complete documentation and examples, visit the main repository.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SemanticKernel.Agents.Memory.Abstractions:

Package Downloads
SemanticKernel.Agents.Memory.Core

Core logic for SemanticKernel Agents Memory.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1-beta12 117 9/8/2025