Microsoft.Agents.Storage
0.2.271-alpha
Prefix Reserved
This is a prerelease version of Microsoft.Agents.Storage.
dotnet add package Microsoft.Agents.Storage --version 0.2.271-alpha
NuGet\Install-Package Microsoft.Agents.Storage -Version 0.2.271-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.271-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.271-alpha" />
<PackageReference Include="Microsoft.Agents.Storage" />
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.271-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Agents.Storage, 0.2.271-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.
#addin nuget:?package=Microsoft.Agents.Storage&version=0.2.271-alpha&prerelease
#tool nuget:?package=Microsoft.Agents.Storage&version=0.2.271-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Microsoft.Agents.Storage
About
- An Agent is inherently stateless. Once your Agent is deployed, it may not run in the same process or on the same machine from one turn to the next. However, your Agent 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 Agent.
- Microsoft.Agents.State use Storage to persist state to memory, Azure Blobs, or CosmosDb.
Main Types
- IStorage
- MemoryStorage, which is suitable for testing an Agent. For production, see Microsoft.Agents.Blobs or Microsoft.Agents.CosmosDb.
Registering MemoryStorage
builder.Services.AddSingleton<IStorage, MemoryStorage>();
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.Agents.Core (>= 0.2.271-alpha)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.1)
- Microsoft.Extensions.Logging (>= 9.0.1)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Microsoft.Agents.Storage:
Package | Downloads |
---|---|
Microsoft.Agents.Client
Library for communicating with other Agents using Microsoft Agent SDK |
|
Microsoft.Agents.BotBuilder
Library for creating 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.Builder
Library for creating agents using Microsoft Agent SDK |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.2.271-alpha | 53 | 3/29/2025 |
0.2.267-alpha | 88 | 3/28/2025 |
0.2.257-alpha | 93 | 3/27/2025 |
0.2.180-alpha | 427 | 3/26/2025 |
0.2.171-alpha | 406 | 3/21/2025 |
0.2.162-alpha | 163 | 3/19/2025 |
0.2.154-alpha | 222 | 3/18/2025 |
0.2.153-alpha | 85 | 3/15/2025 |
0.2.151-alpha | 108 | 3/14/2025 |
0.2.146-alpha | 219 | 3/12/2025 |
0.2.141-alpha | 177 | 3/8/2025 |
0.2.137-alpha | 259 | 3/7/2025 |