ControlAgentNet.Providers.AzureOpenAI
0.1.1
dotnet add package ControlAgentNet.Providers.AzureOpenAI --version 0.1.1
NuGet\Install-Package ControlAgentNet.Providers.AzureOpenAI -Version 0.1.1
<PackageReference Include="ControlAgentNet.Providers.AzureOpenAI" Version="0.1.1" />
<PackageVersion Include="ControlAgentNet.Providers.AzureOpenAI" Version="0.1.1" />
<PackageReference Include="ControlAgentNet.Providers.AzureOpenAI" />
paket add ControlAgentNet.Providers.AzureOpenAI --version 0.1.1
#r "nuget: ControlAgentNet.Providers.AzureOpenAI, 0.1.1"
#:package ControlAgentNet.Providers.AzureOpenAI@0.1.1
#addin nuget:?package=ControlAgentNet.Providers.AzureOpenAI&version=0.1.1
#tool nuget:?package=ControlAgentNet.Providers.AzureOpenAI&version=0.1.1
ControlAgentNet.Providers.AzureOpenAI
<p align="center"> <img src="https://img.shields.io/github/license/ControlAgentNet/ControlAgentNet.Providers.AzureOpenAI" alt="License"> <img src="https://img.shields.io/github/actions/workflow/status/ControlAgentNet/ControlAgentNet.Providers.AzureOpenAI/ci.yml?branch=main" alt="CI"> <img src="https://img.shields.io/nuget/v/ControlAgentNet.Providers.AzureOpenAI" alt="NuGet Version"> </p>
Azure OpenAI provider module for ControlAgentNet agents.
What This Repository Contains
This repository publishes the ControlAgentNet.Providers.AzureOpenAI package.
It adds Azure OpenAI integration to a host application already built on the base ControlAgentNet packages.
What It Does
This package registers the Azure OpenAI chat client integration used by ControlAgentNet.Agents.
Use it when you want:
- Azure OpenAI as the provider for your agent
- ControlAgentNet base packages plus an Azure-backed model integration
- a provider module that stays separate from channels, tools, and other optional features
This repository does not include the base runtime itself. You still need the base packages from ControlAgentNet.Agents.
Installation
dotnet add package ControlAgentNet.Agents
dotnet add package ControlAgentNet.Providers.AzureOpenAI
Usage
using ControlAgentNet.Agents;
using ControlAgentNet.Providers.AzureOpenAI;
builder.Services.AddControlAgentAgent(builder.Configuration, builder.Environment, options =>
{
options.Id = "my-agent";
options.Name = "My Agent";
options.Instructions = "You are a helpful assistant.";
})
.AddAzureOpenAI();
Configuration
{
"AzureOpenAI": {
"Endpoint": "https://your-resource.openai.azure.com/",
"ApiKey": "YOUR_API_KEY",
"Deployment": "gpt-5-mini"
}
}
Store secrets in environment variables or secret stores, not in committed config files.
Build
dotnet restore ControlAgentNet.Providers.AzureOpenAI.slnx
dotnet build ControlAgentNet.Providers.AzureOpenAI.slnx -c Release
dotnet test ControlAgentNet.Providers.AzureOpenAI.slnx -c Release --no-build
dotnet pack ControlAgentNet.Providers.AzureOpenAI.slnx -c Release -o artifacts/nuget
Sample
The repository includes samples/HelloWorld.AzureOpenAI to demonstrate the package with a local inline engine and Azure OpenAI configuration.
Versioning
- local builds:
0.1.1-dev - pull requests:
0.1.1-preview.<run_number> - pushes to
main:0.1.1-alpha.<run_number> - tags like
v0.1.1: exact stable package version0.1.1
See VERSIONING.md for the release flow.
| 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. |
-
net10.0
- Azure.AI.OpenAI (>= 2.9.0-beta.1)
- ControlAgentNet.Agents (>= 0.1.1)
- Microsoft.Extensions.AI.OpenAI (>= 10.4.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.1 | 163 | 4/14/2026 |