ValidationEngine.Agent
1.0.0
dotnet tool install --global ValidationEngine.Agent --version 1.0.0
dotnet new tool-manifest
dotnet tool install --local ValidationEngine.Agent --version 1.0.0
#tool dotnet:?package=ValidationEngine.Agent&version=1.0.0
nuke :add-package ValidationEngine.Agent --version 1.0.0
ValidationEngine.Agent
AI-assisted manual review add-on for the
ValidationEngine standards validation
suite, distributed as the validation-engine-agent .NET global tool.
What It Is
An optional .NET global tool add-on to validation-engine that delegates judgment-based rule
evaluation to a configured AI provider. It is not required to run the core engine, and installing
it adds capability without any code changes to the core tool.
What It Does
Deterministic rule checks can't evaluate judgment-based standards (readability, intent, "does
this comment actually explain why"). validation-engine-agent closes that gap by sending
manual-only rules from the standards corpus to a configured AI provider for evaluation, and
reporting findings back through the same ValidationReport contract the core engine uses.
It is normally invoked automatically by validation-engine as a sibling process, but can also be
run standalone against any repository with a valid appsettings.json.
Its Modularity
ValidationEngine.Agent references ValidationEngine and ValidationEngine.Models, and uses
ValidationEngine.Reporting's default renderers as a composition-root convenience (any consumer
is free to supply its own). It is launched by the core engine as an external process, not a
compile-time dependency in the other direction, so it can be installed, updated, or omitted
independently of validation-engine itself.
How It Works
- Reads
appsettings.jsonfrom the target repository root and resolves any active AI providers. - For each manual-only rule in the standards corpus, sends the relevant context to an active
Validation-purpose provider and interprets the response as a finding. - Optionally attaches rationale from an active
Explain-purpose provider to findings already produced by aValidationprovider. - Reports findings back through the shared
ValidationReportcontract, either to its own invoker or merged into a run started byvalidation-engine.
Installing
dotnet tool install --global ValidationEngine.Agent
Configuration (required)
The Agent requires an appsettings.json file at the root of the repository being validated, and
ships a template alongside the tool (in the package output next to the executable) with an empty
Providers array as a starting point — copy it to the target repository root and fill in your
provider details. The file itself must exist; having an active provider inside it is not
required — a repository can keep the template's empty Providers array to explicitly opt out.
{
"ValidationAgent": {
"Providers": [
{
"Name": "AzureOpenAI-Validation",
"Type": "AzureOpenAI",
"Purpose": "Validation",
"IsActive": true,
"Endpoint": "https://<your-resource>.openai.azure.com/",
"DeploymentName": "<your-deployment-name>",
"ApiVersion": "2024-10-21"
},
{
"Name": "AzureOpenAI-Explain",
"Type": "AzureOpenAI",
"Purpose": "Explain",
"IsActive": true,
"Endpoint": "https://<your-resource>.openai.azure.com/",
"DeploymentName": "<your-deployment-name>",
"ApiVersion": "2024-10-21"
}
]
}
}
Notes:
Providersis an array — zero, one, or many entries can be active at once (IsActive: true), even across multiple purposes. There is no single "ActiveProvider" selector.Purposemust beValidationorExplain(seeValidationEngine.Agent.AgentPurpose).Validationproviders evaluate manual-only rules;Explainproviders optionally attach rationale to findings already produced by aValidationprovider.Typemust currently beAzureOpenAI(seeValidationEngine.Agent.Constants.ProviderTypes).- Secrets (API keys) are never stored in
appsettings.json. Each active provider resolves its key from an environment variable named after the provider'sName(e.g.AzureOpenAI-Validation). - If the file is missing entirely, the Agent reports an engine error. If the file exists but no
provider resolves to active, manual-only rules are reported as
AGT-001("not evaluated") instead of being silently skipped.
License
MIT — see LICENSE.
| 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 102 | 9/6/2026 |