Microsoft.Agents.Storage 0.2.137-alpha

Prefix Reserved
This is a prerelease version of Microsoft.Agents.Storage.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Agents.Storage --version 0.2.137-alpha
                    
NuGet\Install-Package Microsoft.Agents.Storage -Version 0.2.137-alpha
                    
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="Microsoft.Agents.Storage" Version="0.2.137-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Agents.Storage" Version="0.2.137-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Agents.Storage" />
                    
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 Microsoft.Agents.Storage --version 0.2.137-alpha
                    
#r "nuget: Microsoft.Agents.Storage, 0.2.137-alpha"
                    
#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 Microsoft.Agents.Storage@0.2.137-alpha
                    
#: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=Microsoft.Agents.Storage&version=0.2.137-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Agents.Storage&version=0.2.137-alpha&prerelease
                    
Install as a Cake Tool

Microsoft.Agents.Storage

About

  • A bot is inherently stateless. Once your bot is deployed, it may not run in the same process or on the same machine from one turn to the next. However, your bot may need to track the context of a conversation so that it can manage its behavior and remember answers to previous questions. The state and storage features of the Agents SDK allow you to add state to your bot.
  • Microsoft.Agents.State use Storage to persist state to memory, Azure Blobs, or CosmosDb.

Main Types

  • IStorage
  • MemoryStorage, which is suitable for testing a bot. For a production bot, see Microsoft.Agents.Blobs or Microsoft.Agents.CosmosDb.

Registering MemoryStorage

builder.Services.AddSingleton<IStorage, MemoryStorage>();
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 (5)

Showing the top 5 NuGet packages that depend on Microsoft.Agents.Storage:

Package Downloads
Microsoft.Agents.Builder

Library for creating agents using Microsoft Agent SDK

Microsoft.Agents.Client

Library for communicating with other Agents using Microsoft Agent SDK

Microsoft.Agents.Storage.Blobs

Azure Blobs IStorage for the Microsoft Agents SDK

Microsoft.Agents.Storage.CosmosDb

CosmosDb IStorage for the Microsoft Agents SDK

Microsoft.Agents.BotBuilder

Library for creating agents using Microsoft Agent SDK

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.63-beta 406 10/1/2025
1.3.58-beta 1,505 9/25/2025
1.3.57-beta 1,414 9/24/2025
1.3.52-beta 469 9/23/2025
1.3.47-beta 791 9/20/2025
1.3.22-beta 1,307 9/15/2025
1.3.20-beta 290 9/13/2025
1.3.17-beta 571 9/4/2025
1.3.15-beta 376 9/3/2025
1.3.13-beta 535 8/23/2025
1.3.10-beta 303 8/22/2025
1.3.9-beta 386 8/20/2025
1.3.1-beta 362 8/19/2025
1.2.41 9,589 8/19/2025
1.2.40-beta 397 8/16/2025
1.2.36-beta 357 8/15/2025
1.2.32-beta 743 8/8/2025
1.2.29-beta 414 7/31/2025
1.2.27-beta 302 7/30/2025
1.2.21-beta 238 7/29/2025
1.2.19-beta 585 7/19/2025
1.2.17-beta 392 7/18/2025
1.2.10-beta 457 7/16/2025
1.2.3-beta 466 7/15/2025
1.2.1-beta 413 7/13/2025
1.1.151 4,600 7/15/2025
1.1.150-beta 450 7/12/2025
1.1.147-beta 424 7/11/2025
1.1.145-beta 650 7/8/2025
1.1.139-beta 441 7/4/2025
1.1.136-beta 526 7/2/2025
1.1.128-beta 558 6/26/2025
1.1.127-beta 455 6/24/2025
1.1.126-beta 474 6/21/2025
1.1.125-beta 710 6/13/2025
1.1.113-beta 604 6/11/2025
1.1.110-beta 468 6/6/2025
1.1.109-beta 461 6/4/2025
1.1.107-beta 431 5/31/2025
1.1.103-beta 478 5/29/2025
1.1.100-beta 500 5/28/2025
1.1.95-beta 373 5/24/2025
1.1.93-beta 484 5/20/2025
1.1.91-beta 564 5/17/2025
1.1.81-beta 436 5/16/2025
1.1.68-beta 482 5/15/2025
1.1.67-beta 482 5/14/2025
1.1.51-beta 487 5/13/2025
1.1.47-beta 357 5/10/2025
1.1.45-beta 362 5/9/2025
1.1.40-beta 533 5/8/2025
1.1.32-beta 374 5/7/2025
1.1.30-beta 458 5/6/2025
1.1.28-beta 417 5/4/2025
1.1.25-beta 327 5/3/2025
1.1.18-beta 354 5/2/2025
1.1.17-beta 430 5/1/2025
1.1.10-beta-g85ab16e4d9 397 4/30/2025
1.1.1-beta 338 4/24/2025
1.0.1 9,512 4/24/2025
0.2.361-alpha 2,382 4/23/2025
0.2.358-alpha 420 4/22/2025
0.2.346-alpha 410 4/19/2025
0.2.343-alpha 294 4/18/2025
0.2.339-alpha 330 4/17/2025
0.2.315-alpha 378 4/16/2025
0.2.314-alpha 305 4/12/2025
0.2.308-alpha 297 4/10/2025
0.2.295-alpha 303 4/9/2025
0.2.290-alpha 352 4/8/2025
0.2.287-alpha 235 4/5/2025
0.2.286-alpha 255 4/4/2025
0.2.282-alpha 298 4/3/2025
0.2.277-alpha 415 4/1/2025
0.2.271-alpha 259 3/29/2025
0.2.267-alpha 271 3/28/2025
0.2.257-alpha 417 3/27/2025
0.2.180-alpha 599 3/26/2025
0.2.171-alpha 1,860 3/21/2025
0.2.162-alpha 292 3/19/2025
0.2.154-alpha 567 3/18/2025
0.2.153-alpha 214 3/15/2025
0.2.151-alpha 221 3/14/2025
0.2.146-alpha 491 3/12/2025
0.2.141-alpha 307 3/8/2025
0.2.137-alpha 410 3/7/2025