Agentic.Workflow.Agents
1.1.1
Suggested Alternatives
dotnet add package Agentic.Workflow.Agents --version 1.1.1
NuGet\Install-Package Agentic.Workflow.Agents -Version 1.1.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="Agentic.Workflow.Agents" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Agentic.Workflow.Agents" Version="1.1.1" />
<PackageReference Include="Agentic.Workflow.Agents" />
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 Agentic.Workflow.Agents --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Agentic.Workflow.Agents, 1.1.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 Agentic.Workflow.Agents@1.1.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=Agentic.Workflow.Agents&version=1.1.1
#tool nuget:?package=Agentic.Workflow.Agents&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Agentic.Workflow.Agents
Microsoft Agent Framework integration for Agentic.Workflow. Provides abstractions for LLM-powered workflow steps with conversation continuity and streaming responses.
Installation
dotnet add package Agentic.Workflow.Agents
Features
Agent Steps
Create workflow steps powered by LLM agents:
public class AnalyzeDocumentStep : IAgentStep<DocumentState>
{
public string GetSystemPrompt() => """
You are a document analyst. Analyze the provided document and extract key insights.
Focus on: main topics, sentiment, key entities, and actionable recommendations.
""";
public Type? GetOutputSchemaType() => typeof(DocumentAnalysis);
public async Task<StepResult<DocumentState>> ExecuteAsync(
DocumentState state,
StepContext context,
CancellationToken ct)
{
// Agent execution handled by generated worker
return StepResult<DocumentState>.FromState(state);
}
}
Conversation Continuity
Enable per-agent conversation threads for context retention:
public record MyState : IWorkflowState, IConversationalState
{
public Guid WorkflowId { get; init; }
public ImmutableDictionary<string, string> SerializedThreads { get; init; }
= ImmutableDictionary<string, string>.Empty;
public IConversationalState WithSerializedThread(string agentType, string thread)
=> this with { SerializedThreads = SerializedThreads.SetItem(agentType, thread) };
}
Streaming Responses
Handle real-time token streaming:
public class WebSocketStreamingCallback : IStreamingCallback
{
public async Task OnTokenReceivedAsync(
string token, Guid workflowId, string stepName, CancellationToken ct)
{
await _hubContext.Clients.Group(workflowId.ToString())
.SendAsync("TokenReceived", token, ct);
}
public async Task OnResponseCompletedAsync(
string fullResponse, Guid workflowId, string stepName, CancellationToken ct)
{
await _hubContext.Clients.Group(workflowId.ToString())
.SendAsync("ResponseCompleted", fullResponse, ct);
}
}
Configuration
services.AddAgenticWorkflowAgents()
.AddConversationThreadManager<MyThreadManager>()
.AddStreamingCallback<WebSocketStreamingCallback>();
Core Abstractions
| Interface | Purpose |
|---|---|
IAgentStep<TState> |
Workflow step powered by LLM agent |
IConversationalState |
State with per-agent conversation threads |
IConversationThreadManager |
Manages conversation thread lifecycle |
IStreamingCallback |
Handles real-time token streaming |
Documentation
- Agent Selection Guide - Configuring agents in workflows
- Agents API Reference - Complete API documentation
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Agentic.Workflow (>= 1.1.1)
- Microsoft.Extensions.AI (>= 10.0.1)
- Microsoft.Extensions.AI.Abstractions (>= 10.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Agentic.Workflow.Agents:
| Package | Downloads |
|---|---|
|
Agentic.Workflow.Rag
Vector store adapters for Agentic.Workflow RAG integration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.1.1 | 602 | 1/19/2026 | |
| 1.1.0 | 133 | 1/19/2026 | |
| 1.0.4 | 192 | 1/6/2026 | |
| 1.0.3 | 129 | 1/6/2026 | |
| 0.0.0-alpha.0.6 | 73 | 1/6/2026 | |
| 0.0.0-alpha.0.5 | 88 | 1/6/2026 | |
| 0.0.0-alpha.0.4 | 88 | 1/6/2026 |