PipeForge is a lightweight, composable pipeline framework for .NET. It makes step-based processing simple, discoverable, and testable. Inspired by middleware pipelines and modern dependency injection patterns, PipeForge gives you structured control over sequential logic flows - without the ceremony.
PipeForge is available on NuGet.org and can be installed using a NuGet package manager or the .NET CLI.
-
Check out the project documentation https://scottoffen.github.io/pipeforge.
-
Engage in our community discussions for Q&A, ideas, and show and tell!
-
Have a question you can't find an answer for in the documentation or discussions? You can ask your questions on StackOverflow using #pipeforge. Make sure you include the version of PipeForge you are using, the platform you using it on, code samples and any specific error messages you are seeing.
-
Issues created to ask "how to" questions will be closed.
While PipeForge is fundamentally a pipeline framework, it can also serve as the foundation for higher-level workflows. These workflows are built by composing individual pipeline steps that handle branching, retries, fallbacks, and decision logic - making it ideal for orchestrating complex processes like AI chains, data enrichment, or multi-stage validation.
Game Loop and Simulation Ticks | Model turn-based or tick-based game logic using structured steps for input handling, state updates, AI, and rule enforcement. Ideal for simulations, server-side logic, or deterministic turn resolution. |
Middleware-Style Request Processing | Build lightweight, modular request pipelines similar to ASP.NET middleware, without requiring a full web host. |
DevOps and Automation Pipelines | Express deployment checks, file transforms, and system hooks as repeatable, testable steps. |
Security and Auditing Pipelines | Enforce policies, redact sensitive data, and log events in a structured, traceable flow. |
ETL and Data Processing Pipelines | Break down validation, transformation, and persistence into clean, maintainable processing steps. |
LLM and AI Workflows | Orchestrate prompt generation, model calls, fallback handling, and response parsing using composable pipelines. |
Business Logic and Domain Orchestration | Replace brittle if chains and nested logic with clearly structured rule execution and orchestration flows. |
We welcome contributions from the community! In order to ensure the best experience for everyone, before creating an issue or submitting a pull request, please see the contributing guidelines and the code of conduct. Failure to adhere to these guidelines can result in significant delays in getting your contributions included in the project.
We use SemVer for versioning. For the versions available, see the tags on this repository.
You can generate and open a test coverage report by running the following command in the project root:
pwsh ./test-coverage.ps1
Note
This is a Powershell script. You must have Powershell installed to run this command. The command depends on the global installation of the dotnet tool ReportGenerator.
PipeForge is licensed under the MIT license.
Few thing are as satisfying as hearing that your open source project is being used and appreciated by others. Jump over to the discussion boards and share the love!