microsoft/RulesEngine
A fast and reliable .NET Rules Engine with extensive Dynamic expression support observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 90
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 62.0
- age_days: 2591
- days_rel: 455
- days_push: 61
- n_releases_24m: 3
Adoption not part of the score
4341 stars · 617 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Microsoft-maintained .NET library for abstracting business rules and policies out of application code into externally stored, JSON-defined workflows evaluated via dynamic C# lambda expressions. It supports multiple and dynamic inputs, scoped/global parameters, custom actions, and a standalone expression evaluator.
Use cases
- evaluate business rules defined in json at runtime
- externalize discount or pricing rules from application code
- build a rule-based decision system in .NET
- dynamically evaluate c# expressions without recompiling
- store and update business policies in a database or blob storage
- run conditional workflow rules against multiple inputs
When to choose
- you need business rules changeable without redeploying the application
- you want json-defined rules with c# expression support in a dotnet app
- you need a fast, well-maintained rules engine with microsoft backing
- you need a standalone dynamic expression evaluator
When to avoid
- you need a full BPM/workflow orchestration engine with human tasks
- your project is not on .NET/.NET Standard
- you need forward-chaining inference like a RETE engine (e.g. Drools)
- rules are simple and hardcoding them in code is sufficient
Facets
library · maturity active
workflow-automation parser developer-tools developer-tools backend apis dotnet cross-platform jvm rules-engine business-rules expression-evaluator csharp-expressions json-rules nuget automation
2 sources
- readme: https://github.com/microsoft/RulesEngine · fetched 2026-08-28 · c1d6a9c4bf9a
- homepage: https://microsoft.github.io/RulesEngine/ · fetched 2026-08-29 · 49084fb7328b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/RulesEngine | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/RulesEngine")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem