Skip to content

Microsoft.Extensions.AI Integration

Cross-SDK comparison

See the centralized MEAI documentation for feature matrices and comparisons across all tryAGI SDKs.

The EachLabs SDK provides integration with Microsoft.Extensions.AI, enabling seamless interoperability with the unified .NET AI abstractions.

Installation

1
dotnet add package EachLabsAI

Usage

1
2
3
4
5
6
7
8
using Microsoft.Extensions.AI;
using EachLabs;

using var client = new EachLabsClient(
    apiKey: Environment.GetEnvironmentVariable("EACHLABS_API_KEY")!);

// Use with Microsoft.Extensions.AI abstractions
// See examples below for specific integration patterns

Next Steps