Ananke.Orchestration.Anthropic
0.8.1
dotnet add package Ananke.Orchestration.Anthropic --version 0.8.1
NuGet\Install-Package Ananke.Orchestration.Anthropic -Version 0.8.1
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.Anthropic" Version="0.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ananke.Orchestration.Anthropic" Version="0.8.1" />
<PackageReference Include="Ananke.Orchestration.Anthropic" />
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.Anthropic --version 0.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ananke.Orchestration.Anthropic, 0.8.1"
#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.Anthropic@0.8.1
#: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.Anthropic&version=0.8.1
#tool nuget:?package=Ananke.Orchestration.Anthropic&version=0.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Ananke.Orchestration.Anthropic
Anthropic / Claude provider for Ananke.Orchestration — IStreamingAgentModel implementation with tool calling and token-level streaming.
Install
dotnet add package Ananke.Orchestration.Anthropic
Quick start
using Ananke.Orchestration.Anthropic;
using Anthropic;
// From AnthropicClient
var client = new AnthropicClient();
IStreamingAgentModel model = new AnthropicAgentModel(client, "claude-sonnet-4-20250514");
// Or use the convenience factory
IStreamingAgentModel model = AnthropicAgentModel.Create(apiKey, "claude-sonnet-4-20250514");
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
- Configurable max tokens (default 4096)
- Works with Claude Opus, Sonnet, and Haiku models
Requirements
Ananke.Orchestration(transitive)AnthropicSDK ≥ 12.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.Abstractions (>= 0.8.1)
- Ananke.Orchestration (>= 0.8.1)
- Anthropic (>= 12.18.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ananke.Orchestration.Anthropic:
| Package | Downloads |
|---|---|
|
Ananke.Federation.Anthropic
Anthropic Claude Managed Agents adapter for Ananke Federation — deploy workflows to Claude, monitor managed agents, and translate manifests to Claude-native configuration. |
GitHub repositories
This package is not used by any popular GitHub repositories.