A lot of desktop tools bolt a plugin system onto the side after the product is mostly done. You can usually tell when that happened: the built-in features get deep access to internal state, while third-party plugins are stuck behind a thin wrapper that breaks on every minor update.
We took the opposite route in WorkflowMonk. Our own seven built-in step packs (71 steps covering files, CSVs, Excel workbooks, email, HTTP, text, and bounded AI) are plugins. When WorkflowMonk starts, the loader reads them from a plugins folder next to the executable before it reads the operator’s own %LOCALAPPDATA%\WorkflowMonk\plugins folder.
If a step pack we wrote cannot live cleanly behind WorkflowMonk.Sdk, we fix the SDK instead of sneaking around it.
What a plugin actually looks like
There is no installer package format to learn and no registry key to edit. A plugin is a folder containing your .NET 10 build output and a plugin.json manifest:
{
"id": "acme.text-tools",
"name": "Text tools",
"version": "1.0.0",
"sdk": "[0.1.0, 0.2.0)",
"assembly": "Acme.TextTools.dll",
"stepPacks": ["texttools"]
}
When the operator drops that folder into %LOCALAPPDATA%\WorkflowMonk\plugins, WorkflowMonk sees it on the next start, marks it as new, and leaves it turned off. Nothing runs until the person turns it on in Settings > Plugins. From the start after that, its steps appear in the editor palette, in the headless wm CLI, and in the built-in MCP server.
One class per step, and honest declarations
Inside a pack, each step type is a single C# class that holds both its description and its RunAsync implementation. That keeps input keys, output keys, and runtime logic in the same file so they do not drift apart.
Here is CountWordsStep from our Acme.TextTools sample:
public sealed partial class CountWordsStep(ILogger<CountWordsStep> logger) : IStepBehaviour
{
public const string Source = "text";
public const string Result = "count";
public static StepType Type { get; } = StepType.Create<CountWordsStep>(
ContributionId.Create(TextToolsStepPack.Namespace, "count-words"),
displayName: "Count words",
category: "Text",
sentence: "Count the words in {text}",
reach: StepReach.Anywhere,
effect: StepEffect.NoSideEffects) with
{
Description = "Counts the words of a text. A word is anything between spaces or line breaks.",
Inputs = [new StepInput(Source, "Text", StepValueType.Text) { IsRequired = true }],
Outputs = [new StepOutput(Result, "Number of words", StepValueType.Number, 12m)],
};
public Task<StepOutcome> RunAsync(StepInputs inputs, StepContext context, CancellationToken cancellationToken)
{
var text = inputs.Text(Source);
var count = text.Split((char[]?)null, StringSplitOptions.RemoveEmptyEntries).Length;
return Task.FromResult(StepOutcome.Succeeded(new StepOutputs().Number(Result, count)));
}
}
Three small details in that snippet matter more than they look:
sentenceis what the operator actually reads in the flow editor (Count the words in {text}). A step author has to explain the step in plain English, not just name a class.reachandeffectare mandatory, and the cautious value is the default. A step that writes a file, sends mail, or calls a mutating API declaresStepEffect.HasSideEffects, which tells Preview not to execute the side effect during a dry run.- No UI or
System.IOshortcuts. A pack referencesWorkflowMonk.Sdkand nothing else from the app. Steps that read or write files takeIFileStorethrough their constructor rather than callingSystem.IOdirectly. That is what lets the exact same step run inside the desktop app, inwmon Linux, and in unit tests usingWorkflowMonk.Sdk.Testing.
What is still rough at 0.1.0
We want to be clear about what is not finished yet so nobody wastes an afternoon looking for it:
- The NuGet packages are not on NuGet.org yet. Right now we hand out
WorkflowMonk.Sdk,WorkflowMonk.Sdk.Testing, andWorkflowMonk.Templates(0.1.0) directly to early builders as a local package folder. - There is no signing or verification yet. A plugin runs with the operator’s permissions, so operators should only turn on plugins from people or teams they already trust.
- There is no store. Distribution today is copying a folder. For internal IT teams building a connector to an in-house ERP or database, that is actually a feature; for public plugins, a proper directory comes later.
Want to try building one?
We are sharing the 0.1.0 SDK bundle, the Acme.TextTools sample solution, and our authoring guides with a first group of developers before we freeze 1.0. If you have a connector, file format, or internal tool you want to wire into WorkflowMonk, head over to our Developers page and tell us what you have in mind.