Ananke.Orchestration 0.1.0

dotnet add package Ananke.Orchestration --version 0.1.0
                    
NuGet\Install-Package Ananke.Orchestration -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" 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" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Ananke.Orchestration" />
                    
Project file
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 --version 0.1.0
                    
#r "nuget: Ananke.Orchestration, 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@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&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Ananke.Orchestration&version=0.1.0
                    
Install as a Cake Tool

Ananke.Orchestration

NuGet License

Workflow orchestration engine for .NET — fluent graph-as-code builder, AI agent jobs with tool calling, fork/join parallelism, human-in-the-loop interrupts, checkpointing, and tracing.

Install

dotnet add package Ananke.Orchestration

Add an LLM provider:

dotnet add package Ananke.Orchestration.OpenAI    # or Ananke.Orchestration.Anthropic

Quick start

var workflow = new Workflow<ResearchState>("research-pipeline")
    .Job("plan",       planJob)
    .Job("search_web", searchWebJob)
    .Job("search_db",  searchDbJob)
    .Job("synthesize", synthesizeJob)
    .Then("plan", Workflow.Fork("search_web", "search_db"))
    .Join(["search_web", "search_db"], "synthesize", Merge)
    .Then("synthesize", Workflow.End);

var result = await workflow.RunAsync(new ResearchState { Query = "distributed systems" });

DI registration

using Ananke.Orchestration.Extensions;

services.AddFlowOrchestration(o => o
    .UseCheckpointing()
    .StoreCompletions(false)
    .WithCheckpointTtl(TimeSpan.FromDays(14)));

Features

  • Fluent graph builder.Then(), .Fork(), .Join(), .SubFlow(), .Chain()
  • AI agent jobsAgentJobFactory with tool calling, structured output, token streaming
  • Conditional routingWorkflow.Decide() for lambda-based, DecideWithAgent() for LLM-driven
  • Fork / Join — fan-out to parallel branches, fan-in with merge function
  • Human-in-the-loop.InterruptBefore() / .InterruptAfter() with ResumeAsync()
  • Checkpointing — persist and resume workflow state (InMemoryCheckpointStore, FileCheckpointStore, or custom ICheckpointStore — see interface remarks for Redis/SQL guidance)
  • Resilience — Polly-based retry built into the runner
  • Model decoratorsResilientAgentModel (429 retry + OTel) and CachingAgentModel (LLM response caching)
  • TracingIWorkflowTracer for OpenTelemetry integration
Package What it adds
Ananke.Orchestration.OpenAI OpenAI IStreamingAgentModel provider
Ananke.Orchestration.Anthropic Anthropic / Claude IStreamingAgentModel provider
Ananke.MCP Expose workflows and tools as MCP server capabilities
Ananke.OpenTelemetry OTLP tracing export (BetterStack, Jaeger, Grafana Tempo)
Ananke Meta-package — includes Orchestration + StateMachine + Bridge

Documentation

Full docs, demos, and architecture: github.com/sevensamurai/Ananke

License

Apache 2.0

Product 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.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Ananke.Orchestration:

Package Downloads
Ananke

Ananke — distributed state machine + workflow orchestration for .NET. Install this meta-package to get StateMachine, Orchestration, and the Bridge integration layer in one step.

Ananke.MCP

MCP (Model Context Protocol) integration for Ananke — expose ToolKit tools and Workflow executions as MCP server capabilities, and import tools from external MCP servers into ToolKit for agent use. Supports stdio and HTTP transports via the official C# MCP SDK.

Ananke.Redis

Redis infrastructure for Ananke — IDistributedLock via RedLock and IKeyValueDataAdapter via StackExchange.Redis. Provides services.AddAnankeRedis() for DI registration.

Ananke.Orchestration.Anthropic

Anthropic provider for Ananke.Orchestration � Claude-based IStreamingAgentModel implementation with tool calling support.

Ananke.Design

Design-time tooling for Ananke — YAML manifest import (DSL for workflow topology, model aliases, system prompts) and Mermaid diagram export. Enables declarative pipeline definitions with code-bound job implementations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 45 3/3/2026