Ananke.Orchestration.OpenAI
0.9.0
dotnet add package Ananke.Orchestration.OpenAI --version 0.9.0
NuGet\Install-Package Ananke.Orchestration.OpenAI -Version 0.9.0
<PackageReference Include="Ananke.Orchestration.OpenAI" Version="0.9.0" />
<PackageVersion Include="Ananke.Orchestration.OpenAI" Version="0.9.0" />
<PackageReference Include="Ananke.Orchestration.OpenAI" />
paket add Ananke.Orchestration.OpenAI --version 0.9.0
#r "nuget: Ananke.Orchestration.OpenAI, 0.9.0"
#:package Ananke.Orchestration.OpenAI@0.9.0
#addin nuget:?package=Ananke.Orchestration.OpenAI&version=0.9.0
#tool nuget:?package=Ananke.Orchestration.OpenAI&version=0.9.0
Ananke.Orchestration.OpenAI
OpenAI provider for Ananke.Orchestration — ChatClient-based IStreamingAgentModel implementation with tool calling, structured output, and token-level streaming.
Install
dotnet add package Ananke.Orchestration.OpenAI
Quick start
using Ananke.Orchestration.OpenAI;
using OpenAI.Chat;
// From ChatClient
var client = new ChatClient("gpt-4o", apiKey);
IStreamingAgentModel model = new OpenAIChatAgentModel(client);
// Or use the convenience factory
IStreamingAgentModel model = OpenAIChatAgentModel.Create(apiKey, "gpt-4o");
Use in a workflow agent job
var agentJob = AgentJobFactory
.Create<MyState, MyResponse>("analyze", model)
.WithSystemPrompt("You are a research analyst.")
.WithTools(searchTools)
.WithPrompt(state => $"Analyze: {state.Query}")
.MapResult((state, response) => state with { Analysis = response.Text })
.Build();
Features
- Full
IStreamingAgentModelimplementation (streaming + non-streaming) - Tool calling with automatic function dispatch
- Structured output via
ChatResponseFormat - Configurable
store: falsefor completions privacy - Works with any OpenAI-compatible API endpoint
Requirements
Ananke.Orchestration(transitive)OpenAISDK ≥ 2.8.0
Documentation
Full docs, demos, and architecture: github.com/sevensamurai/Ananke
License
| 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
- Ananke.Abstractions (>= 0.9.0)
- OpenAI (>= 2.12.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Ananke.Orchestration.OpenAI:
| Package | Downloads |
|---|---|
|
Ananke.Federation.Azure
Azure AI Agent Service adapter for Ananke Federation — deploy workflows to Azure AI Foundry, monitor platform agents, and translate manifests to Assistants API configuration. |
|
|
Ananke.Orchestration.Bedrock
Amazon Bedrock access for Ananke.Orchestration — SigV4 signing, Bedrock API-key auth, and endpoint construction. Deliberately contains no wire-format code: requests are served by the OpenAI and Anthropic adapters against Bedrock's compatible endpoints. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.0 | 92 | 9/22/2026 |
| 0.8.9 | 155 | 8/18/2026 |
| 0.8.8 | 128 | 8/3/2026 |
| 0.8.7 | 131 | 7/19/2026 |
| 0.8.6 | 140 | 6/22/2026 |
| 0.8.5 | 131 | 6/15/2026 |
| 0.8.4 | 138 | 5/29/2026 |
| 0.8.3 | 139 | 5/17/2026 |
| 0.8.2 | 132 | 5/15/2026 |
| 0.8.1 | 137 | 5/9/2026 |
| 0.8.0 | 142 | 5/9/2026 |
| 0.7.2 | 124 | 4/12/2026 |
| 0.7.1 | 115 | 4/11/2026 |
| 0.7.0 | 128 | 4/11/2026 |
| 0.6.0 | 129 | 4/10/2026 |
| 0.5.0 | 136 | 4/5/2026 |
| 0.4.0 | 123 | 4/3/2026 |
| 0.3.0 | 136 | 3/15/2026 |
| 0.2.0 | 123 | 3/6/2026 |
| 0.1.0 | 131 | 3/3/2026 |