Ananke.Orchestration.OpenAI
0.1.0
dotnet add package Ananke.Orchestration.OpenAI --version 0.1.0
NuGet\Install-Package Ananke.Orchestration.OpenAI -Version 0.1.0
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="Ananke.Orchestration.OpenAI" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ananke.Orchestration.OpenAI" Version="0.1.0" />
<PackageReference Include="Ananke.Orchestration.OpenAI" />
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 Ananke.Orchestration.OpenAI --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ananke.Orchestration.OpenAI, 0.1.0"
#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 Ananke.Orchestration.OpenAI@0.1.0
#: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=Ananke.Orchestration.OpenAI&version=0.1.0
#tool nuget:?package=Ananke.Orchestration.OpenAI&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Ananke.Orchestration (>= 0.1.0)
- OpenAI (>= 2.9.0)
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.0 | 37 | 3/3/2026 |