Microsoft.Agents.AI.OpenAI
1.4.0
Prefix Reserved
dotnet add package Microsoft.Agents.AI.OpenAI --version 1.4.0
NuGet\Install-Package Microsoft.Agents.AI.OpenAI -Version 1.4.0
<PackageReference Include="Microsoft.Agents.AI.OpenAI" Version="1.4.0" />
<PackageVersion Include="Microsoft.Agents.AI.OpenAI" Version="1.4.0" />
<PackageReference Include="Microsoft.Agents.AI.OpenAI" />
paket add Microsoft.Agents.AI.OpenAI --version 1.4.0
#r "nuget: Microsoft.Agents.AI.OpenAI, 1.4.0"
#:package Microsoft.Agents.AI.OpenAI@1.4.0
#addin nuget:?package=Microsoft.Agents.AI.OpenAI&version=1.4.0
#tool nuget:?package=Microsoft.Agents.AI.OpenAI&version=1.4.0
About Microsoft Agent Framework
Microsoft Agent Framework is a comprehensive .NET library for building, orchestrating, and deploying AI agents and multi-agent workflows. The framework provides everything from simple chat agents to complex multi-agent systems with graph-based orchestration capabilities.
Key Features
- Multi-Agent Orchestration: Coordinate multiple agents using sequential, concurrent, group chat, and handoff patterns
- Graph-based Workflows: Connect agents and functions with streaming, checkpointing, and human-in-the-loop capabilities, with both imperative or declarative workflow support
- Multiple Provider Support: Seamlessly integrate with various LLM providers with more being added continuously
- Extensible Middleware: Flexible request/response processing with custom pipelines and exception handling
- Built-in Observability: OpenTelemetry integration for distributed tracing, monitoring, and debugging
- Cross-Platform: Compatible with .NET 8.0, .NET Standard 2.0, and .NET Framework for broad deployment options
Whether you're building simple AI assistants or complex multi-agent systems, Microsoft Agent Framework provides the tools and abstractions needed to create robust, scalable AI applications in .NET.
Getting Started ⚡
- Learn more at the documentation site.
- Join the Discord community.
- Follow the team on Semantic Kernel blog.
- Check out the GitHub repository for the latest updates.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Microsoft.Agents.AI (>= 1.4.0)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.6)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.Bcl.Memory (>= 10.0.5)
- Microsoft.Extensions.AI (>= 10.5.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.5.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.5.0)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.5.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.6)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.VectorData.Abstractions (>= 9.7.0)
- Microsoft.ML.Tokenizers (>= 2.0.0)
- OpenAI (>= 2.10.0)
- System.ClientModel (>= 1.10.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.6)
- System.Net.ServerSentEvents (>= 10.0.5)
- System.Text.Json (>= 10.0.6)
- System.Threading.Channels (>= 10.0.6)
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
.NETStandard 2.0
- Microsoft.Agents.AI (>= 1.4.0)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.6)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.Bcl.Memory (>= 10.0.5)
- Microsoft.Extensions.AI (>= 10.5.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.5.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.5.0)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.5.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.6)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.VectorData.Abstractions (>= 9.7.0)
- Microsoft.ML.Tokenizers (>= 2.0.0)
- OpenAI (>= 2.10.0)
- System.ClientModel (>= 1.10.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.6)
- System.Net.ServerSentEvents (>= 10.0.5)
- System.Text.Json (>= 10.0.6)
- System.Threading.Channels (>= 10.0.6)
- System.Threading.Tasks.Extensions (>= 4.6.3)
-
net10.0
- Microsoft.Agents.AI (>= 1.4.0)
- Microsoft.Extensions.AI (>= 10.5.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.5.0)
- Microsoft.Extensions.AI.Evaluation (>= 10.4.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.5.0)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.5.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.6)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.VectorData.Abstractions (>= 9.7.0)
- Microsoft.ML.Tokenizers (>= 2.0.0)
- OpenAI (>= 2.10.0)
- System.ClientModel (>= 1.10.0)
-
net8.0
- Microsoft.Agents.AI (>= 1.4.0)
- Microsoft.Extensions.AI (>= 10.5.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.5.0)
- Microsoft.Extensions.AI.Evaluation (>= 10.4.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.5.0)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.5.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.6)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.VectorData.Abstractions (>= 9.7.0)
- Microsoft.ML.Tokenizers (>= 2.0.0)
- OpenAI (>= 2.10.0)
- System.ClientModel (>= 1.10.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.6)
- System.Net.ServerSentEvents (>= 10.0.5)
- System.Text.Json (>= 10.0.6)
- System.Threading.Channels (>= 10.0.6)
-
net9.0
- Microsoft.Agents.AI (>= 1.4.0)
- Microsoft.Extensions.AI (>= 10.5.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.5.0)
- Microsoft.Extensions.AI.Evaluation (>= 10.4.0)
- Microsoft.Extensions.AI.OpenAI (>= 10.5.0)
- Microsoft.Extensions.Compliance.Abstractions (>= 10.5.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.6)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.6)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Microsoft.Extensions.VectorData.Abstractions (>= 9.7.0)
- Microsoft.ML.Tokenizers (>= 2.0.0)
- OpenAI (>= 2.10.0)
- System.ClientModel (>= 1.10.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.6)
- System.Net.ServerSentEvents (>= 10.0.5)
- System.Text.Json (>= 10.0.6)
- System.Threading.Channels (>= 10.0.6)
NuGet packages (20)
Showing the top 5 NuGet packages that depend on Microsoft.Agents.AI.OpenAI:
| Package | Downloads |
|---|---|
|
AgentFrameworkToolkit.OpenAI
An opinionated C# Toolkit targeting OpenAI for Microsoft Agent Framework that makes life eaisier |
|
|
AgentFrameworkToolkit.AzureOpenAI
An opinionated C# Toolkit targeting Azure OpenAI for Microsoft Agent Framework that makes life eaisier |
|
|
Soenneker.Maf.Pool.OpenAI
Provides OpenAI-specific registration extensions for MafPoolManager, enabling integration via Microsoft Agent Framework. |
|
|
Soenneker.Maf.Pool.Mistral
Provides Mistral-specific registration extensions for MafPoolManager, enabling integration with local LLMs via Microsoft Agent Framework. |
|
|
Soenneker.Maf.Pool.OpenAI.Azure
Provides Azure OpenAI-specific registration extensions for MafPoolManager, enabling integration via Microsoft Agent Framework. |
GitHub repositories (13)
Showing the top 13 popular GitHub repositories that depend on Microsoft.Agents.AI.OpenAI:
| Repository | Stars |
|---|---|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
|
AIDotNet/OpenDeepWiki
OpenDeepWiki is the open-source version of the DeepWiki project, aiming to provide a powerful knowledge management and collaboration platform. The project is mainly developed using C# and TypeScript, supporting modular design, and is easy to expand and customize.
|
|
|
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
|
|
|
microsoft/Generative-AI-for-beginners-dotnet
Five lessons, learn how to really apply AI to your .NET Applications
|
|
|
neozhu/CleanArchitectureWithBlazorServer
This repository is designed to create an enterprise Blazor Server application that follows the principles of Clean Architecture and implements Blazor Clean Architecture best practices for scalability, maintainability, and testability.
|
|
|
junkai-li/NetCoreKevin
基于.NET搭建-AI知识库智能体-现代化Saas企业级前后端分离架构:前端Vue3、IDS4单点登录、多缓存、自动任务、分布式、一库多租户、日志、授权和鉴权、CAP集成事件、SignalR、领域事件、MCP协议服务、IOC模块化注入、自动任务、多短信集成、AI、AgentFramework智能体、AISemanticKernel集成、RAG检索增强、本地离线AI模型调用、API多版本、单元测试、RabbitMQ、Skills技能使用、AI知识库、AI联网搜索
|
|
|
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
|
|
|
rwjdk/MicrosoftAgentFrameworkSamples
Samples demonstrating the Microsoft Agent Framework in C#
|
|
|
lindexi/lindexi_gd
博客用到的代码
|
|
|
jihadkhawaja/Egroo
A refined social platform for humans and AI agents. Private by default. Yours by design.
|
|
|
Azure-Samples/eShopLite
eShopLite is a set of reference .NET applications implementing an eCommerce site with features like Semantic Search, MCP, Reasoning models and more.
|
|
|
bingbing-gui/dotnet-agent-playbook
一个面向 .NET + AI Agent 开发的实践型仓库,涵盖 Web、云原生与微服务场景,聚焦智能应用的工程化落地。
|
|
|
Azure-Samples/interview-coach-agent-framework
Interview coach application using Microsoft Agent Framework | https://aka.ms/agentframework/interviewcoach
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.0 | 449 | 5/5/2026 |
| 1.3.0 | 27,245 | 4/24/2026 |
| 1.2.0 | 7,482 | 4/21/2026 |
| 1.1.0 | 55,651 | 4/10/2026 |
| 1.0.0 | 56,531 | 4/2/2026 |
| 1.0.0-rc5 | 12,663 | 3/31/2026 |
| 1.0.0-rc4 | 106,211 | 3/11/2026 |
| 1.0.0-rc3 | 31,457 | 3/4/2026 |
| 1.0.0-rc2 | 39,863 | 2/25/2026 |
| 1.0.0-rc1 | 37,695 | 2/20/2026 |
| 1.0.0-preview.260212.1 | 42,302 | 2/12/2026 |
| 1.0.0-preview.260209.1 | 8,578 | 2/10/2026 |
| 1.0.0-preview.260205.1 | 13,082 | 2/6/2026 |
| 1.0.0-preview.260128.1 | 23,280 | 1/28/2026 |
| 1.0.0-preview.260127.1 | 5,421 | 1/27/2026 |
| 1.0.0-preview.260121.1 | 30,330 | 1/21/2026 |
| 1.0.0-preview.260108.1 | 84,093 | 1/9/2026 |
| 1.0.0-preview.251219.1 | 77,026 | 12/19/2025 |
| 1.0.0-preview.251204.1 | 75,864 | 12/5/2025 |
| 0.0.1-preview.260417.2 | 53 | 4/17/2026 |