Agentic.Workflow
1.1.0
See the version list below for details.
dotnet add package Agentic.Workflow --version 1.1.0
NuGet\Install-Package Agentic.Workflow -Version 1.1.0
<PackageReference Include="Agentic.Workflow" Version="1.1.0" />
<PackageVersion Include="Agentic.Workflow" Version="1.1.0" />
<PackageReference Include="Agentic.Workflow" />
paket add Agentic.Workflow --version 1.1.0
#r "nuget: Agentic.Workflow, 1.1.0"
#:package Agentic.Workflow@1.1.0
#addin nuget:?package=Agentic.Workflow&version=1.1.0
#tool nuget:?package=Agentic.Workflow&version=1.1.0
Agentic.Workflow
Fluent DSL for building durable agentic workflows with Wolverine sagas and Marten event sourcing.
Installation
dotnet add package Agentic.Workflow
dotnet add package Agentic.Workflow.Generators
Quick Start
using Agentic.Workflow.Builders;
using Agentic.Workflow.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
- Getting Started Guide - Installation and first workflow
- Workflow API Reference - Complete API documentation
- Examples - Real-world workflow patterns
License
MIT
| 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
- MemoryPack (>= 1.21.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Agentic.Workflow:
| Package | Downloads |
|---|---|
|
Agentic.Workflow.Agents
Microsoft Agent Framework integration for Agentic.Workflow. Provides abstractions for LLM-powered workflow steps with conversation continuity, streaming responses, and agent selection. |
|
|
Agentic.Workflow.Infrastructure
Infrastructure implementations for Agentic.Workflow 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 | |
|---|---|---|---|
| 1.1.1 | 620 | 1/19/2026 | |
| 1.1.0 | 147 | 1/19/2026 | |
| 1.0.4 | 206 | 1/6/2026 | |
| 1.0.3 | 142 | 1/6/2026 | |
| 0.0.0-alpha.0.6 | 78 | 1/6/2026 | |
| 0.0.0-alpha.0.5 | 88 | 1/6/2026 | |
| 0.0.0-alpha.0.4 | 81 | 1/6/2026 |