LevelUp.Strategos 2.2.1

dotnet add package LevelUp.Strategos --version 2.2.1
                    
NuGet\Install-Package LevelUp.Strategos -Version 2.2.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="LevelUp.Strategos" Version="2.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LevelUp.Strategos" Version="2.2.1" />
                    
Directory.Packages.props
<PackageReference Include="LevelUp.Strategos" />
                    
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 LevelUp.Strategos --version 2.2.1
                    
#r "nuget: LevelUp.Strategos, 2.2.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 LevelUp.Strategos@2.2.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=LevelUp.Strategos&version=2.2.1
                    
Install as a Cake Addin
#tool nuget:?package=LevelUp.Strategos&version=2.2.1
                    
Install as a Cake Tool

Strategos

Fluent DSL for building durable agentic workflows with Wolverine sagas and Marten event sourcing.

Installation

dotnet add package LevelUp.Strategos
dotnet add package LevelUp.Strategos.Generators

Quick Start

using Strategos.Builders;
using Strategos.Attributes;

// Define your workflow state
public record OrderState : IWorkflowState
{
    public Guid WorkflowId { get; init; }
    public OrderStatus Status { get; init; }
    public decimal Total { get; init; }
}

// Define workflow steps
public class ValidateOrder : IWorkflowStep<OrderState> { /* ... */ }
public class ProcessPayment : IWorkflowStep<OrderState> { /* ... */ }
public class FulfillOrder : IWorkflowStep<OrderState> { /* ... */ }

// Build the workflow with fluent DSL
[Workflow("process-order")]
public static partial class ProcessOrderWorkflow
{
    public static WorkflowDefinition<OrderState> Definition => Workflow<OrderState>
        .Create("process-order")
        .StartWith<ValidateOrder>()
        .Then<ProcessPayment>()
        .Finally<FulfillOrder>();
}

Features

  • Fluent DSL: Intuitive builder pattern for workflow definition
  • Source Generation: Wolverine sagas, phase enums, and commands generated at compile time
  • Branching: Conditional paths with .Branch() and .Case()
  • Loops: Iterative refinement with .RepeatUntil() and .While()
  • Parallelism: Fork/join patterns with .Fork() and .Join()
  • Approvals: Human-in-the-loop with .AwaitApproval() and escalation
  • Failure Handling: Recovery paths with .OnFailure()
  • Validation: Guard clauses with .Validate()

Documentation

License

MIT

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 (2)

Showing the top 2 NuGet packages that depend on LevelUp.Strategos:

Package Downloads
LevelUp.Strategos.Agents

Microsoft Agent Framework integration for Strategos. Provides abstractions for LLM-powered workflow steps with conversation continuity, streaming responses, and agent selection.

LevelUp.Strategos.Infrastructure

Infrastructure implementations for Strategos including Thompson Sampling agent selection, loop detection (repetition, semantic, oscillation, no-progress), and budget enforcement with scarcity levels.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.1 27 3/15/2026
2.2.0 120 3/3/2026