Tessera.AgentFramework
0.1.0-rc2
This is a prerelease version of Tessera.AgentFramework.
dotnet add package Tessera.AgentFramework --version 0.1.0-rc2
NuGet\Install-Package Tessera.AgentFramework -Version 0.1.0-rc2
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="Tessera.AgentFramework" Version="0.1.0-rc2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tessera.AgentFramework" Version="0.1.0-rc2" />
<PackageReference Include="Tessera.AgentFramework" />
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 Tessera.AgentFramework --version 0.1.0-rc2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Tessera.AgentFramework, 0.1.0-rc2"
#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 Tessera.AgentFramework@0.1.0-rc2
#: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=Tessera.AgentFramework&version=0.1.0-rc2&prerelease
#tool nuget:?package=Tessera.AgentFramework&version=0.1.0-rc2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Tessera.AgentFramework
Microsoft Agent Framework integration for the Tessera vector database. Enables Retrieval Augmented Generation (RAG) and text search capabilities with Tessera as the vector search backend.
Features
- TextSearchProvider — Provides a configured
TextSearchProviderfor use as an AI context provider in Microsoft Agent Framework agents. - Embedding pipeline — Converts text queries to vector embeddings using
IEmbeddingGenerator<string, Embedding<float>>, searches Tessera for nearest neighbors, and maps results toTextSearchResult. - DI integration — Extension method
AddTesseraTextSearch()for easy registration inIServiceCollection.
Quick Start
// Register in DI
services.AddTesseraTextSearch(options =>
{
options.TenantId = "my-knowledge-base";
options.TopK = 5;
options.TextMetadataKey = "text";
options.SourceNameMetadataKey = "source_name";
options.SourceLinkMetadataKey = "source_url";
});
// Or create directly
var provider = new TesseraTextSearchProvider(tesseraClient, embeddingGenerator, searchOptions);
var textSearchProvider = provider.CreateTextSearchProvider();
// Use with a ChatClientAgent
var agent = chatClient.AsAIAgent(new ChatClientAgentOptions
{
AIContextProviders = [textSearchProvider]
});
Requirements
- Tessera.Client — Tessera vector database client
- An
IEmbeddingGenerator<string, Embedding<float>>implementation (e.g., from Azure OpenAI, OpenAI, or anyMicrosoft.Extensions.AIcompatible provider)
| Product | Versions 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
- Google.Protobuf (>= 3.34.0)
- Grpc.Net.Client (>= 2.76.0)
- Microsoft.Agents.AI (>= 1.0.0-rc4)
- Microsoft.Extensions.AI.Abstractions (>= 10.4.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Diagnostics.HealthChecks (>= 10.0.3)
- Microsoft.Extensions.Http (>= 10.0.3)
- Microsoft.Extensions.Http.Resilience (>= 9.10.0)
- Microsoft.Extensions.Logging (>= 10.0.3)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.3)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.3)
- Microsoft.Extensions.Resilience (>= 9.10.0)
- Microsoft.Extensions.VectorData.Abstractions (>= 10.0.1)
- Tessera.Client (>= 0.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.